AliRoot Core  3dc7879 (3dc7879)
DrawHitsRecs Class Reference

Draw hit energy loss versus rec point mult. More...

Inheritance diagram for DrawHitsRecs:

Public Member Functions

 DrawHitsRecs (Bool_t primary=kFALSE, Int_t n=900, Double_t emin=1e-3, Double_t emax=10, Int_t m=21, Double_t mmin=-0.5, Double_t mmax=20.5)
 
Bool_t Begin (Int_t ev)
 
Bool_t ProcessHit (AliFMDHit *hit, TParticle *)
 
Bool_t ProcessDigit (AliFMDDigit *digit)
 
Bool_t ProcessRecPoint (AliFMDRecPoint *single)
 
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 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 ProcessTrackRef (AliTrackReference *trackRef, TParticle *track)
 
virtual Bool_t ProcessTrack (Int_t i, TParticle *p, AliFMDHit *h)
 
virtual Bool_t ProcessParticle (Int_t i, TParticle *p)
 
virtual Bool_t ProcessSDigit (AliFMDSDigit *sdigit)
 
virtual Bool_t ProcessRawDigit (AliFMDDigit *digit)
 
virtual Bool_t ProcessRawCalibDigit (AliFMDDigit *digit)
 
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

TH2D * fHitEvsAdc
 
TH2D * fHitEvsRecM
 
TH2D * fHitEvsRecE
 
TH1D * fDiffE
 
TH2D * fHitsVsRecM
 
TH2D * fDiffM
 
TH1 * fHitEloss
 
TH1 * fRecEloss
 
AliFMDEdepMap fMap
 
AliFMDFloatMap fEta
 
AliFMDFloatMap fPhi
 
AliFMDFloatMap fMult
 
Bool_t fPrimary
 

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

Draw hit energy loss versus rec point mult.

Root> .L Compile.C
Root> Compile("DrawHitsRecs.C")
Root> DrawHitsRecs c
Root> c.Run();

Definition at line 43 of file DrawHitsRecs.C.

Constructor & Destructor Documentation

DrawHitsRecs::DrawHitsRecs ( Bool_t  primary = kFALSE,
Int_t  n = 900,
Double_t  emin = 1e-3,
Double_t  emax = 10,
Int_t  m = 21,
Double_t  mmin = -0.5,
Double_t  mmax = 20.5 
)
inline

Definition at line 61 of file DrawHitsRecs.C.

Member Function Documentation

Bool_t DrawHitsRecs::Begin ( Int_t  ev)
inlinevirtual

Begining of event

Parameters
evEvent number
Returns
false on error

Reimplemented from AliFMDInput.

Definition at line 133 of file DrawHitsRecs.C.

Bool_t DrawHitsRecs::Finish ( )
inlinevirtual

Called at the end of the run.

Returns
false on error

Reimplemented from AliFMDInput.

Definition at line 208 of file DrawHitsRecs.C.

Bool_t DrawHitsRecs::ProcessDigit ( AliFMDDigit digit)
inlinevirtual

Process one digit. Users should over this to process each digit.

Parameters
digitDigit
Returns
false on error

Reimplemented from AliFMDInput.

Definition at line 165 of file DrawHitsRecs.C.

Bool_t DrawHitsRecs::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 139 of file DrawHitsRecs.C.

Bool_t DrawHitsRecs::ProcessRecPoint ( AliFMDRecPoint point)
inlinevirtual

Process one reconstructed point. Users should over this to process each reconstructed point.

Parameters
pointReconstructed point
Returns
false on error

Reimplemented from AliFMDInput.

Definition at line 184 of file DrawHitsRecs.C.

Member Data Documentation

TH1D* DrawHitsRecs::fDiffE
private

Definition at line 49 of file DrawHitsRecs.C.

TH2D* DrawHitsRecs::fDiffM
private

Definition at line 51 of file DrawHitsRecs.C.

AliFMDFloatMap DrawHitsRecs::fEta
private

Definition at line 55 of file DrawHitsRecs.C.

TH1* DrawHitsRecs::fHitEloss
private

Definition at line 52 of file DrawHitsRecs.C.

TH2D* DrawHitsRecs::fHitEvsAdc
private

Definition at line 46 of file DrawHitsRecs.C.

TH2D* DrawHitsRecs::fHitEvsRecE
private

Definition at line 48 of file DrawHitsRecs.C.

TH2D* DrawHitsRecs::fHitEvsRecM
private

Definition at line 47 of file DrawHitsRecs.C.

TH2D* DrawHitsRecs::fHitsVsRecM
private

Definition at line 50 of file DrawHitsRecs.C.

AliFMDEdepMap DrawHitsRecs::fMap
private

Definition at line 54 of file DrawHitsRecs.C.

Referenced by ProcessDigit(), ProcessHit(), and ProcessRecPoint().

AliFMDFloatMap DrawHitsRecs::fMult
private

Definition at line 57 of file DrawHitsRecs.C.

AliFMDFloatMap DrawHitsRecs::fPhi
private

Definition at line 56 of file DrawHitsRecs.C.

Bool_t DrawHitsRecs::fPrimary
private

Definition at line 58 of file DrawHitsRecs.C.

TH1* DrawHitsRecs::fRecEloss
private

Definition at line 53 of file DrawHitsRecs.C.


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