1 #ifndef ALITRDQAENERGYDEPOSIT_H
2 #define ALITRDQAENERGYDEPOSIT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 /* $Id: AliTRDqaEnergyDeposit.h $ */
9 // This class is a part of a package of high level QA monitoring for TRD.
10 // In this class the dEdX is analyzed as a function of the particle type,
11 // momentum and chamber.
14 // radomski@physi.uni-heidelberg.de
18 #include "AliAnalysisTask.h"
24 class AliExternalTrackParam;
26 class AliTRDqaEnergyDeposit : public AliAnalysisTask {
29 AliTRDqaEnergyDeposit();
30 AliTRDqaEnergyDeposit(const char *name);
31 AliTRDqaEnergyDeposit(AliTRDqaEnergyDeposit& trd);
32 AliTRDqaEnergyDeposit& operator = (const AliTRDqaEnergyDeposit& /*g*/) { return *this; };
33 virtual ~AliTRDqaEnergyDeposit() {}
35 virtual void Exec(Option_t * opt = "");
36 virtual void ConnectInputData(Option_t *);
37 virtual void CreateOutputObjects();
38 virtual void Terminate(Option_t * opt = "");
42 TTree *fChain; //!pointer to the analyzed TTree or TChain
43 AliESDEvent *fESD; //! Declaration of leave types
45 TObjArray *fOutputContainer; //! output data container
49 //TH2D *fSignalPt[2]; // pt-dedx distribution for pos and neg
50 TH2D *fSignalPtSum[2]; // pt-dedx distribution for pos and neg
51 TH2D *fSignalPtType[2*5]; // weight with the PID probability
52 TH1D *fProb[2*5]; // probabilities
53 //TH2D *fSignalPtChamber[2*540];
55 TH2D *fSignalPtPure[2*5]; // dedx for a clean sample
62 ClassDef(AliTRDqaEnergyDeposit, 0); // a TRD analysis task
64 #endif // ALITRDQAENERGYDEPOSIT_H