EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/eic/base/EicBoxGenerator.h>
Public Member Functions | |
EicBoxGenerator () | |
void | ResetVars () |
EicBoxGenerator (Int_t pdg, UInt_t mult=1) | |
void | AddPDG (int pdg) |
void | SetThetaRange (double min, double max, bool uniform=false) |
void | SetTheta (double theta) |
void | SetPhiRange (double min, double max) |
void | SetPhi (double phi) |
void | SetMomentumRange (double min, double max) |
void | SetMomentum (double momentum) |
virtual Bool_t | ReadEvent (FairPrimaryGenerator *primGen) |
Public Member Functions inherited from EicProtoGenerator | |
EicProtoGenerator (const char *name) | |
~EicProtoGenerator () | |
void | SetNaiveVerticalBeamDivergence (double value) |
void | SetNaiveHorizontalBeamDivergence (double value) |
void | SetNaiveHorizontalBeamRotation (double value) |
void | SetVertex (double x, double y, double z=0.0) |
double | GetVx () const |
double | GetVy () const |
double | GetVz () const |
void | SetVertexSmearing (double sx, double sy, double sz=0.0) |
void | SetVertexRange (double rx, double ry, double rz=0.0) |
double | GetVxSmearing () const |
double | GetVySmearing () const |
double | GetVzSmearing () const |
TVector3 | GetSimulatedPrimaryVertex (void) |
TVector3 | GetModifiedTrack (const TVector3 track) |
ClassDef (EicProtoGenerator, 1) | |
Public Member Functions inherited from FairGenerator | |
FairGenerator () | |
FairGenerator (const char *name, const char *title="FAIR Generator") | |
virtual | ~FairGenerator () |
virtual Bool_t | Init () |
ClassDef (FairGenerator, 1) | |
Protected Attributes | |
Double_t | mPmin |
Double_t | mPmax |
Double_t | mThetaMin |
Double_t | mThetaMax |
bool | mUniformTheta |
Double_t | mPhiMin |
Double_t | mPhiMax |
UInt_t | mMult |
Private Member Functions | |
ClassDef (EicBoxGenerator, 8) | |
Private Attributes | |
std::vector< Int_t > | mPDGs |
UInt_t | mFlipCounter |
Additional Inherited Members | |
Public Attributes inherited from EicProtoGenerator | |
double | mVerticalBeamDivergence |
double | mHorizontalBeamDivergence |
double | mHorizontalBeamRotation |
Double_t | mCoord [3] |
Double_t | mCoordSigma [3] |
Double_t | mCoordRange [3] |
Bool_t | mGaussianCoordinateSmearing |
Definition at line 14 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 14 of file EicBoxGenerator.h
|
inline |
Definition at line 17 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 17 of file EicBoxGenerator.h
References mMult, and ResetVars().
|
inline |
Definition at line 35 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 35 of file EicBoxGenerator.h
References AddPDG(), and ResetVars().
|
inline |
Definition at line 41 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 41 of file EicBoxGenerator.h
References mPDGs.
Referenced by EicBoxGenerator().
|
private |
|
virtual |
Abstract method ReadEvent must be implemented by any derived class. It has to handle the generation of input tracks (reading from input file) and the handing of the tracks to the FairPrimaryGenerator. I t is called from FairMCApplication.
pStack | The stack |
Implements FairGenerator.
Reimplemented in EicAsciiBoxGenerator.
Definition at line 17 of file EicBoxGenerator.cxx.
View newest version in sPHENIX GitHub at line 17 of file EicBoxGenerator.cxx
References FairPrimaryGenerator::AddTrack(), cos(), EicProtoGenerator::GetModifiedTrack(), EicProtoGenerator::GetSimulatedPrimaryVertex(), EicProtoGenerator::mCoord, EicProtoGenerator::mCoordRange, EicProtoGenerator::mCoordSigma, mFlipCounter, EicProtoGenerator::mGaussianCoordinateSmearing, mMult, mPDGs, mPhiMax, mPhiMin, mPmax, mPmin, mThetaMax, mThetaMin, mUniformTheta, phi, printf(), theta(), and vtx().
|
inline |
Definition at line 19 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 19 of file EicBoxGenerator.h
References mFlipCounter, mPhiMax, mPhiMin, mPmax, mPmin, mThetaMax, and mThetaMin.
Referenced by EicBoxGenerator().
|
inline |
Definition at line 71 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 71 of file EicBoxGenerator.h
References momentum, mPmax, and mPmin.
Referenced by simulation().
|
inline |
Definition at line 70 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 70 of file EicBoxGenerator.h
References max, min, mPmax, and mPmin.
Referenced by simulation().
|
inline |
Definition at line 69 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 69 of file EicBoxGenerator.h
References mPhiMax, mPhiMin, and phi.
Referenced by simulation().
|
inline |
Definition at line 68 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 68 of file EicBoxGenerator.h
|
inline |
Definition at line 67 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 67 of file EicBoxGenerator.h
References mThetaMax, mThetaMin, and theta().
Referenced by simulation().
|
inline |
Definition at line 64 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 64 of file EicBoxGenerator.h
References max, min, mThetaMax, mThetaMin, and mUniformTheta.
|
private |
Definition at line 94 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 94 of file EicBoxGenerator.h
Referenced by ReadEvent(), and ResetVars().
|
protected |
Definition at line 89 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 89 of file EicBoxGenerator.h
Referenced by EicBoxGenerator(), EicAsciiBoxGenerator::ReadEvent(), ReadEvent(), and EicAsciiBoxGenerator::SetTrackMultiplicityLimit().
|
private |
Definition at line 92 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 92 of file EicBoxGenerator.h
Referenced by AddPDG(), and ReadEvent().
|
protected |
Definition at line 87 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 87 of file EicBoxGenerator.h
Referenced by EicAsciiBoxGenerator::ReadEvent(), ReadEvent(), ResetVars(), SetPhi(), and SetPhiRange().
|
protected |
Definition at line 86 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 86 of file EicBoxGenerator.h
Referenced by EicAsciiBoxGenerator::ReadEvent(), ReadEvent(), ResetVars(), SetPhi(), and SetPhiRange().
|
protected |
Definition at line 82 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 82 of file EicBoxGenerator.h
Referenced by EicAsciiBoxGenerator::ReadEvent(), ReadEvent(), ResetVars(), SetMomentum(), and SetMomentumRange().
|
protected |
Definition at line 81 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 81 of file EicBoxGenerator.h
Referenced by EicAsciiBoxGenerator::ReadEvent(), ReadEvent(), ResetVars(), SetMomentum(), and SetMomentumRange().
|
protected |
Definition at line 84 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 84 of file EicBoxGenerator.h
Referenced by EicAsciiBoxGenerator::ReadEvent(), ReadEvent(), ResetVars(), SetTheta(), and SetThetaRange().
|
protected |
Definition at line 83 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 83 of file EicBoxGenerator.h
Referenced by EicAsciiBoxGenerator::ReadEvent(), ReadEvent(), ResetVars(), SetTheta(), and SetThetaRange().
|
protected |
Definition at line 85 of file EicBoxGenerator.h.
View newest version in sPHENIX GitHub at line 85 of file EicBoxGenerator.h
Referenced by ReadEvent(), and SetThetaRange().