QA library for detector checks from ESD
[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 = "") ;
25 virtual void Init(Option_t * opt = "") ;
26 virtual void Terminate(Option_t * opt = "") ;
27
28private:
29
30 void RingSelector(const UShort_t detector, const Char_t ring, const Float_t mult) const ;
31 Bool_t TestHisto(TH1D * hTest) const ;
32 void FitAll(TH1D* hTest, Float_t &chiSq, Int_t &ndf, Float_t &mpv, Float_t chiMax, Float_t chiLow ) const ;
33
34 TTree * fChain ; //!pointer to the analyzed TTree or TChain
35 AliESD * fESD ; //! Declaration of leave types
36
37 TObjArray * fOutputContainer ; //! output data container
38
39 // Histograms
40
41 TH1D * fhFMD1i ;//!
42 TH1D * fhFMD2i ;//!
43 TH1D * fhFMD2o ;//!
44 TH1D * fhFMD3i ;//!
45 TH1D * fhFMD3o ;//!
46
47 ClassDef(AliFMDQATask, 0); // a FMD photon analysis task
48};
49#endif // ALIFMDQATASK_H