#include <AliFMDInput.h>
Inheritance diagram for AliFMDInput:
struct DigitInput : public AliFMDInput { DigitInput() { // Load digits AddLoad(kDigits); // Make a histogram fHist = new TH1F("adc", "ADC spectra", 1024, -.5, 1023.5); } // Process one digit. Bool_t ProcessDigit(AliFMDDigit* d) { fHist->Fill(d->Counts()); return kTRUE; } // After processing all events, display spectrum Bool_t Finish() { fHist->Draw(); } TH1F* fHist; }; void AdcSpectrum() { DigitInput di; di.Run(); }
FMD/scripts
.
Definition at line 85 of file AliFMDInput.h.
Public Types | |
enum | ETrees { kHits = 1, kKinematics, kDigits, kSDigits, kHeader, kRecPoints, kESD, kRaw, kGeometry } |
Public Member Functions | |
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 | Init () |
virtual Bool_t | Begin (Int_t event) |
virtual Bool_t | Event () |
virtual Bool_t | End () |
virtual Bool_t | Finish () |
virtual Bool_t | Run () |
virtual Bool_t | ProcessHits () |
virtual Bool_t | ProcessDigits () |
virtual Bool_t | ProcessSDigits () |
virtual Bool_t | ProcessRawDigits () |
virtual Bool_t | ProcessRecPoints () |
virtual Bool_t | ProcessHit (AliFMDHit *, TParticle *) |
virtual Bool_t | ProcessDigit (AliFMDDigit *) |
virtual Bool_t | ProcessSDigit (AliFMDSDigit *) |
virtual Bool_t | ProcessRawDigit (AliFMDDigit *) |
virtual Bool_t | ProcessRecPoint (AliFMDRecPoint *) |
virtual Bool_t | ProcessESD (AliESDFMD *) |
Protected Attributes | |
TString | fGAliceFile |
AliRunLoader * | fLoader |
AliRun * | fRun |
AliStack * | fStack |
AliLoader * | fFMDLoader |
AliRawReader * | fReader |
AliFMD * | fFMD |
AliESD * | fMainESD |
AliESDFMD * | fESD |
TTree * | fTreeE |
TTree * | fTreeH |
TTree * | fTreeD |
TTree * | fTreeS |
TTree * | fTreeR |
TTree * | fTreeA |
TChain * | fChainE |
TClonesArray * | fArrayE |
TClonesArray * | fArrayH |
TClonesArray * | fArrayD |
TClonesArray * | fArrayS |
TClonesArray * | fArrayR |
TClonesArray * | fArrayA |
TGeoManager * | fGeoManager |
Int_t | fTreeMask |
Bool_t | fIsInit |
|
The kinds of data that can be read in. Definition at line 89 of file AliFMDInput.h. |
|
CTOR |
|
CTOR
|
|
DTOR Definition at line 106 of file AliFMDInput.h. |
|
Add a data type to load
Definition at line 110 of file AliFMDInput.h. |
|
Callled at the beginning of each event. If a user class overloads this member function, then this must be explicitly called.
Reimplemented in AliFMDDisplay, DrawDigitsRecs, DrawHitsDigits, DrawHitsRecs, GetMedia, and Poisson. |
|
Called at the end of each event.
Reimplemented in AliFMDDisplay, and Poisson. |
|
Process one event. This loops over all the loaded data. Users can overload this member function, but then it's strongly recommended to explicitly call this classes version.
|
|
Called at the end of the run.
Reimplemented in CheckAlign, DrawDigitsRecs, DrawHits, DrawHitsDigits, DrawHitsRecs, GetMedia, and Poisson. Definition at line 137 of file AliFMDInput.h. |
|
Initialize the class. If a user class overloads this member function, then this must be explicitly called
Reimplemented in AliFMDDisplay, CheckAlign, CheckRaw, GetMedia, and Poisson. |
|
|
|
Process one digit. Users should over this to process each digit.
Reimplemented in AliFMDDisplay, CheckAlign, CheckRaw, DrawDigitsRecs, and DrawHitsDigits. Definition at line 168 of file AliFMDInput.h. |
|
Loop over all digits, and call ProcessDigit for each digit.
|
|
Process ESD data for the FMD. Users should overload this to deal with ESD data.
Definition at line 184 of file AliFMDInput.h. |
|
Process one hit, and optionally it's corresponding kinematics track. Users should over this to process each hit.
Reimplemented in AliFMDDisplay, CheckAlign, DrawHits, DrawHitsDigits, DrawHitsRecs, and GetMedia. Definition at line 165 of file AliFMDInput.h. |
|
Loop over all hits, and call ProcessHit with that hit, and optionally the corresponding kinematics track.
|
|
Process one digit from raw data files. Users should over this to process each raw digit.
Reimplemented in CheckRaw. Definition at line 176 of file AliFMDInput.h. |
|
Loop over all digits read from raw data files, and call ProcessRawDigit for each digit.
|
|
Process one reconstructed point. Users should over this to process each reconstructed point.
Reimplemented in AliFMDDisplay, DrawDigitsRecs, and DrawHitsRecs. Definition at line 180 of file AliFMDInput.h. |
|
Loop over all reconstructed points, and call ProcessRecPoint for each reconstructed point.
|
|
Process one summable digit. Users should over this to process each summable digit.
Definition at line 172 of file AliFMDInput.h. |
|
Loop over all summable digits, and call ProcessSDigit for each digit.
|
|
Remove a data type to load
Definition at line 113 of file AliFMDInput.h. |
|
Run a full job.
|
|
Definition at line 208 of file AliFMDInput.h. |
|
Definition at line 205 of file AliFMDInput.h. |
|
Definition at line 203 of file AliFMDInput.h. |
|
Definition at line 204 of file AliFMDInput.h. |
|
Definition at line 207 of file AliFMDInput.h. |
|
Definition at line 206 of file AliFMDInput.h. |
|
Definition at line 202 of file AliFMDInput.h. |
|
Definition at line 195 of file AliFMDInput.h. |
|
Definition at line 193 of file AliFMDInput.h. |
|
Definition at line 191 of file AliFMDInput.h. |
|
Definition at line 187 of file AliFMDInput.h. |
|
Definition at line 209 of file AliFMDInput.h. |
|
Definition at line 211 of file AliFMDInput.h. |
|
Definition at line 188 of file AliFMDInput.h. |
|
Definition at line 194 of file AliFMDInput.h. |
|
Definition at line 192 of file AliFMDInput.h. |
|
Definition at line 189 of file AliFMDInput.h. |
|
Definition at line 190 of file AliFMDInput.h. |
|
Definition at line 201 of file AliFMDInput.h. |
|
Definition at line 198 of file AliFMDInput.h. |
|
Definition at line 196 of file AliFMDInput.h. |
|
Definition at line 197 of file AliFMDInput.h. |
|
Definition at line 210 of file AliFMDInput.h. |
|
Definition at line 200 of file AliFMDInput.h. |
|
Definition at line 199 of file AliFMDInput.h. |