StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | List of all members
StarGenPPEvent Class Reference

Event record class tailored to PP kinematics. More...

#include <StarGenPPEvent.h>

Inheritance diagram for StarGenPPEvent:
StarGenEvent

Public Member Functions

 StarGenPPEvent (const Char_t *name="ppevent", const Char_t *title="proton+proton event")
 
 ClassDef (StarGenPPEvent, 2)
 
- Public Member Functions inherited from StarGenEvent
 StarGenEvent (const Char_t *name="event", const Char_t *title="")
 Constructor.
 
 ~StarGenEvent ()
 Destructor.
 
void SetGeneratorId (Int_t id)
 Set the generator ID.
 
Int_t GetGeneratorId ()
 Returns the generator ID.
 
void SetProcessId (Int_t id)
 Set the process ID for this event.
 
Int_t GetProcessId ()
 Get the process ID for this event.
 
void SetOffset (Int_t o)
 Set the particle index offset for this event.
 
Int_t GetOffset ()
 Get the particle index offset for this event.
 
Int_t operator++ ()
 Prefix increment operator increases event number.
 
Int_t operator++ (Int_t)
 Postfix increment operator increases event number.
 
Int_t GetEventNumber ()
 Get the event number.
 
void SetRunNumber (Int_t run)
 Set the run number for this event.
 
Int_t GetRunNumber ()
 Get the run number for this event.
 
void SetDaqRunNumber (Int_t run)
 Set the run number for the DAQ file in an embedding job.
 
Int_t GetDaqRunNumber ()
 Get the run number for the DAQ file in this event.
 
void SetDaqFileNumber (Int_t fnum)
 Set the file number in an embedding job.
 
Int_t GetDaqFileNumber ()
 Get the file number in an embedding job.
 
void SetBlue (Int_t id)
 Set the blue beam ID.
 
Int_t GetBlue ()
 Get the blue beam ID.
 
void SetYell (Int_t id)
 Set the yellow beam ID.
 
Int_t GetYell ()
 Get the yellow beam ID.
 
void SetRootS (Double_t rs)
 Set the sqrt(s) of the collision.
 
Double_t GetRootS ()
 Get the sqrt(s) of the collision.
 
StarGenParticleAddParticle ()
 
StarGenParticleAddParticle (Int_t status, Int_t pdg, Int_t m1, Int_t m2, Int_t d1, Int_t d2, Double_t px, Double_t py, Double_t pz, Double_t E, Double_t M, Double_t vx, Double_t vy, Double_t vz, Double_t vt)
 
StarGenParticleAddParticle (StarGenParticle *particle)
 
void Print (const Option_t *opts="head") const
 
TIter IterAll (Bool_t dir=kIterForward)
 
virtual void Clear (const Option_t *opts="part,data")
 Clear the event.
 
StarGenParticleoperator[] (Int_t idx)
 
Int_t GetNumberOfParticles ()
 Obtain the number of particles in the event record.
 
void SetFilterResult (UInt_t result)
 Sets the filter result.
 
void AddFilterResult (UInt_t result)
 
UInt_t GetFilterResult ()
 Returns the filter result.
 
void AddUserWeight (double w)
 Attach a user-weight to the event.
 
const std::vector< double > & GetUserWeights ()
 Retrieve the user weights vector.
 
const std::vector< double > & GetUserWeights () const
 Retrieve the user weights vector.
 

Public Attributes

Int_t idBlue
 Blue beam ID.
 
Int_t idYell
 Yellow beam ID.
 
Int_t process
 Process ID.
 
Int_t subprocess
 Subprocess ID.
 
Int_t idParton1
 ID of blue beam parton.
 
Int_t idParton2
 ID of yellow beam parton.
 
Double_t xParton1
 x of blue beam parton
 
Double_t xParton2
 x of yellow beam parton
 
Double_t xPdf1
 PDF times x for blue beam parton.
 
Double_t xPdf2
 PDF times x for yellow beam parton.
 
Double_t Q2fac
 Factorization scale.
 
Double_t Q2ren
 Renormalization scale.
 
Bool_t valence1
 True if blue beam parton is in valence.
 
Bool_t valence2
 True if yellow beam parton is in valence.
 
Double_t sHat
 
Double_t tHat
 
Double_t uHat
 Mandelstam variables.
 
Int_t mstu72
 Line number of an event record, ("======")
 
Int_t mstu73
 Line number of an event record, ("======")
 
Double_t ptHat
 pT of the recoiling particles
 
Double_t thetaHat
 theta of the recoiling particles
 
Double_t phiHat
 phi of the recoiling particles
 
Double_t weight
 Weight of the event.
 

Additional Inherited Members

- Public Types inherited from StarGenEvent
enum  FilterResult { kUnknown = 0, kAccept = 0x0001, kReject = 0x0002, kFlag = 0x0004 }
 Filter result enumeration.
 
- Protected Member Functions inherited from StarGenEvent
void InitArrays ()
 Initialize clowns arrays.
 
 ClassDef (StarGenEvent, 1)
 
- Protected Attributes inherited from StarGenEvent
TString mName
 
TString mTitle
 
TClonesArray * mParticles
 Array of particles.
 
Int_t mGeneratorId
 Generator Id.
 
Int_t mProcessId
 Event generator process ID.
 
Int_t mOffset
 Event generator offset.
 
Int_t mEventNumber
 Event number.
 
Int_t mRunNumber
 Monte Carlo run number.
 
Int_t mDaqRunNumber
 DAQ run number (for embedding)
 
Int_t mDaqFileNumber
 File number (for embedding)
 
Int_t mBlueId
 PDG for blue beam.
 
Int_t mYellId
 PDG for yellow beam.
 
Double_t mCmsEnergy
 aka sqrt(s)
 
Int_t mNumRejected [3]
 0=total, 1=EG, 2=filter
 
UInt_t mFilterResult
 Result of filter.
 
std::vector< Double_t > mWeights
 User weights.
 
Int_t mNumParticles
 Number of particles in the record.
 

Detailed Description

Event record class tailored to PP kinematics.

Author
Jason C. Webb

Definition at line 14 of file StarGenPPEvent.h.


The documentation for this class was generated from the following files: