Bug fix. Removed delete statement
[u/mrichter/AliRoot.git] / ESDCheck / AliPHOSQATask.h
CommitLineData
1dfe075f 1#ifndef ALIPHOSQATASK_H
2#define ALIPHOSQATASK_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5//______________________________________________________________________________
6// An analysis task to check the PHOS photon data in simulated data
d40a7452 7// An analysis task to check the PHOS photon data in simulated data
8// An analysis task to check the PHOS photon data in simulated data
1dfe075f 9//
10//*-- Yves Schutz
11//////////////////////////////////////////////////////////////////////////////
12
1dfe075f 13#include "AliAnalysisTask.h"
14
15class AliESD ;
16class TNtuple ;
17class TH1D ;
d40a7452 18class TH1I ;
19class TTree ;
1dfe075f 20
21class AliPHOSQATask : public AliAnalysisTask {
22
23public:
24 AliPHOSQATask(const char *name) ;
d40a7452 25 AliPHOSQATask(const AliPHOSQATask& ap) ;
26 AliPHOSQATask& operator = (const AliPHOSQATask& ap) ;
27 virtual ~AliPHOSQATask() ;
1dfe075f 28
29 virtual void Exec(Option_t * opt = "") ;
c52c2132 30 virtual void ConnectInputData(Option_t *);
31 virtual void CreateOutputObjects();
1dfe075f 32 virtual void Terminate(Option_t * opt = "") ;
33
34private:
35 TTree * fChain ; //!pointer to the analyzed TTree or TChain
36 AliESD * fESD ; //! Declaration of leave types
37
38 TObjArray * fOutputContainer ; //! output data container
39
40 // Histograms
d40a7452 41 TNtuple * fhPHOSPos ; // x, y
42 TNtuple * fhPHOS ; // all parameters
43 TH1D * fhPHOSEnergy ; // energy
44 TH1I * fhPHOSDigits ; // sdigits
45 TH1D * fhPHOSRecParticles ; // recparticles
46 TH1I * fhPHOSPhotons ; // photons
47 TH1D * fhPHOSInvariantMass ; // invariant mass
48 TH1I * fhPHOSDigitsEvent ; // digits per event
1dfe075f 49
50 ClassDef(AliPHOSQATask, 0); // a PHOS photon analysis task
51};
52#endif // ALIPHOSQATASK_H