2 #ifndef RIVET_GammaGammaKinematics_HH 3 #define RIVET_GammaGammaKinematics_HH 5 #include "Rivet/Particle.hh" 6 #include "Rivet/Event.hh" 7 #include "Rivet/Projection.hh" 8 #include "Rivet/Projections/GammaGammaLeptons.hh" 9 #include "Rivet/Projections/Beam.hh" 20 const std::map<std::string,std::string> & opts =
21 std::map<std::string,std::string>())
22 : _theQ2(make_pair(-1.0,-1.0)), _theW2(-1.0)
24 setName(
"GammaGammaKinematics");
46 pair<double,double>
Q2()
const {
return _theQ2; }
49 double W2()
const {
return _theW2; }
66 pair<double,double> _theQ2;
72 ParticlePair _inLepton, _outLepton;
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:142
Definition: MC_Cent_pPb.hh:10
virtual void project(const Event &e)
Perform the projection operation on the supplied event.
Get the incoming and outgoing leptons in a gamma gamma collision event in e+e-.
Definition: GammaGammaLeptons.hh:18
DEFAULT_RIVET_PROJ_CLONE(GammaGammaKinematics)
Clone on the heap.
Get the gamma gamma kinematic variables and relevant boosts for an event.
Definition: GammaGammaKinematics.hh:15
Representation of a HepMC event, and enabler of Projection caching.
Definition: Event.hh:22
const ParticlePair & scatteredLeptons() const
The scattered GammaGamma lepton.
Definition: GammaGammaKinematics.hh:57
const PROJ & declare(const PROJ &proj, const std::string &name)
Register a contained projection (user-facing version)
Definition: ProjectionApplier.hh:170
Project out the incoming beams.
Definition: Beam.hh:129
const ParticlePair & beamLeptons() const
The incoming lepton beam particle.
Definition: GammaGammaKinematics.hh:52
double W2() const
The .
Definition: GammaGammaKinematics.hh:49
Base class for all Rivet projections.
Definition: Projection.hh:29
virtual CmpState compare(const Projection &p) const
Compare with other projections.
GammaGammaKinematics(const GammaGammaLeptons &lepton=GammaGammaLeptons(), const std::map< std::string, std::string > &opts=std::map< std::string, std::string >())
The default constructor.
Definition: GammaGammaKinematics.hh:19
pair< double, double > Q2() const
The .
Definition: GammaGammaKinematics.hh:46