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 */
7 /// \class AliAnalysisTaskMuonTrackingEff
8 /// \brief tracking chamber efficiency from data
9 //Author: Nicolas LE BRIS - SUBATECH Nantes
12 #include "AliAnalysisTask.h"
13 #include "AliMUONGeometryTransformer.h"
18 class AliAnalysisTaskMuonTrackingEff : public AliAnalysisTask
21 AliAnalysisTaskMuonTrackingEff();
22 AliAnalysisTaskMuonTrackingEff(const char* name,
23 const AliMUONGeometryTransformer* transformer);
24 virtual ~AliAnalysisTaskMuonTrackingEff();
26 // Implementation of interface methods
27 virtual void ConnectInputData(Option_t *option = "");
28 virtual void CreateOutputObjects();
29 virtual void Exec(Option_t *option);
30 virtual void Terminate(Option_t *option);
32 static const Int_t fTotNbrOfDetectionElt; ///< The total number of detection element in the tracking system.
35 const AliMUONGeometryTransformer* fTransformer;
36 AliESDEvent * fESD; //!<ESD object
38 TClonesArray* fDetEltEffHistList; //!<Detetcion efficiencies histograms list.
39 TClonesArray* fDetEltTDHistList; //!<List of histograms of the tracks detected in the detection elements.
40 TClonesArray* fDetEltTTHistList; //!<List of histograms of the tracks which have passed through the detection elements.
42 ClassDef(AliAnalysisTaskMuonTrackingEff, 1)