![]() |
AliRoot Core
edcc906 (edcc906)
|
EMCal hits object. More...
#include <AliEMCALHit.h>
Public Member Functions | |
AliEMCALHit () | |
Default constructor. More... | |
AliEMCALHit (const AliEMCALHit &hit) | |
Copy constructor. More... | |
AliEMCALHit & | operator= (const AliEMCALHit &source) |
Assignment operator; use copy constructor. More... | |
AliEMCALHit (Int_t shunt, Int_t primary, Int_t tracknumber, Int_t iparent, Float_t ienergy, Int_t id, Float_t *hits, Float_t *p) | |
virtual | ~AliEMCALHit (void) |
Float_t | GetEnergy (void) const |
Int_t | GetId (void) const |
Int_t | GetIparent (void) const |
Float_t | GetIenergy (void) const |
Int_t | GetPrimary (void) const |
Float_t | GetTime (void) const |
Float_t | GetPx (void) const |
Float_t | GetPy (void) const |
Float_t | GetPz (void) const |
Float_t | GetPe (void) const |
void | SetIparent (Int_t iparent) |
void | SetPrimary (Int_t primary) |
Bool_t | operator== (AliEMCALHit const &rValue) const |
AliEMCALHit | operator+ (const AliEMCALHit &rValue) |
Add the energy of the hit. More... | |
![]() | |
AliHit () | |
AliHit (Int_t shunt, Int_t track) | |
virtual | ~AliHit () |
Int_t | GetTrack () const |
void | SetTrack (Int_t track) |
Float_t | X () const |
Float_t | Y () const |
Float_t | Z () const |
Int_t | Track () const |
Private Attributes | |
Int_t | fId |
Absolute Id number EMCAL segment. More... | |
Float_t | fELOS |
Energy deposited. More... | |
Int_t | fPrimary |
Primary particles at the origin of the hit. More... | |
Float_t | fPx |
Primary particle entrance momentum/energy. More... | |
Float_t | fPy |
Primary particle entrance momentum/energy. More... | |
Float_t | fPz |
Primary particle entrance momentum/energy. More... | |
Float_t | fPe |
Primary particle entrance momentum/energy. More... | |
Int_t | fIparent |
Parent particle that entered emcal. More... | |
Float_t | fIenergy |
Initial energy of parent particle that enterred the emcal. More... | |
Float_t | fTime |
Time of the energy deposition. More... | |
Friends | |
ostream & | operator<< (ostream &, AliEMCALHit &) |
Dump hit info. More... | |
Additional Inherited Members | |
![]() | |
Int_t | fTrack |
Float_t | fX |
Float_t | fY |
Float_t | fZ |
EMCal hits object.
A hit in EMCAL is the sum of all hits from the same entering particle Based on AliPHOSHit
Definition at line 24 of file AliEMCALHit.h.
AliEMCALHit::AliEMCALHit | ( | ) |
AliEMCALHit::AliEMCALHit | ( | const AliEMCALHit & | hit | ) |
Copy constructor.
Definition at line 47 of file AliEMCALHit.cxx.
AliEMCALHit::AliEMCALHit | ( | Int_t | shunt, |
Int_t | primary, | ||
Int_t | track, | ||
Int_t | iparent, | ||
Float_t | ienergy, | ||
Int_t | id, | ||
Float_t * | hits, | ||
Float_t * | p | ||
) |
Create an EMCal hit object
shunt | level of primary selection to store |
primary | index label |
track | index |
iparent | index |
ienergy | deposited energy? |
id | cell id? |
hits | hit position time energy |
p | hit momentum |
Definition at line 84 of file AliEMCALHit.cxx.
|
inlinevirtual |
Definition at line 38 of file AliEMCALHit.h.
|
inline |
Definition at line 41 of file AliEMCALHit.h.
Referenced by AliEMCALSDigitizer::Digitize(), AliEMCALQADataMakerSim::MakeHits(), operator+(), operator<<(), TestEMCALData(), and TestEMCALHit().
|
inline |
Definition at line 44 of file AliEMCALHit.h.
Referenced by AliEMCALSDigitizer::Digitize(), operator<<(), operator==(), TestEMCALData(), and TestEMCALHit().
|
inline |
Definition at line 49 of file AliEMCALHit.h.
Referenced by operator<<().
|
inline |
Definition at line 47 of file AliEMCALHit.h.
Referenced by AliEMCALSDigitizer::Digitize(), operator<<(), and operator==().
|
inline |
Definition at line 59 of file AliEMCALHit.h.
Referenced by operator<<().
|
inline |
Definition at line 51 of file AliEMCALHit.h.
Referenced by AliEMCALv2::AddHit(), AliEMCALv1::AddHit(), AliEMCALSDigitizer::Digitize(), and operator<<().
|
inline |
Definition at line 56 of file AliEMCALHit.h.
Referenced by operator<<().
|
inline |
Definition at line 57 of file AliEMCALHit.h.
Referenced by operator<<().
|
inline |
Definition at line 58 of file AliEMCALHit.h.
Referenced by operator<<().
|
inline |
Definition at line 54 of file AliEMCALHit.h.
Referenced by AliEMCALSDigitizer::Digitize(), operator+(), operator<<(), and TestEMCALHit().
AliEMCALHit AliEMCALHit::operator+ | ( | const AliEMCALHit & | rValue | ) |
Add the energy of the hit.
Definition at line 127 of file AliEMCALHit.cxx.
Referenced by SetPrimary().
AliEMCALHit & AliEMCALHit::operator= | ( | const AliEMCALHit & | source | ) |
Assignment operator; use copy constructor.
Definition at line 64 of file AliEMCALHit.cxx.
Bool_t AliEMCALHit::operator== | ( | AliEMCALHit const & | rValue | ) | const |
Two hits are identical if they have the same Id and originat from the same enterring Particle
Definition at line 114 of file AliEMCALHit.cxx.
Referenced by SetPrimary().
|
inline |
Definition at line 61 of file AliEMCALHit.h.
|
inline |
Definition at line 62 of file AliEMCALHit.h.
|
friend |
Dump hit info.
Definition at line 140 of file AliEMCALHit.cxx.
|
private |
Energy deposited.
Definition at line 70 of file AliEMCALHit.h.
Referenced by AliEMCALHit(), GetEnergy(), and operator+().
|
private |
Absolute Id number EMCAL segment.
Definition at line 69 of file AliEMCALHit.h.
Referenced by GetId(), and operator==().
|
private |
Initial energy of parent particle that enterred the emcal.
Definition at line 77 of file AliEMCALHit.h.
Referenced by GetIenergy().
|
private |
Parent particle that entered emcal.
Definition at line 76 of file AliEMCALHit.h.
Referenced by GetIparent(), operator==(), and SetIparent().
|
private |
Primary particle entrance momentum/energy.
Definition at line 75 of file AliEMCALHit.h.
Referenced by AliEMCALHit(), and GetPe().
|
private |
Primary particles at the origin of the hit.
Definition at line 71 of file AliEMCALHit.h.
Referenced by GetPrimary(), and SetPrimary().
|
private |
Primary particle entrance momentum/energy.
Definition at line 72 of file AliEMCALHit.h.
Referenced by AliEMCALHit(), and GetPx().
|
private |
Primary particle entrance momentum/energy.
Definition at line 73 of file AliEMCALHit.h.
Referenced by AliEMCALHit(), and GetPy().
|
private |
Primary particle entrance momentum/energy.
Definition at line 74 of file AliEMCALHit.h.
Referenced by AliEMCALHit(), and GetPz().
|
private |
Time of the energy deposition.
Definition at line 78 of file AliEMCALHit.h.
Referenced by AliEMCALHit(), GetTime(), and operator+().