Corrected wrong selection of eta decays
[u/mrichter/AliRoot.git] / ESDCheck / AliTOFQATask.h
... / ...
CommitLineData
1#ifndef ALITOFQATASK_H
2#define ALITOFQATASK_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 TOF performance in simulated data
7//
8//*-- Silvia Arcelli
9//-Distributions to monitor the quality of the track matching, Time, PID
10//////////////////////////////////////////////////////////////////////////////
11
12#include <TTree.h>
13#include <TH1F.h>
14#include <TH2F.h>
15#include "AliAnalysisTask.h"
16
17class AliESD ;
18
19class AliTOFQATask : public AliAnalysisTask {
20
21public:
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
26 virtual void Exec(Option_t * opt = "") ;
27 virtual void ConnectInputData(Option_t *) ;
28 virtual void CreateOutputObjects() ;
29 virtual void Terminate(Option_t * opt = "") ;
30
31private:
32 Bool_t DrawHistos() ;
33 void GetEfficiency() ;
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 TH1F * fhTOFMatch ; //Fraction of Matched tracks (kTIME)
41 TH1F * fhESDeffPhi ; //Phi dst. of all ESD tracks (kTIME)
42 TH1F * fhESDeffTheta ; //Theta dst. of all ESD tracks (kTIME)
43 TH1F * fhESDeffMom ; //Mom. dst. of all ESD tracks (kTIME)
44 TH1F * fhTOFeffPhi ; //Phi dst.of ESD tracks matched with TOF
45 TH1F * fhTOFeffTheta ; //Theta dst.of ESD tracks matched with TOF
46 TH1F * fhTOFeffMom ; //Mom. dst.of ESD tracks matched with TOF
47 TH1F * fhTOFeffPhiMT ; //Phi dst.of ESD tracks, good match with TOF(MC)
48 TH1F * fhTOFeffThetaMT;//Theta dst.of ESD tracks, good match with TOF(MC)
49 TH1F * fhTOFeffMomMT ; //Mom.dst.of ESD tracks, good match with TOF(MC)
50 TH1F * fhTOFsector ; //sector distr.of matched TOF pads
51 TH1F * fhTOFsectorMT ; //sector distr.of TOF pads, good match (MC)
52 TH1F * fhTOFTime ; //Time Distribution of TOF Clusters matched to tracks
53 TH1F * fhTOFDeltaTime; //TOF-exp.Time (pion mass hypothesis)
54 TH1F * fhTOFDeltaTimeMT; //TOF-exp.Time (pion mass), good match(MC)
55 TH1F * fhTOFIDSpecies; //ID-Sample Composition
56 TH2F * fhTOFMassVsMom; //Mass vs Momentum correlation
57 TH1F * fhTOFMass; //reconstructed Mass from TOF
58
59 // Some QA parameters
60
61 Float_t fmatchFracMin; //Thresholds for QA checks (matched tracks)
62 Float_t fmatchEffMin; //Thresholds for QA checks (matched tracks)
63 Float_t ftimePeakMax; //Thresholds for QA checks (time spectrum)
64 Float_t fmassPeakMax; //Thresholds for QA checks (mass spectrum)
65 ClassDef(AliTOFQATask, 1); // TOF Quality Assurance analysis task
66};
67#endif // ALITOFQATASK_H