Adding possibility to use custom Gain map for dEdx calculation (Marian)
[u/mrichter/AliRoot.git] / TPC / AliTPCcalibCosmic.h
CommitLineData
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"
8class TH1F;
9class TH2F;
10class TList;
11class AliESDEvent;
12
13#include "TTreeStream.h"
14
15
16class AliTPCcalibCosmic:public AliTPCcalibBase {
17public:
18 AliTPCcalibCosmic();
19 AliTPCcalibCosmic(const Text_t *name, const Text_t *title);
20 virtual ~AliTPCcalibCosmic();
21
22 virtual void Process(AliESDEvent *event);
23 virtual Long64_t Merge(TCollection *li);
9b27d39b 24 void FindPairs(AliESDEvent *event);
25 Bool_t IsPair(AliExternalTrackParam *tr0, AliExternalTrackParam *tr1);
f7f33dec 26public:
27 static void BinLogX(TH1 * h); // method for correct histogram binning
28
29 TH1F *fHistNTracks;
30 TH1F *fClusters;
31 TH2F *fModules;
32 TH1F *fHistPt;
33 TH1F *fPtResolution;
34 TH2F *fDeDx;
9b27d39b 35 // cuts
36 //
37 Float_t fCutMaxD; // maximal distance in rfi ditection
38 Float_t fCutTheta; // maximal distance in theta ditection
39 Float_t fCutMinDir; // direction vector products
f7f33dec 40 AliTPCcalibCosmic(const AliTPCcalibCosmic&);
41 AliTPCcalibCosmic& operator=(const AliTPCcalibCosmic&);
42
43 ClassDef(AliTPCcalibCosmic, 1);
44};
45
46#endif
47