]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFReconstructor.h
remove printouts (Sandro B.)
[u/mrichter/AliRoot.git] / TOF / AliTOFReconstructor.h
CommitLineData
121a60bd 1#ifndef ALITOFRECONSTRUCTOR_H
2#define ALITOFRECONSTRUCTOR_H
0e46b9ae 3
121a60bd 4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
0e46b9ae 9///////////////////////////////////////////////////////////////////////////////
10// //
11// class for TOF reconstruction //
12// //
13///////////////////////////////////////////////////////////////////////////////
14
121a60bd 15#include "AliReconstructor.h"
3a646035 16#include "AliTOFRecoParam.h"
6786addd 17#include "AliTOFClusterFinder.h"
18#include "AliTOFClusterFinderV1.h"
121a60bd 19
0e46b9ae 20class TTree;
21
af885e0f 22class AliESDEvent;
0e46b9ae 23class AliRawReader;
a98acac1 24class AliTOFcalib;
6786addd 25
f858b00e 26//class AliTOFT0maker;
121a60bd 27
121a60bd 28class AliTOFReconstructor: public AliReconstructor {
29public:
a98acac1 30 AliTOFReconstructor();
a98acac1 31 virtual ~AliTOFReconstructor();
121a60bd 32
d08a92dd 33 virtual void Reconstruct(AliRawReader* rawReader,
34 TTree* clusterTree) const;
a98acac1 35 virtual void Reconstruct(TTree* digitsTree, TTree* clusterTree) const;
d76c31f4 36
a98acac1 37 virtual void ConvertDigits(AliRawReader* reader, TTree* digitsTree) const;
d76c31f4 38
39 virtual AliTracker* CreateTracker() const;
40
35b6d6a6 41 virtual void FillESD(AliRawReader*, TTree*clustersTree, AliESDEvent* esd) const
d76c31f4 42 {FillESD((TTree*)NULL,clustersTree,esd);}
35b6d6a6 43 virtual void FillESD(TTree *, TTree *, AliESDEvent * /*esdEvent*/) const;
121a60bd 44
3a646035 45 static const AliTOFRecoParam* GetRecoParam() { return dynamic_cast<const AliTOFRecoParam*>(AliReconstructor::GetRecoParam(3)); } // getting RecoParam obj
46
f858b00e 47 virtual void FillEventTimeWithTOF(AliESDEvent *event, AliESDpid *esdPID);
48
121a60bd 49private:
3abc001d 50 AliTOFReconstructor(const AliTOFReconstructor &); //Not implemented
51 AliTOFReconstructor& operator=(const AliTOFReconstructor &); //Not implemented
52
e82e515c 53 AliTOFcalib *fTOFcalib; // pointer to TOF calib class
f858b00e 54 //AliTOFT0maker *fTOFT0maker; // pointer to TOF T0 maker class
121a60bd 55
6786addd 56 Int_t fNumberOfTofClusters; // Number of TOF Clusters
57 Int_t fNumberOfTofTrgPads; // Number of TOF trigger pads
58
59 AliTOFClusterFinder *fClusterFinder;
60 AliTOFClusterFinderV1 *fClusterFinderV1;
61
62 ClassDef(AliTOFReconstructor, 5) // class for the TOF reconstruction
121a60bd 63};
64
65#endif