]>
Commit | Line | Data |
---|---|---|
128a8042 | 1 | #ifndef ALIANALYSISTASKMUONTRACKINGEFF_H |
2 | #define ALIANALYSISTASKMUONTRACKINGEFF_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /// \ingroup base | |
7 | /// \class AliAnalysisTaskMuonTrackingEff | |
8 | /// \brief tracking chamber efficiency from data | |
9 | //Author: Nicolas LE BRIS - SUBATECH Nantes | |
10 | ||
11 | ||
12 | #include "AliAnalysisTask.h" | |
6db6876c | 13 | |
6db6876c | 14 | |
27f15548 | 15 | class AliCheckMuonDetEltResponse; |
16 | class AliMUONGeometryTransformer; | |
128a8042 | 17 | class AliESDEvent; |
18 | class TClonesArray; | |
19 | class TH2F; | |
20 | ||
21 | class AliAnalysisTaskMuonTrackingEff : public AliAnalysisTask | |
22 | { | |
23 | public: | |
24 | AliAnalysisTaskMuonTrackingEff(); | |
665701ae | 25 | AliAnalysisTaskMuonTrackingEff(const AliAnalysisTaskMuonTrackingEff& rhs); |
26 | AliAnalysisTaskMuonTrackingEff& operator=(const AliAnalysisTaskMuonTrackingEff&); | |
128a8042 | 27 | AliAnalysisTaskMuonTrackingEff(const char* name, |
0246246b | 28 | Bool_t isCosmic = kFALSE); |
128a8042 | 29 | virtual ~AliAnalysisTaskMuonTrackingEff(); |
30 | ||
31 | // Implementation of interface methods | |
32 | virtual void ConnectInputData(Option_t *option = ""); | |
33 | virtual void CreateOutputObjects(); | |
34 | virtual void Exec(Option_t *option); | |
35 | virtual void Terminate(Option_t *option); | |
36 | ||
27f15548 | 37 | static const Int_t fgkTotNbrOfDetectionElt; ///< The total number of detection element in the tracking system. |
38 | static const Int_t fgkTotNbrOfChamber; | |
0246246b | 39 | |
fc7a3fd3 | 40 | void ComputeErrors(); ///< Compute the error on the efficiency (see .cxx for the formula) |
0246246b | 41 | |
42 | void SetCosmic(Bool_t isCosmic) {fIsCosmicData = isCosmic;}; | |
27f15548 | 43 | Bool_t IsCosmic() const {return fIsCosmicData;}; |
128a8042 | 44 | |
45 | private: | |
fc7a3fd3 | 46 | AliESDEvent * fESD; //!<ESD object |
47 | AliMUONGeometryTransformer *fTransformer; //!<Transformer object | |
128a8042 | 48 | |
49 | TClonesArray* fDetEltEffHistList; //!<Detetcion efficiencies histograms list. | |
50 | TClonesArray* fDetEltTDHistList; //!<List of histograms of the tracks detected in the detection elements. | |
51 | TClonesArray* fDetEltTTHistList; //!<List of histograms of the tracks which have passed through the detection elements. | |
0246246b | 52 | TClonesArray* fChamberEffHistList; |
53 | TClonesArray* fChamberTDHistList; | |
54 | TClonesArray* fChamberTTHistList; | |
55 | ||
6db6876c | 56 | AliCheckMuonDetEltResponse* fChamberEff; |
57 | ||
0246246b | 58 | Bool_t fIsCosmicData; |
128a8042 | 59 | |
27f15548 | 60 | ClassDef(AliAnalysisTaskMuonTrackingEff, 0) |
128a8042 | 61 | }; |
62 | ||
63 | #endif |