Masking of not calibrated chambers
[u/mrichter/AliRoot.git] / T0 / AliT0Reconstructor.h
CommitLineData
dc7ca31d 1#ifndef ALIT0RECONSTRUCTOR_H
2#define ALIT0RECONSTRUCTOR_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
dc7ca31d 5
72e48d95 6/* $Id$ */
7/********************************************************************
8 * header class T0 reconstruction
9 * Alla Maevskaya INR RAS alla@inr.ru *
10 * Alla.Maevskaya@cern.ch
11 *******************************************************************/
f16935f7 12
dc7ca31d 13#include "AliReconstructor.h"
f16935f7 14#include "AliT0Parameters.h"
2e6a5ee0 15#include "AliT0Calibrator.h"
539b9cb9 16#include "AliT0RecoParam.h"
73df58ab 17#include "AliESDTZEROfriend.h"
b0e13b29 18#include "AliESDTZERO.h"
dc7ca31d 19
20class AliT0Reconstructor: public AliReconstructor {
e0bba6cc 21 public:
c41ceaac 22 AliT0Reconstructor();
dc7ca31d 23 virtual ~AliT0Reconstructor() {};
c41ceaac 24
d76c31f4 25 virtual void Reconstruct(TTree* fdigits, TTree * frecpoints) const;
c41ceaac 26 virtual void Reconstruct(AliRawReader*rawReader , TTree* recTree) const;
dc7ca31d 27
f16935f7 28 virtual void FillESD( AliRawReader*/*rawReader*/, TTree*clustersTree, AliESDEvent*esd ) const
d76c31f4 29 {FillESD((TTree*)NULL,clustersTree,esd);}
f16935f7 30 virtual void FillESD( TTree* digitsTree, TTree*clustersTree, AliESDEvent*esd ) const;
d76c31f4 31
f16935f7 32 virtual Bool_t HasDigitConversion() const {return kFALSE;}
539b9cb9 33 static const AliT0RecoParam* GetRecoParam()
34 { return dynamic_cast<const AliT0RecoParam*>(AliReconstructor::GetRecoParam(11)); } // getting RecoParam obj
ea1a8005 35
36 //!!!!!!!!!!!!!!!!!!!!!!!!!!
37 Bool_t PileupFlag() const;
38 Bool_t BackgroundFlag() const;
39 Bool_t SatelliteFlag() const;
40 //!!!!!!!!!!!!!!!!!!!!!!!
539b9cb9 41
e0bba6cc 42 protected:
f16935f7 43 Float_t fdZonA; // Zideal - Zreal side A
44 Float_t fdZonC; // Zideal - Zreal side C
45 Float_t fZposition; // vertex position
46 Float_t fTime0vertex[24]; // time position if Zvertex=0
74adb36a 47 AliT0Parameters *fParam; //pointer to T0 parameters class
48 TObjArray fAmpLEDrec; // amp LED-CFD
c883fdf2 49 TObjArray fQTC; // QTC vs #MIPs
50 TObjArray fAmpLED; // LED-CFD vs #MIPs
2e6a5ee0 51 AliT0Calibrator *fCalib; //pointer to T0 Calibrator
58bd3a16 52 Float_t fLatencyHPTDC; //latency HPTDC
53 Float_t fLatencyL1; // latency for (T0A+T0C)/2
54 Float_t fLatencyL1A; // latency for T0A
55 Float_t fLatencyL1C; //latency for T0C
85f61e3b 56 Float_t fGRPdelays; //latency for T0C
1437b50d 57 Float_t *fTimeMeanShift;
58 Float_t *fTimeSigmaShift;
59
73df58ab 60 AliESDTZEROfriend* fESDTZEROfriend; // ESD friend object
b0e13b29 61 AliESDTZERO* fESDTZERO; // ESD output object
62
3abc001d 63 private:
64 AliT0Reconstructor( const AliT0Reconstructor&r ); //Not implemented
65 AliT0Reconstructor& operator=(const AliT0Reconstructor&r); //Not implemented
66
b0e13b29 67 ClassDef(AliT0Reconstructor, 8) // class for the T0 reconstruction
dc7ca31d 68
69};
70
71typedef AliT0Reconstructor AliSTARTReconstructor; // for backward compatibility
72
73#endif