AliRoot Core  edcc906 (edcc906)
ReadHits Class Reference
Inheritance diagram for ReadHits:

Public Member Functions

 ReadHits ()
 
Bool_t ProcessHit (AliFMDHit *hit, TParticle *p)
 
Bool_t ProcessTrackRef (AliTrackReference *trackRef, TParticle *p)
 
Bool_t Finish ()
 
- Public Member Functions inherited from AliFMDInput
 AliFMDInput ()
 
 AliFMDInput (const char *gAliceFile)
 
virtual ~AliFMDInput ()
 
virtual void AddLoad (ETrees tree)
 
virtual void RemoveLoad (ETrees tree)
 
virtual Int_t NEvents () const
 
virtual Bool_t IsLoaded (ETrees tree) const
 
virtual void SetLoads (UInt_t mask)
 
virtual void SetLoads (const char *mask)
 
virtual const char * LoadedString (Bool_t dataOnly=false) const
 
virtual Bool_t Init ()
 
virtual Bool_t Begin (Int_t event)
 
virtual Bool_t Event ()
 
virtual Bool_t End ()
 
virtual Bool_t Run (UInt_t maxEvents=0)
 
virtual Bool_t ProcessHits ()
 
virtual Bool_t ProcessTrackRefs ()
 
virtual Bool_t ProcessTracks ()
 
virtual Bool_t ProcessStack ()
 
virtual Bool_t ProcessDigits ()
 
virtual Bool_t ProcessSDigits ()
 
virtual Bool_t ProcessRawDigits ()
 
virtual Bool_t ProcessRawCalibDigits ()
 
virtual Bool_t ProcessRecPoints ()
 
virtual Bool_t ProcessESDs ()
 
virtual Bool_t ProcessUsers ()
 
virtual Bool_t ProcessTrack (Int_t i, TParticle *p, AliFMDHit *h)
 
virtual Bool_t ProcessParticle (Int_t i, TParticle *p)
 
virtual Bool_t ProcessDigit (AliFMDDigit *digit)
 
virtual Bool_t ProcessSDigit (AliFMDSDigit *sdigit)
 
virtual Bool_t ProcessRawDigit (AliFMDDigit *digit)
 
virtual Bool_t ProcessRawCalibDigit (AliFMDDigit *digit)
 
virtual Bool_t ProcessRecPoint (AliFMDRecPoint *point)
 
virtual Bool_t ProcessESD (UShort_t d, Char_t r, UShort_t s, UShort_t t, Float_t eta, Float_t mult)
 
virtual Bool_t ProcessUser (UShort_t d, Char_t r, UShort_t s, UShort_t t, Float_t v)
 
void SetRawFile (const char *file)
 
void SetInputDir (const char *dir)
 

Private Attributes

Int_t nHits
 
Int_t nTracks
 

Additional Inherited Members

- Public Types inherited from AliFMDInput
enum  ETrees {
  kHits = 1, kKinematics, kDigits, kSDigits,
  kHeader, kRecPoints, kESD, kRaw,
  kGeometry, kTrackRefs, kRawCalib, kUser
}
 
- Static Public Member Functions inherited from AliFMDInput
static TArrayF MakeLogScale (Int_t n, Double_t min, Double_t max)
 
static ETrees ParseLoad (const char *what)
 
- Protected Member Functions inherited from AliFMDInput
 AliFMDInput (const AliFMDInput &o)
 
AliFMDInputoperator= (const AliFMDInput &)
 
virtual Float_t GetSignal (UShort_t d, Char_t r, UShort_t s, UShort_t t)
 
- Static Protected Member Functions inherited from AliFMDInput
static const char * TreeName (ETrees tree, bool shortest=false)
 
static TChain * MakeChain (const char *what, const char *datadir, bool recursive=false)
 
static void ScanDirectory (TSystemDirectory *dir, const TString &olddir, TChain *chain, const char *pattern, bool recursive)
 
- Protected Attributes inherited from AliFMDInput
TString fGAliceFile
 
AliRunLoaderfLoader
 
AliRunfRun
 
AliStackfStack
 
AliLoaderfFMDLoader
 
AliRawReader * fReader
 
AliFMDRawReaderfFMDReader
 
AliFMDfFMD
 
AliESDFMDfESD
 
AliESDEventfESDEvent
 
TTree * fTreeE
 
TTree * fTreeH
 
TTree * fTreeTR
 
TTree * fTreeD
 
TTree * fTreeS
 
TTree * fTreeR
 
TTree * fTreeA
 
TChain * fChainE
 
TClonesArray * fArrayE
 
TClonesArray * fArrayH
 
TClonesArray * fArrayTR
 
TClonesArray * fArrayD
 
TClonesArray * fArrayS
 
TClonesArray * fArrayR
 
TClonesArray * fArrayA
 
AliHeaderfHeader
 
TGeoManager * fGeoManager
 
Int_t fTreeMask
 
TString fRawFile
 
TString fInputDir
 
Bool_t fIsInit
 
Int_t fEventCount
 
Int_t fNEvents
 
- Static Protected Attributes inherited from AliFMDInput
static const ETrees fgkAllLoads [kUser+1]
 

Detailed Description

Definition at line 18 of file CompareTrackRefsAndHits.C.

Constructor & Destructor Documentation

ReadHits::ReadHits ( )
inline

Definition at line 27 of file CompareTrackRefsAndHits.C.

Member Function Documentation

Bool_t ReadHits::Finish ( )
inlinevirtual

Called at the end of the run.

Returns
false on error

Reimplemented from AliFMDInput.

Definition at line 59 of file CompareTrackRefsAndHits.C.

Bool_t ReadHits::ProcessHit ( AliFMDHit h,
TParticle *  p 
)
inlinevirtual

Process one hit, and optionally it's corresponding kinematics track. Users should over this to process each hit.

Parameters
hHit
pAssociated track
Returns
false on error

Reimplemented from AliFMDInput.

Definition at line 37 of file CompareTrackRefsAndHits.C.

Bool_t ReadHits::ProcessTrackRef ( AliTrackReference trackRef,
TParticle *  track 
)
inlinevirtual

Process one track reference, and optionally it's corresponding kinematics track. Users should overload this to process each track reference.

Parameters
trackRefTrack Reference
trackAssociated track
Returns
false on error

Reimplemented from AliFMDInput.

Definition at line 44 of file CompareTrackRefsAndHits.C.

Member Data Documentation

Int_t ReadHits::nHits
private

Definition at line 21 of file CompareTrackRefsAndHits.C.

Int_t ReadHits::nTracks
private

Definition at line 22 of file CompareTrackRefsAndHits.C.


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