]> git.uio.no Git - u/mrichter/AliRoot.git/blame - T0/AliT0Reconstructor.h
the same calibration for cosmic and pdc data
[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"
dc7ca31d 16
17class AliT0Reconstructor: public AliReconstructor {
e0bba6cc 18 public:
c41ceaac 19 AliT0Reconstructor();
dc7ca31d 20 virtual ~AliT0Reconstructor() {};
f16935f7 21 AliT0Reconstructor( const AliT0Reconstructor&r );
22 AliT0Reconstructor& operator=(const AliT0Reconstructor&r);
e0bba6cc 23
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;}
33
e0bba6cc 34 protected:
f16935f7 35 Float_t fdZonA; // Zideal - Zreal side A
36 Float_t fdZonC; // Zideal - Zreal side C
37 Float_t fZposition; // vertex position
38 Float_t fTime0vertex[24]; // time position if Zvertex=0
74adb36a 39 AliT0Parameters *fParam; //pointer to T0 parameters class
40 TObjArray fAmpLEDrec; // amp LED-CFD
c883fdf2 41 TObjArray fQTC; // QTC vs #MIPs
42 TObjArray fAmpLED; // LED-CFD vs #MIPs
2e6a5ee0 43 AliT0Calibrator *fCalib; //pointer to T0 Calibrator
dc7ca31d 44
c883fdf2 45 ClassDef(AliT0Reconstructor, 3) // class for the T0 reconstruction
dc7ca31d 46
47};
48
49typedef AliT0Reconstructor AliSTARTReconstructor; // for backward compatibility
50
51#endif