]>
Commit | Line | Data |
---|---|---|
3ab35fc5 | 1 | #ifndef ALITPCCALIBBASE_H |
2 | #define ALITPCCALIBBASE_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | //// | |
8 | //// | |
9 | //// | |
10 | ||
11 | #include "TNamed.h" | |
12 | class AliTPCseed; | |
c32da879 | 13 | class AliESDEvent; |
f7f33dec | 14 | class AliESDtrack; |
3ab35fc5 | 15 | class TCollection; |
ae28e92e | 16 | class TTreeSRedirector; |
3ab35fc5 | 17 | |
18 | class AliTPCcalibBase:public TNamed { | |
19 | public: | |
06c1ea82 | 20 | AliTPCcalibBase(); |
8cf12c96 | 21 | AliTPCcalibBase(const char * name, const char * title); |
ae28e92e | 22 | AliTPCcalibBase(const AliTPCcalibBase&calib); |
23 | AliTPCcalibBase &operator=(const AliTPCcalibBase&calib); | |
3ab35fc5 | 24 | virtual ~AliTPCcalibBase(); |
c32da879 | 25 | virtual void Process(AliESDEvent */*event*/){return;} |
06c1ea82 | 26 | virtual void Process(AliTPCseed */*track*/){return;} |
5822e507 | 27 | virtual void Process(AliESDtrack */*track*/, Int_t /*runNo=-1*/){return;} |
06c1ea82 | 28 | virtual Long64_t Merge(TCollection */*li*/){return 0;} |
3ab35fc5 | 29 | virtual void Analyze(){return;} |
7eaa723e | 30 | virtual void Terminate(); |
c51653e8 | 31 | virtual void UpdateEventInfo(AliESDEvent * event); |
32 | virtual Bool_t AcceptTrigger(); | |
2d22fa36 | 33 | virtual void SetTriggerMask(Int_t accept, Int_t reject, Bool_t rejectLaser){fTriggerMaskAccept=accept;fTriggerMaskReject=reject; fRejectLaser = rejectLaser;} |
34 | ||
ae28e92e | 35 | // |
36 | // debug streamer support | |
37 | TTreeSRedirector *GetDebugStreamer(); | |
38 | void SetStreamLevel(Int_t streamLevel){fStreamLevel=streamLevel;} | |
39 | void SetDebugLevel(Int_t level) {fDebugLevel = level;} | |
40 | Int_t GetStreamLevel() const {return fStreamLevel;} | |
41 | Int_t GetDebugLevel() const {return fDebugLevel;} | |
f7f33dec | 42 | virtual void RegisterDebugOutput(const char *path); |
2d22fa36 | 43 | static Bool_t HasLaser(AliESDEvent *event); |
44 | ||
ae28e92e | 45 | protected: |
46 | TTreeSRedirector *fDebugStreamer; //! debug streamer | |
47 | Int_t fStreamLevel; // debug stream level | |
108953e9 | 48 | Int_t fRun; //! current Run number |
49 | Int_t fEvent; //! current Event number | |
50 | Int_t fTime; //! current Time | |
690b016b | 51 | ULong64_t fTrigger; //! current trigger mask |
108953e9 | 52 | Float_t fMagF; //! current magnetic field |
c51653e8 | 53 | Int_t fTriggerMaskReject; //trigger mask - non accept trigger |
54 | Int_t fTriggerMaskAccept; //trigger mask - accept | |
2d22fa36 | 55 | Bool_t fHasLaser; //flag the laser is overlayed with given event |
56 | Bool_t fRejectLaser; //flag- reject laser | |
ae28e92e | 57 | private: |
58 | Int_t fDebugLevel; // debug level | |
108953e9 | 59 | |
3ab35fc5 | 60 | ClassDef(AliTPCcalibBase,1) |
61 | }; | |
62 | ||
63 | #endif |