AliRoot Core  edcc906 (edcc906)
AliFMDHit Class Reference

AliFMDhit is the hit class for the FMD. Hits are the information that comes from a Monte Carlo at each step as a particle mass through sensitive detector elements as particles are transported through a detector. More...

#include <AliFMDHit.h>

Inheritance diagram for AliFMDHit:

Public Member Functions

 AliFMDHit ()
 
 AliFMDHit (Int_t shunt, Int_t track, UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip, Float_t x=0, Float_t y=0, Float_t z=0, Float_t px=0, Float_t py=0, Float_t pz=0, Float_t edep=0, Int_t pdg=0, Float_t t=0, Float_t l=0, Bool_t stop=kFALSE)
 
virtual ~AliFMDHit ()
 
UShort_t Detector () const
 
Char_t Ring () const
 
UShort_t Sector () const
 
UShort_t Strip () const
 
Float_t Edep () const
 
Float_t Px () const
 
Float_t Py () const
 
Float_t Pz () const
 
Float_t P () const
 
Float_t M () const
 
Float_t Q () const
 
Int_t Pdg () const
 
Float_t Time () const
 
Float_t Length () const
 
Bool_t IsStop () const
 
void Print (Option_t *opt="") const
 
const char * GetName () const
 
const char * GetTitle () const
 
void SetEdep (Float_t edep)
 
- Public Member Functions inherited from AliHit
 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
 

Protected Attributes

UShort_t fDetector
 
Char_t fRing
 
UShort_t fSector
 
UShort_t fStrip
 
Float_t fPx
 
Float_t fPy
 
Float_t fPz
 
Int_t fPdg
 
Float_t fEdep
 
Float_t fTime
 
Float_t fLength
 
Bool_t fStop
 
- Protected Attributes inherited from AliHit
Int_t fTrack
 
Float_t fX
 
Float_t fY
 
Float_t fZ
 

Detailed Description

AliFMDhit is the hit class for the FMD. Hits are the information that comes from a Monte Carlo at each step as a particle mass through sensitive detector elements as particles are transported through a detector.

Definition at line 30 of file AliFMDHit.h.

Constructor & Destructor Documentation

AliFMDHit::AliFMDHit ( )

Default CTOR

Definition at line 55 of file AliFMDHit.cxx.

AliFMDHit::AliFMDHit ( Int_t  shunt,
Int_t  track,
UShort_t  detector,
Char_t  ring,
UShort_t  sector,
UShort_t  strip,
Float_t  x = 0,
Float_t  y = 0,
Float_t  z = 0,
Float_t  px = 0,
Float_t  py = 0,
Float_t  pz = 0,
Float_t  edep = 0,
Int_t  pdg = 0,
Float_t  t = 0,
Float_t  l = 0,
Bool_t  stop = kFALSE 
)

Normal FMD hit ctor

Parameters
shunt???
trackTrack #
detectorDetector # (1, 2, or 3)
ringRing ID ('I' or 'O')
sectorSector # (For inner/outer rings: 0-19/0-39)
stripStrip # (For inner/outer rings: 0-511/0-255)
xTrack's X-coordinate at hit
yTrack's Y-coordinate at hit
zTrack's Z-coordinate at hit
pxX-component of track's momentum
pyY-component of track's momentum
pzZ-component of track's momentum
edepEnergy deposited by track
pdgTrack's particle Id #
tTime when the track hit
lTrack lenght through medium
stopWhether track is stopped in medium

Definition at line 75 of file AliFMDHit.cxx.

virtual AliFMDHit::~AliFMDHit ( )
inlinevirtual

DTOR

Definition at line 71 of file AliFMDHit.h.

Member Function Documentation

const char * AliFMDHit::GetName ( void  ) const
Returns
Get Name

Definition at line 133 of file AliFMDHit.cxx.

Referenced by IsStop(), and DrawHits::ProcessHit().

const char * AliFMDHit::GetTitle ( ) const
Returns
Get title

Definition at line 143 of file AliFMDHit.cxx.

Referenced by IsStop().

Bool_t AliFMDHit::IsStop ( ) const
inline
Returns
Whether track was stopped in silicon

Definition at line 102 of file AliFMDHit.h.

Referenced by Print(), and DrawHits::ProcessHit().

Float_t AliFMDHit::Length ( ) const
inline
Returns
Path length through silicon

Definition at line 100 of file AliFMDHit.h.

Referenced by AliFMDQADataMakerSim::MakeHits(), DrawHits::ProcessHit(), and DrawHitsRecs::ProcessHit().

Float_t AliFMDHit::M ( ) const
Returns
Track \( m\) - mass (GeV)

Definition at line 165 of file AliFMDHit.cxx.

Referenced by DrawHits::ProcessHit(), and Pz().

Float_t AliFMDHit::P ( ) const
Returns
Track \( |p|\) - momentum (GeV)

Definition at line 156 of file AliFMDHit.cxx.

Referenced by Print(), DrawHits::ProcessHit(), and Pz().

Int_t AliFMDHit::Pdg ( ) const
inline
Returns
Track PDG id number

Definition at line 96 of file AliFMDHit.h.

Referenced by Media::Fill().

void AliFMDHit::Print ( Option_t *  opt = "") const

Print info

Parameters
optNot used

Definition at line 186 of file AliFMDHit.cxx.

Referenced by AliFMD::FinishEvent(), IsStop(), and DrawHitsSDigits::ProcessHit().

Float_t AliFMDHit::Px ( ) const
inline
Returns
Track \( p_x\) - momentum in \( x\) (GeV)

Definition at line 84 of file AliFMDHit.h.

Float_t AliFMDHit::Py ( ) const
inline
Returns
Track \( p_y\) - momentum in \( y\) (GeV)

Definition at line 86 of file AliFMDHit.h.

Float_t AliFMDHit::Pz ( ) const
inline
Returns
Track \( p_z\) - momentum in \( z\) (GeV)

Definition at line 88 of file AliFMDHit.h.

Float_t AliFMDHit::Q ( ) const
Returns
Track \( q\) - charge (1/3)

Definition at line 175 of file AliFMDHit.cxx.

Referenced by DrawHits::ProcessHit(), and Pz().

void AliFMDHit::SetEdep ( Float_t  edep)
inline

Set enenrgy deposited

Parameters
edepEnergy deposited

Definition at line 114 of file AliFMDHit.h.

Referenced by AliFMD::AddHitByFields().

Float_t AliFMDHit::Time ( ) const
inline
Returns
Time of hit in seconds

Definition at line 98 of file AliFMDHit.h.

Referenced by AliFMDHitDigitizer::SumContributions().

Member Data Documentation

UShort_t AliFMDHit::fDetector
protected

Definition at line 116 of file AliFMDHit.h.

Referenced by Detector(), GetName(), and Print().

Float_t AliFMDHit::fEdep
protected

Definition at line 124 of file AliFMDHit.h.

Referenced by Edep(), GetTitle(), Print(), and SetEdep().

Float_t AliFMDHit::fLength
protected

Definition at line 126 of file AliFMDHit.h.

Referenced by GetTitle(), Length(), and Print().

Int_t AliFMDHit::fPdg
protected

Definition at line 123 of file AliFMDHit.h.

Referenced by GetTitle(), M(), Pdg(), Print(), and Q().

Float_t AliFMDHit::fPx
protected

Definition at line 120 of file AliFMDHit.h.

Referenced by P(), Print(), and Px().

Float_t AliFMDHit::fPy
protected

Definition at line 121 of file AliFMDHit.h.

Referenced by P(), Print(), and Py().

Float_t AliFMDHit::fPz
protected

Definition at line 122 of file AliFMDHit.h.

Referenced by P(), Print(), and Pz().

Char_t AliFMDHit::fRing
protected

Definition at line 117 of file AliFMDHit.h.

Referenced by GetName(), Print(), and Ring().

UShort_t AliFMDHit::fSector
protected

Definition at line 118 of file AliFMDHit.h.

Referenced by GetName(), Print(), and Sector().

Bool_t AliFMDHit::fStop
protected

Definition at line 127 of file AliFMDHit.h.

Referenced by IsStop().

UShort_t AliFMDHit::fStrip
protected

Definition at line 119 of file AliFMDHit.h.

Referenced by GetName(), Print(), and Strip().

Float_t AliFMDHit::fTime
protected

Definition at line 125 of file AliFMDHit.h.

Referenced by Time().


The documentation for this class was generated from the following files: