Example train to produce HF candidates
[u/mrichter/AliRoot.git] / ESDCheck / AliFMDQATask.h
CommitLineData
1dfe075f 1#ifndef ALIFMDQATASK_H
2#define ALIFMDQATASK_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 FMD data in simulated data
7//
8//*-- Hans Hjersing Dalsgaard
9//////////////////////////////////////////////////////////////////////////////
10
11#include <TTree.h>
12#include "AliAnalysisTask.h"
13
14class AliESD ;
15class TNtuple ;
16class TH1D ;
17
18class AliFMDQATask : public AliAnalysisTask {
19
20public:
21 AliFMDQATask(const char *name) ;
22 virtual ~AliFMDQATask() ;
23
24 virtual void Exec(Option_t * opt = "") ;
c52c2132 25 virtual void ConnectInputData(Option_t *);
26 virtual void CreateOutputObjects();
1dfe075f 27 virtual void Terminate(Option_t * opt = "") ;
28
29private:
30
31 void RingSelector(const UShort_t detector, const Char_t ring, const Float_t mult) const ;
32 Bool_t TestHisto(TH1D * hTest) const ;
33 void FitAll(TH1D* hTest, Float_t &chiSq, Int_t &ndf, Float_t &mpv, Float_t chiMax, Float_t chiLow ) const ;
34
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
41
42 TH1D * fhFMD1i ;//!
43 TH1D * fhFMD2i ;//!
44 TH1D * fhFMD2o ;//!
45 TH1D * fhFMD3i ;//!
46 TH1D * fhFMD3o ;//!
5effd3c6 47
48 AliFMDQATask(const AliFMDQATask&); // Not implemented
49 AliFMDQATask& operator=(const AliFMDQATask&); // Not implemented
1dfe075f 50
51 ClassDef(AliFMDQATask, 0); // a FMD photon analysis task
52};
53#endif // ALIFMDQATASK_H