61 for (
Int_t j=0;j<njets;j++) {
66 for (
Int_t t=0;t<ntracks;t++) {
73 for (
Int_t ha=0;ha<nhitsA;ha++) {
75 hit->
fX = 10000*j + 100*t +ha;
76 hit->
fY = 10000*j + 100*t +ha+0.1;
77 hit->
fZ = 10000*j + 100*t +ha+0.2;
81 for (
Int_t hb=0;hb<nhitsB;hb++) {
83 hit->
fX = 20000*j + 100*t +hb+0.3;
84 hit->
fY = 20000*j + 100*t +hb+0.4;
85 hit->
fZ = 20000*j + 100*t +hb+0.5;
88 track->
fNhit = nhitsA + nhitsB;
Jet * AddJet()
Add a new Jet to the list of tracks for this event.
static TClonesArray * fgJets
virtual Double_t Gaus(Double_t mean=0, Double_t sigma=1)
Samples a random number from the standard Normal (Gaussian) Distribution with the given mean and sigm...
JetEvent()
Create a JetEvent object.
Track * AddTrack()
Add a new track to the list of tracks for this event.
void Build(Int_t jetm=3, Int_t trackm=10, Int_t hitam=100, Int_t hitbm=10)
Build one event.
void Clear(Option_t *option="")
friend class TClonesArray
static TClonesArray * fgHitsA
void SetXYZ(Double_t x, Double_t y, Double_t z)
static void SetObjectCount(UInt_t number)
static function to set the current referenced object count fgNumber is incremented every time a new o...
static TClonesArray * fgTracks
virtual void Clear(Option_t *option="")
Clear the clones array.
virtual Double_t Rndm()
Machine independent random number generator.
Hit * AddHitB()
Add a new hit to the list of hits in detector B.
R__EXTERN TRandom * gRandom
void Reset(Option_t *option="")
Static function to reset all static objects for this event.
Hit * AddHitA()
Add a new hit to the list of hits in detector A.
An array of clone (identical) objects.
static TClonesArray * fgHitsB
static UInt_t GetObjectCount()
Return the current referenced object count fgNumber is incremented every time a new object is referen...