]>
Commit | Line | Data |
---|---|---|
c74c5f6c | 1 | #ifndef ALITPCCALIBTIME_H |
2 | #define ALITPCCALIBTIME_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | #include "AliTPCcalibBase.h" | |
8 | #include "TH2F.h" | |
9 | #include "TF1.h" | |
10 | #include "TArrayD.h" | |
11 | #include "TObjArray.h" | |
12 | ||
13 | class TH1F; | |
14 | class TH3F; | |
15 | class TH2F; | |
16 | class THnSparse; | |
17 | class TList; | |
18 | class AliESDEvent; | |
19 | class AliESDtrack; | |
da6c0bc9 | 20 | class AliTPCcalibLaser; |
c74c5f6c | 21 | |
22 | #include "TTreeStream.h" | |
23 | ||
24 | ||
25 | class AliTPCcalibTime:public AliTPCcalibBase { | |
26 | public: | |
27 | AliTPCcalibTime(); | |
28 | AliTPCcalibTime(const Text_t *name, const Text_t *title, ULong64_t TriggerMask, UInt_t StartTime, UInt_t EndTime, Int_t deltaIntegrationTimeDeDx, Int_t deltaIntegrationTimeVdrift); | |
29 | virtual ~AliTPCcalibTime(); | |
30 | ||
31 | virtual void Process(AliESDEvent *event); | |
32 | virtual Long64_t Merge(TCollection *li); | |
33 | virtual void Analyze(); | |
34 | // | |
35 | void ProcessCosmic(AliESDEvent *event); | |
36 | Bool_t IsPair(AliExternalTrackParam *tr0, AliExternalTrackParam *tr1); | |
37 | // | |
38 | THnSparse * GetHistVdrift(){return (THnSparse*) fHistVdrift;}; | |
39 | THnSparse * GetHistDeDxVsTgl(){return (THnSparse*) fHistDeDxTgl;}; | |
40 | THnSparse * GetHistDeDx(){return (THnSparse*) fHistDeDx;}; | |
41 | ||
42 | ||
1aa15e8d | 43 | void Process(AliESDtrack *track, Int_t runNo=-1){AliTPCcalibBase::Process(track,runNo);}; |
44 | void Process(AliTPCseed *track){return AliTPCcalibBase::Process(track);} | |
c74c5f6c | 45 | private: |
da6c0bc9 | 46 | void ResetCurrent(); // reset current values |
c74c5f6c | 47 | ULong64_t fTriggerMask; // select certain trigger within one run |
48 | ||
49 | THnSparse * fHistDeDxTgl; // dEdx vs. dip angle vs time histogram | |
50 | THnSparse * fHistDeDx; // dEdx vs. time histogram (cosmics: all particles on Fermi plateau) | |
51 | THnSparse * fHistVdrift; // drift velocity vs time histogram | |
52 | ||
53 | Float_t fIntegrationTimeDeDx; // required statistics for each dEdx time bin | |
54 | Float_t fIntegrationTimeVdrift; // required statistics for each Vdrift time bin | |
55 | ||
da6c0bc9 | 56 | AliTPCcalibLaser * fLaser; //! laser calibration |
57 | // | |
58 | // current information | |
59 | // | |
60 | Float_t fDz; //! current delta z | |
61 | Float_t fdEdx; //! current dEdx | |
62 | Float_t fdEdxRatio; //! current dEdx ratio | |
63 | Float_t fTl; //! current tan(lambda) | |
64 | ||
c74c5f6c | 65 | // cuts |
66 | // | |
67 | Float_t fCutMaxD; // maximal distance in rfi ditection | |
da6c0bc9 | 68 | Float_t fCutMaxDz; // maximal distance in z ditection |
c74c5f6c | 69 | Float_t fCutTheta; // maximal distance in theta ditection |
70 | Float_t fCutMinDir; // direction vector products | |
71 | ||
72 | AliTPCcalibTime(const AliTPCcalibTime&); | |
73 | AliTPCcalibTime& operator=(const AliTPCcalibTime&); | |
74 | ||
75 | ClassDef(AliTPCcalibTime, 1); | |
76 | }; | |
77 | ||
78 | #endif | |
79 | ||
80 |