17 #include <Riostream.h> 66 if (&source ==
this)
return *
this;
85 Int_t iparent, Float_t ienergy, Int_t
id,
86 Float_t *hits,Float_t *
p)
142 out <<
"AliEMCALHit:";
143 out <<
"id=" << hit.
GetId();
145 out <<
", Time=" << hit.
GetTime();
146 out <<
"GeV , Track no.=" << hit.
GetPrimary();
147 out <<
", (xyz)=(" << hit.
X()<<
","<< hit.
Y()<<
","<<hit.
Z()<<
") cm";
148 out <<
", fTrack=" << hit.
GetTrack();
149 out <<
", P=(" << hit.
GetPx() <<
"," << hit.
GetPy() <<
"," << hit.
GetPz()
150 <<
"," <<hit.
GetPe() <<
") GeV" ;
151 out <<
", Enterring particle ID" << hit.
GetIparent();
152 out <<
", Enterring particle initial energy = " << hit.
GetIenergy() <<
" GeV" ;
Float_t fPy
Primary particle entrance momentum/energy.
Float_t GetPe(void) const
Int_t fId
Absolute Id number EMCAL segment.
AliEMCALHit()
Default constructor.
Float_t fTime
Time of the energy deposition.
Int_t fPrimary
Primary particles at the origin of the hit.
Float_t GetPx(void) const
Float_t fPx
Primary particle entrance momentum/energy.
AliEMCALHit operator+(const AliEMCALHit &rValue)
Add the energy of the hit.
Float_t fPz
Primary particle entrance momentum/energy.
Float_t GetIenergy(void) const
Bool_t operator==(AliEMCALHit const &rValue) const
Float_t fELOS
Energy deposited.
Int_t fIparent
Parent particle that entered emcal.
Float_t fPe
Primary particle entrance momentum/energy.
Int_t GetIparent(void) const
Int_t GetPrimary(void) const
friend ostream & operator<<(ostream &, AliEMCALHit &)
Dump hit info.
Float_t GetPy(void) const
AliEMCALHit & operator=(const AliEMCALHit &source)
Assignment operator; use copy constructor.
Float_t fIenergy
Initial energy of parent particle that enterred the emcal.
Float_t GetEnergy(void) const
Float_t GetTime(void) const
Float_t GetPz(void) const