Reseting the MC label to a default value of -1 before evaluating them (Philippe P...
[u/mrichter/AliRoot.git] / PWG3 / muondep / AliAnalysisTaskMuonTrackingEff.h
CommitLineData
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"
13#include "AliMUONGeometryTransformer.h"
665701ae 14#include "AliAnalysisTaskMuonTrackingEff.h"
128a8042 15class AliESDEvent;
16class TClonesArray;
17class TH2F;
18
19class AliAnalysisTaskMuonTrackingEff : public AliAnalysisTask
20{
21 public:
22 AliAnalysisTaskMuonTrackingEff();
665701ae 23 AliAnalysisTaskMuonTrackingEff(const AliAnalysisTaskMuonTrackingEff& rhs);
24 AliAnalysisTaskMuonTrackingEff& operator=(const AliAnalysisTaskMuonTrackingEff&);
128a8042 25 AliAnalysisTaskMuonTrackingEff(const char* name,
26 const AliMUONGeometryTransformer* transformer);
27 virtual ~AliAnalysisTaskMuonTrackingEff();
28
29 // Implementation of interface methods
30 virtual void ConnectInputData(Option_t *option = "");
31 virtual void CreateOutputObjects();
32 virtual void Exec(Option_t *option);
33 virtual void Terminate(Option_t *option);
34
35 static const Int_t fTotNbrOfDetectionElt; ///< The total number of detection element in the tracking system.
36
37 private:
38 const AliMUONGeometryTransformer* fTransformer;
39 AliESDEvent * fESD; //!<ESD object
40
41 TClonesArray* fDetEltEffHistList; //!<Detetcion efficiencies histograms list.
42 TClonesArray* fDetEltTDHistList; //!<List of histograms of the tracks detected in the detection elements.
43 TClonesArray* fDetEltTTHistList; //!<List of histograms of the tracks which have passed through the detection elements.
44
45 ClassDef(AliAnalysisTaskMuonTrackingEff, 1)
46};
47
48#endif