thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
FixedTargetLuminosity.h
1 // -*- C++ -*-
2 #ifndef ThePEG_FixedTargetLuminosity_H
3 #define ThePEG_FixedTargetLuminosity_H
4 //
5 // This is the declaration of the FixedTargetLuminosity class.
6 //
7 
8 #include "LuminosityFunction.h"
9 
10 namespace ThePEG {
11 
19 
20 public:
21 
28 
32  virtual ~FixedTargetLuminosity();
34 
41  virtual bool canHandle(const cPDPair &) const;
42 
46  virtual Energy maximumCMEnergy() const;
47 
53  virtual LorentzRotation getBoost() const;
54 
60  virtual double Y() const;
62 
63 public:
64 
71  void persistentOutput(PersistentOStream & os) const;
72 
78  void persistentInput(PersistentIStream & is, int version);
80 
87  static void Init();
88 
89 protected:
90 
97  virtual IBPtr clone() const;
98 
103  virtual IBPtr fullclone() const;
105 protected:
106 
114  virtual void doinit();
116 
117 private:
118 
124 
125 private:
126 
131 
136 
141 
145  double beta_;
146 
147 
148 };
149 
150 }
151 
152 #endif /* ThePEG_FixedTargetLuminosity_H */
Here is the documentation of the FixedTargetLuminosity class.
virtual LorentzRotation getBoost() const
Return the rotation needed to transform from the collision cm system to the labotatory system...
PersistentIStream is used to read persistent objects from a stream where they were previously written...
The LuminosityFunction describes the momentum distribution of the incoming beams in an experiment...
static void Init()
The standard Init function used to initialize the interfaces.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
The LorentzRotation class combine a SpinOneLorentzRotation and a spin SpinHalfLorentzRotation to prov...
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
PDPtr target_
The target particle.
virtual bool canHandle(const cPDPair &) const
Return true if this luminosity function can actually handle a given pair of incoming particles...
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
FixedTargetLuminosity & operator=(const FixedTargetLuminosity &)=delete
The assignment operator is private and must never be called.
PDPtr beam_
The beam particle.
virtual ~FixedTargetLuminosity()
The destructor.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
RCPtr is a reference counted (smart) pointer.
Definition: RCPtr.h:60
FixedTargetLuminosity()
The default constructor.
virtual double Y() const
Return the rapidity of the colliding particles (at the maximum energy) in the laboratory system...
virtual Energy maximumCMEnergy() const
Return the maximum possible center of mass energy for an event.
virtual IBPtr clone() const
Make a simple clone of this object.
pair< cPDPtr, cPDPtr > cPDPair
A pair of pointers to const ParticleData objects.
Definition: Containers.h:118