StRoot
1
|
Event record class tailored to DIS kinemaics. More...
#include <StarGenEPEvent.h>
Public Member Functions | |
StarGenEPEvent (const Char_t *name="epevent", const Char_t *title="electron+proton event") | |
ClassDef (StarGenEPEvent, 1) | |
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. | |
StarGenParticle * | AddParticle () |
StarGenParticle * | AddParticle (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) |
StarGenParticle * | AddParticle (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. | |
StarGenParticle * | operator[] (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 | idParton |
ID of the struck parton. | |
Double_t | xParton |
x of blue struck parton | |
Double_t | xPdf |
PDF times x for the struck parton. | |
Double_t | Q2 |
Virtuality of the photon. | |
Bool_t | valence |
true if valence quark | |
Double_t | y |
rapidity | |
Double_t | W2 |
Double_t | nu |
Double_t | weight |
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. | |
Event record class tailored to DIS kinemaics.
Definition at line 14 of file StarGenEPEvent.h.