]> git.uio.no Git - u/mrichter/AliRoot.git/blame - T0/AliT0Reconstructor.h
new production request
[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"
dc7ca31d 17
18class AliT0Reconstructor: public AliReconstructor {
e0bba6cc 19 public:
c41ceaac 20 AliT0Reconstructor();
dc7ca31d 21 virtual ~AliT0Reconstructor() {};
f16935f7 22 AliT0Reconstructor( const AliT0Reconstructor&r );
23 AliT0Reconstructor& operator=(const AliT0Reconstructor&r);
e0bba6cc 24
c41ceaac 25
d76c31f4 26 virtual void Reconstruct(TTree* fdigits, TTree * frecpoints) const;
c41ceaac 27 virtual void Reconstruct(AliRawReader*rawReader , TTree* recTree) const;
dc7ca31d 28
f16935f7 29 virtual void FillESD( AliRawReader*/*rawReader*/, TTree*clustersTree, AliESDEvent*esd ) const
d76c31f4 30 {FillESD((TTree*)NULL,clustersTree,esd);}
f16935f7 31 virtual void FillESD( TTree* digitsTree, TTree*clustersTree, AliESDEvent*esd ) const;
d76c31f4 32
f16935f7 33 virtual Bool_t HasDigitConversion() const {return kFALSE;}
539b9cb9 34 static const AliT0RecoParam* GetRecoParam()
35 { return dynamic_cast<const AliT0RecoParam*>(AliReconstructor::GetRecoParam(11)); } // getting RecoParam obj
f16935f7 36
539b9cb9 37
e0bba6cc 38 protected:
f16935f7 39 Float_t fdZonA; // Zideal - Zreal side A
40 Float_t fdZonC; // Zideal - Zreal side C
41 Float_t fZposition; // vertex position
42 Float_t fTime0vertex[24]; // time position if Zvertex=0
74adb36a 43 AliT0Parameters *fParam; //pointer to T0 parameters class
44 TObjArray fAmpLEDrec; // amp LED-CFD
c883fdf2 45 TObjArray fQTC; // QTC vs #MIPs
46 TObjArray fAmpLED; // LED-CFD vs #MIPs
2e6a5ee0 47 AliT0Calibrator *fCalib; //pointer to T0 Calibrator
dc7ca31d 48
c883fdf2 49 ClassDef(AliT0Reconstructor, 3) // class for the T0 reconstruction
dc7ca31d 50
51};
52
53typedef AliT0Reconstructor AliSTARTReconstructor; // for backward compatibility
54
55#endif