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(); |
ae28e92e |
21 | AliTPCcalibBase(const AliTPCcalibBase&calib); |
22 | AliTPCcalibBase &operator=(const AliTPCcalibBase&calib); |
3ab35fc5 |
23 | virtual ~AliTPCcalibBase(); |
c32da879 |
24 | virtual void Process(AliESDEvent */*event*/){return;} |
06c1ea82 |
25 | virtual void Process(AliTPCseed */*track*/){return;} |
5822e507 |
26 | virtual void Process(AliESDtrack */*track*/, Int_t /*runNo=-1*/){return;} |
06c1ea82 |
27 | virtual Long64_t Merge(TCollection */*li*/){return 0;} |
3ab35fc5 |
28 | virtual void Analyze(){return;} |
7eaa723e |
29 | virtual void Terminate(); |
c51653e8 |
30 | virtual void UpdateEventInfo(AliESDEvent * event); |
31 | virtual Bool_t AcceptTrigger(); |
32 | virtual void SetTriggerMask(Int_t accept, Int_t reject){fTriggerMaskAccept=accept;fTriggerMaskReject=reject;} |
ae28e92e |
33 | // |
34 | // debug streamer support |
35 | TTreeSRedirector *GetDebugStreamer(); |
36 | void SetStreamLevel(Int_t streamLevel){fStreamLevel=streamLevel;} |
37 | void SetDebugLevel(Int_t level) {fDebugLevel = level;} |
38 | Int_t GetStreamLevel() const {return fStreamLevel;} |
39 | Int_t GetDebugLevel() const {return fDebugLevel;} |
f7f33dec |
40 | virtual void RegisterDebugOutput(const char *path); |
ae28e92e |
41 | protected: |
42 | TTreeSRedirector *fDebugStreamer; //! debug streamer |
43 | Int_t fStreamLevel; // debug stream level |
108953e9 |
44 | Int_t fRun; //! current Run number |
45 | Int_t fEvent; //! current Event number |
46 | Int_t fTime; //! current Time |
690b016b |
47 | ULong64_t fTrigger; //! current trigger mask |
108953e9 |
48 | Float_t fMagF; //! current magnetic field |
c51653e8 |
49 | Int_t fTriggerMaskReject; //trigger mask - non accept trigger |
50 | Int_t fTriggerMaskAccept; //trigger mask - accept |
ae28e92e |
51 | private: |
52 | Int_t fDebugLevel; // debug level |
108953e9 |
53 | |
3ab35fc5 |
54 | ClassDef(AliTPCcalibBase,1) |
55 | }; |
56 | |
57 | #endif |