new shifter histogram implemented HeaderBCID vs TRM BC ID
[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"
dc7ca31d 18
19class AliT0Reconstructor: public AliReconstructor {
e0bba6cc 20 public:
c41ceaac 21 AliT0Reconstructor();
dc7ca31d 22 virtual ~AliT0Reconstructor() {};
c41ceaac 23
d76c31f4 24 virtual void Reconstruct(TTree* fdigits, TTree * frecpoints) const;
c41ceaac 25 virtual void Reconstruct(AliRawReader*rawReader , TTree* recTree) const;
dc7ca31d 26
f16935f7 27 virtual void FillESD( AliRawReader*/*rawReader*/, TTree*clustersTree, AliESDEvent*esd ) const
d76c31f4 28 {FillESD((TTree*)NULL,clustersTree,esd);}
f16935f7 29 virtual void FillESD( TTree* digitsTree, TTree*clustersTree, AliESDEvent*esd ) const;
d76c31f4 30
f16935f7 31 virtual Bool_t HasDigitConversion() const {return kFALSE;}
539b9cb9 32 static const AliT0RecoParam* GetRecoParam()
33 { return dynamic_cast<const AliT0RecoParam*>(AliReconstructor::GetRecoParam(11)); } // getting RecoParam obj
f16935f7 34
539b9cb9 35
e0bba6cc 36 protected:
f16935f7 37 Float_t fdZonA; // Zideal - Zreal side A
38 Float_t fdZonC; // Zideal - Zreal side C
39 Float_t fZposition; // vertex position
40 Float_t fTime0vertex[24]; // time position if Zvertex=0
74adb36a 41 AliT0Parameters *fParam; //pointer to T0 parameters class
42 TObjArray fAmpLEDrec; // amp LED-CFD
c883fdf2 43 TObjArray fQTC; // QTC vs #MIPs
44 TObjArray fAmpLED; // LED-CFD vs #MIPs
2e6a5ee0 45 AliT0Calibrator *fCalib; //pointer to T0 Calibrator
58bd3a16 46 Float_t fLatencyHPTDC; //latency HPTDC
47 Float_t fLatencyL1; // latency for (T0A+T0C)/2
48 Float_t fLatencyL1A; // latency for T0A
49 Float_t fLatencyL1C; //latency for T0C
85f61e3b 50 Float_t fGRPdelays; //latency for T0C
1437b50d 51 Float_t *fTimeMeanShift;
52 Float_t *fTimeSigmaShift;
53
73df58ab 54 AliESDTZEROfriend* fESDTZEROfriend; // ESD friend object
dc7ca31d 55
3abc001d 56 private:
57 AliT0Reconstructor( const AliT0Reconstructor&r ); //Not implemented
58 AliT0Reconstructor& operator=(const AliT0Reconstructor&r); //Not implemented
59
1437b50d 60 ClassDef(AliT0Reconstructor, 7) // class for the T0 reconstruction
dc7ca31d 61
62};
63
64typedef AliT0Reconstructor AliSTARTReconstructor; // for backward compatibility
65
66#endif