Pedestals in OCDB + minors
[u/mrichter/AliRoot.git] / ESDCheck / AliTOFQATask.h
CommitLineData
1137ac22 1#ifndef ALITOFQATASK_H
2#define ALITOFQATASK_H
1dfe075f 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5//______________________________________________________________________________
1137ac22 6// An analysis task to check the TOF performance in simulated data
7//
8//*-- Silvia Arcelli
9//-Distributions to monitor the quality of the track matching, Time, PID
1dfe075f 10//////////////////////////////////////////////////////////////////////////////
11
12#include <TTree.h>
1137ac22 13#include <TH1F.h>
14#include <TH2F.h>
1dfe075f 15#include "AliAnalysisTask.h"
16
17class AliESD ;
1dfe075f 18
1137ac22 19class AliTOFQATask : public AliAnalysisTask {
1dfe075f 20
21public:
1137ac22 22 AliTOFQATask(const char *name) ; //ctor
23 AliTOFQATask(const AliTOFQATask & qatask); // copy constructor
24 AliTOFQATask& operator=(const AliTOFQATask & qatask); // assignment operator
25 virtual ~AliTOFQATask(); //dtor
1dfe075f 26 virtual void Exec(Option_t * opt = "") ;
c52c2132 27 virtual void ConnectInputData(Option_t *);
28 virtual void CreateOutputObjects();
1dfe075f 29 virtual void Terminate(Option_t * opt = "") ;
30
31private:
1137ac22 32 void BookHistos() ;
33 void DrawHistos() ;
34 void GetEfficiency() ;
1dfe075f 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
1137ac22 41 TH1F * fhTOFMatch ; //Fraction of Matched tracks (kTIME)
42 TH1F * fhESDeffPhi ; //Phi dst. of all ESD tracks (kTIME)
43 TH1F * fhESDeffTheta ; //Theta dst. of all ESD tracks (kTIME)
44 TH1F * fhESDeffMom ; //Mom. dst. of all ESD tracks (kTIME)
45 TH1F * fhTOFeffPhi ; //Phi dst.of ESD tracks matched with TOF
46 TH1F * fhTOFeffTheta ; //Theta dst.of ESD tracks matched with TOF
47 TH1F * fhTOFeffMom ; //Mom. dst.of ESD tracks matched with TOF
48 TH1F * fhTOFeffPhiMT ; //Phi dst.of ESD tracks, good match with TOF(MC)
49 TH1F * fhTOFeffThetaMT;//Theta dst.of ESD tracks, good match with TOF(MC)
50 TH1F * fhTOFeffMomMT ; //Mom.dst.of ESD tracks, good match with TOF(MC)
51 TH1F * fhTOFsector ; //sector distr.of matched TOF pads
52 TH1F * fhTOFsectorMT ; //sector distr.of TOF pads, good match (MC)
53 TH1F * fhTOFTime ; //Time Distribution of TOF Clusters matched to tracks
54 TH1F * fhTOFDeltaTime; //TOF-exp.Time (pion mass hypothesis)
55 TH1F * fhTOFDeltaTimeMT; //TOF-exp.Time (pion mass), good match(MC)
56 TH1F * fhTOFIDSpecies; //ID-Sample Composition
57 TH2F * fhTOFMassVsMom; //Mass vs Momentum correlation
58 TH1F * fhTOFMass; //reconstructed Mass from TOF
1dfe075f 59
1137ac22 60 ClassDef(AliTOFQATask, 0); // TOF Quality Assurance analysis task
1dfe075f 61};
1137ac22 62#endif // ALITOFQATASK_H