]> git.uio.no Git - u/mrichter/AliRoot.git/blame - T0/AliT0QADataMakerRec.h
Analysis of calibration data, to be add as addition task to cpass1
[u/mrichter/AliRoot.git] / T0 / AliT0QADataMakerRec.h
CommitLineData
04236e67 1#ifndef AliT0QADataMakerRec_H
2#define AliT0QADataMakerRec_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7/* $Id$ */
8
9//
332b9234 10// Alla.Maevskaya@cern.ch
11//
04236e67 12
13
14// --- ROOT system ---
15
16
17
18// --- Standard library ---
19// --- AliRoot header files ---
20
21#include "AliQADataMakerRec.h"
332b9234 22#include "AliT0RecoParam.h"
04236e67 23
24class AliT0QADataMakerRec: public AliQADataMakerRec {
25
26public:
27 AliT0QADataMakerRec() ; // ctor
28 AliT0QADataMakerRec(const AliT0QADataMakerRec& qadm) ;
29 AliT0QADataMakerRec& operator = (const AliT0QADataMakerRec& qadm) ;
59f47540 30 virtual ~AliT0QADataMakerRec(); // dtor
04236e67 31
32private:
33 virtual void InitRaws() ; //book Digit QA histo
34 virtual void InitRecPoints(); //book cluster QA histo
44ed7a66 35 virtual void InitDigits() ;
04236e67 36 virtual void InitESDs() ; //book ESD QA histo
37 virtual void MakeRaws(AliRawReader* rawReader) ;
38 virtual void MakeRecPoints(TTree * clusters) ; //Fill cluster QA histo
6252ceeb 39 virtual void MakeDigits() {;}
44ed7a66 40 virtual void MakeDigits(TTree * digTree);
04236e67 41 virtual void MakeESDs(AliESDEvent * esd) ; //Fill hit QA histo
4e25ac79 42 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list) ;
04236e67 43 virtual void StartOfDetectorCycle() ;
345c3cf8 44 virtual void ResetDetector(AliQAv1::TASKINDEX_t task) ;
1d7681da 45
332b9234 46 const AliT0RecoParam* GetRecoParam() { return dynamic_cast<const AliT0RecoParam*>(fRecoParam);}
0353488e 47 void SetEfficiency(Int_t idxEffHisto,Int_t idxCounterHisto, Int_t trigger, Float_t totNumOfEvts);
92664bc8 48
49 // RS Commented by Ruben, read below:
50 /*
51 // RS: Don't use custom counters, they create problems with trigger cloning
52 // Use instead framework counters, incremented in the end of this routine
53 // RS: There is some inconsistency here: the separation of physics and calib. events/histos is done by
54 // fEventSpecie. Why do we book separate histos on different slots for calib and physics ?
55 // I am changing this in such way that we don't need local counters like fNumTriggers (the corresponding
56 // histos now incremented in the MakeRaws, and for the normalization I will use the framework's counters
57 // AliQADataMaker::GetEvCountCycle(...), AliQADataMaker::GetEvCountTotal(...)
58 //
59 // I think the histos xx+250 should be suppressed (the xx calib histos of specie==calibration will be
60 // used automatically)
61
62
1d7681da 63 Int_t fNumTriggers[6]; //number of trigger signals;
64 Int_t fNumTriggersCal[6]; //number of calibration trigger signals;
1d7681da 65
332b9234 66 Int_t fnEventCal;
67 Int_t fnEventPhys;
1a78aa31 68 Int_t feffC[24];
69 Int_t feffPhysC[24];
0d849919 70 Int_t feffA[24];
1a78aa31 71 Int_t feffPhysA[24];
394c1a6d 72 Int_t feffqtc[24];
1a78aa31 73 Int_t feffqtcPhys[24];
332b9234 74 Float_t fTrEffCal[6];
75 Float_t fTrEffPhys[6];
59f47540 76 TH1F* fhTimeDiff[24];
f542cc56 77*/
0353488e 78 Float_t fMeanCFDFromGoodRunParam[24]; //mean CFD for each PMT from a good run
79 Float_t fMeanRawVertexParam; //mean hRawVertex from a good run
80 Float_t fMeanORAParam; // mean ORA from a good run
81 Float_t fMeanORCParam; // mean ORC from a good run
82 Float_t fCFDEffSubRangeLowParam; // lower border of subrange for efficiency of CFD
83 Float_t fCFDEffSubRangeHighParam;// higher border of subrange for efficiency of CFD
84 Float_t fLEDEffSubRangeLowParam; // lower border of subrange for efficiency of LED
85 Float_t fLEDEffSubRangeHighParam;// higher border of subrange for efficiency of LED
86
1d7681da 87
92664bc8 88 ClassDef(AliT0QADataMakerRec,7) // description
04236e67 89
90};
91
92#endif // AliT0QADataMakerRec_H