f7f33dec |
1 | #ifndef ALITPCCALIBCOSMIC_H |
2 | #define ALITPCCALIBCOSMIC_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" |
d6920632 |
8 | #include "AliTPCCalPad.h" |
f7f33dec |
9 | class TH1F; |
10 | class TH2F; |
11 | class TList; |
12 | class AliESDEvent; |
13 | |
14 | #include "TTreeStream.h" |
15 | |
16 | |
17 | class AliTPCcalibCosmic:public AliTPCcalibBase { |
18 | public: |
19 | AliTPCcalibCosmic(); |
20 | AliTPCcalibCosmic(const Text_t *name, const Text_t *title); |
21 | virtual ~AliTPCcalibCosmic(); |
22 | |
23 | virtual void Process(AliESDEvent *event); |
24 | virtual Long64_t Merge(TCollection *li); |
9b27d39b |
25 | void FindPairs(AliESDEvent *event); |
26 | Bool_t IsPair(AliExternalTrackParam *tr0, AliExternalTrackParam *tr1); |
d6920632 |
27 | void SetGainMap(AliTPCCalPad *GainMap){fGainMap = GainMap;}; |
f7f33dec |
28 | public: |
29 | static void BinLogX(TH1 * h); // method for correct histogram binning |
d6920632 |
30 | AliTPCCalPad *fGainMap; //! gain map from Krypton calibration |
f7f33dec |
31 | TH1F *fHistNTracks; |
32 | TH1F *fClusters; |
33 | TH2F *fModules; |
34 | TH1F *fHistPt; |
35 | TH1F *fPtResolution; |
36 | TH2F *fDeDx; |
9b27d39b |
37 | // cuts |
38 | // |
39 | Float_t fCutMaxD; // maximal distance in rfi ditection |
40 | Float_t fCutTheta; // maximal distance in theta ditection |
41 | Float_t fCutMinDir; // direction vector products |
28ff5312 |
42 | private: |
f7f33dec |
43 | AliTPCcalibCosmic(const AliTPCcalibCosmic&); |
44 | AliTPCcalibCosmic& operator=(const AliTPCcalibCosmic&); |
45 | |
46 | ClassDef(AliTPCcalibCosmic, 1); |
47 | }; |
48 | |
49 | #endif |
50 | |