]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/qaAnalysis/AliTRDqaEnergyDeposit.h
The present commit corresponds to an important change in the way the
[u/mrichter/AliRoot.git] / TRD / qaAnalysis / AliTRDqaEnergyDeposit.h
CommitLineData
917559ee 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 */
5
6/* $Id: AliTRDqaEnergyDeposit.h $ */
7
8//
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.
12//
13// S. Radomski
14// radomski@physi.uni-heidelberg.de
15// March 2008
16//
17
18#include "AliAnalysisTask.h"
19
20class TTree;
21class AliESDEvent;
22class TH1D;
23class TH2D;
24class AliExternalTrackParam;
25
26class AliTRDqaEnergyDeposit : public AliAnalysisTask {
27
28public:
29 AliTRDqaEnergyDeposit();
30 AliTRDqaEnergyDeposit(const char *name);
31 AliTRDqaEnergyDeposit(AliTRDqaEnergyDeposit& trd);
32 AliTRDqaEnergyDeposit& operator = (const AliTRDqaEnergyDeposit& /*g*/) { return *this; };
33 virtual ~AliTRDqaEnergyDeposit() {}
34
35 virtual void Exec(Option_t * opt = "");
36 virtual void ConnectInputData(Option_t *);
37 virtual void CreateOutputObjects();
38 virtual void Terminate(Option_t * opt = "");
39
40protected:
41
42 TTree *fChain; //!pointer to the analyzed TTree or TChain
43 AliESDEvent *fESD; //! Declaration of leave types
44
45 TObjArray *fOutputContainer; //! output data container
46
47 // histogrms
48
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];
54
8e2f611a 55 TH2D *fSignalPtPure[2*5]; // dedx for a clean sample
56
57 void FillElectrons();
58 void FillPions() {}
59 void FillKaons() {}
60 void FillProtons() {}
61
62 ClassDef(AliTRDqaEnergyDeposit, 0); // a TRD analysis task
917559ee 63};
64#endif // ALITRDQAENERGYDEPOSIT_H