AliRoot Core  3dc7879 (3dc7879)
AliFMDSDigit Class Reference

class for summable digits More...

#include <FMD/AliFMDDigit.h>

Inheritance diagram for AliFMDSDigit:

Public Member Functions

 AliFMDSDigit ()
 
 AliFMDSDigit (UShort_t detector, Char_t ring='\0', UShort_t sector=0, UShort_t strip=0, Float_t edep=0, UShort_t count=0, Short_t count2=-1, Short_t count3=-1, Short_t count4=-1, UShort_t npart=0, UShort_t nprim=0, const Int_t *refs=0)
 
virtual ~AliFMDSDigit ()
 
UShort_t Count1 () const
 
Short_t Count2 () const
 
Short_t Count3 () const
 
Short_t Count4 () const
 
UShort_t Counts () const
 
Float_t Edep () const
 
UShort_t NParticles () const
 
UShort_t NPrimaries () const
 
void Print (Option_t *opt="") const
 
void SetCount (UShort_t s, Short_t c)
 
- Public Member Functions inherited from AliFMDBaseDigit
 AliFMDBaseDigit ()
 
 AliFMDBaseDigit (UShort_t detector, Char_t ring='\0', UShort_t sector=0, UShort_t strip=0)
 
 AliFMDBaseDigit (Int_t *tracks, UShort_t detector, Char_t ring='\0', UShort_t sector=0, UShort_t strip=0)
 
virtual ~AliFMDBaseDigit ()
 
UShort_t Detector () const
 
Char_t Ring () const
 
UShort_t Sector () const
 
UShort_t Strip () const
 
const char * GetName () const
 
Int_t Compare (const TObject *o) const
 
Bool_t IsSortable () const
 
void AddTrack (Int_t trackno)
 
UShort_t GetNTrack () const
 
- Public Member Functions inherited from AliDigit
 AliDigit ()
 
 AliDigit (Int_t *track)
 
virtual ~AliDigit ()
 
virtual Int_t * GetTracks ()
 
virtual Int_t GetTrack (Int_t i) const
 

Protected Attributes

Float_t fEdep
 
UShort_t fCount1
 
Short_t fCount2
 
Short_t fCount3
 
Short_t fCount4
 
UShort_t fNParticles
 
UShort_t fNPrimaries
 
- Protected Attributes inherited from AliFMDBaseDigit
UShort_t fDetector
 
Char_t fRing
 
UShort_t fSector
 
UShort_t fStrip
 
TString fName
 
- Protected Attributes inherited from AliDigit
Int_t fTracks [3]
 

Additional Inherited Members

- Protected Member Functions inherited from AliFMDBaseDigit
ULong_t Hash () const
 

Detailed Description

class for summable digits

Definition at line 27 of file AliFMDSDigit.h.

Constructor & Destructor Documentation

AliFMDSDigit::AliFMDSDigit ( )

CTOR

Definition at line 76 of file AliFMDSDigit.cxx.

AliFMDSDigit::AliFMDSDigit ( UShort_t  detector,
Char_t  ring = '\0',
UShort_t  sector = 0,
UShort_t  strip = 0,
Float_t  edep = 0,
UShort_t  count = 0,
Short_t  count2 = -1,
Short_t  count3 = -1,
Short_t  count4 = -1,
UShort_t  npart = 0,
UShort_t  nprim = 0,
const Int_t *  refs = 0 
)

Constrctor

Parameters
detectorDetector
ringRing
sectorSector
stripStrip
edepEnergy deposited
countADC (first sample)
count2ADC (second sample, or -1 if not used)
count3ADC (third sample, or -1 if not used)

Definition at line 90 of file AliFMDSDigit.cxx.

virtual AliFMDSDigit::~AliFMDSDigit ( )
inlinevirtual

DTOR

Definition at line 61 of file AliFMDSDigit.h.

Member Function Documentation

UShort_t AliFMDSDigit::Count1 ( ) const
inline
Returns
ADC count (first sample)

Definition at line 66 of file AliFMDSDigit.h.

Short_t AliFMDSDigit::Count2 ( ) const
inline
Returns
ADC count (second sample, or -1 if not used)

Definition at line 71 of file AliFMDSDigit.h.

Short_t AliFMDSDigit::Count3 ( ) const
inline
Returns
ADC count (third sample, or -1 if not used)

Definition at line 76 of file AliFMDSDigit.h.

Short_t AliFMDSDigit::Count4 ( ) const
inline
Returns
ADC count (third sample, or -1 if not used)

Definition at line 81 of file AliFMDSDigit.h.

UShort_t AliFMDSDigit::Counts ( ) const
inline
Float_t AliFMDSDigit::Edep ( ) const
inline
Returns
Energy deposited

Definition at line 91 of file AliFMDSDigit.h.

Referenced by AliFMDDigitizer::SumContributions().

UShort_t AliFMDSDigit::NParticles ( ) const
inline
Returns
Number of particles that hit this strip

Definition at line 96 of file AliFMDSDigit.h.

Referenced by DrawSDigits::ProcessSDigit().

UShort_t AliFMDSDigit::NPrimaries ( ) const
inline
Returns
Number of primary particles that hit this strip

Definition at line 101 of file AliFMDSDigit.h.

Referenced by DrawSDigits::ProcessSDigit().

void AliFMDSDigit::Print ( Option_t *  opt = "") const
virtual

Print info

Parameters
optNot used

Reimplemented from AliFMDBaseDigit.

Definition at line 131 of file AliFMDSDigit.cxx.

Referenced by NPrimaries(), DrawHitsSDigits::ProcessSDigit(), and DrawSDigits::ProcessSDigit().

void AliFMDSDigit::SetCount ( UShort_t  s,
Short_t  c 
)
inlinevirtual

Set the count value

Parameters
sSample number
cCounts

Implements AliFMDBaseDigit.

Definition at line 143 of file AliFMDSDigit.h.

Referenced by NPrimaries().

Member Data Documentation

UShort_t AliFMDSDigit::fCount1
protected

Definition at line 121 of file AliFMDSDigit.h.

Referenced by Count1(), Counts(), Print(), and SetCount().

Short_t AliFMDSDigit::fCount2
protected

Definition at line 122 of file AliFMDSDigit.h.

Referenced by Count2(), Counts(), Print(), and SetCount().

Short_t AliFMDSDigit::fCount3
protected

Definition at line 123 of file AliFMDSDigit.h.

Referenced by Count3(), Counts(), Print(), and SetCount().

Short_t AliFMDSDigit::fCount4
protected

Definition at line 124 of file AliFMDSDigit.h.

Referenced by Count4(), Counts(), Print(), and SetCount().

Float_t AliFMDSDigit::fEdep
protected

Definition at line 120 of file AliFMDSDigit.h.

Referenced by Edep(), and Print().

UShort_t AliFMDSDigit::fNParticles
protected

Definition at line 125 of file AliFMDSDigit.h.

Referenced by NParticles(), and Print().

UShort_t AliFMDSDigit::fNPrimaries
protected

Definition at line 126 of file AliFMDSDigit.h.

Referenced by NPrimaries(), and Print().


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