ROOT logo
#ifndef  HTOFHITF2_H
#define  HTOFHITF2_H

#include "hreconstructor.h"

class HCategory;
class HTofCalPar;
class HTofWalkPar;
class HTofDigiPar;
class HIterator;
class HTofGeomPar;
class HSpecGeomPar;
class HSpectrometer;
class HRuntimeDb;
class HTofHit;
class HTofRaw;

class HTofHitF2 : public HReconstructor {
protected:
  HCategory *fRawCat;        //!Raw data category
  HCategory *fRawCatTmp;     //!Raw tmp data category
  HCategory *fHitCat;        //!Pointer to the hits category
  HCategory *fHitCatTmp;     //!Pointer to the tmp hits category
  HCategory *fStartHitCat;   //! Category with start hits
  HTofCalPar *fCalPar;       //!Calibration parameters
  HTofCalPar *fCalParSim;    //!Calibration parameters of sim for embedding
  HTofDigiPar*fDigiPar;
  HLocation fLoc;            //!
  HIterator *iter;           //!
  HIterator *iterTmp;        //!
  HTofGeomPar *fTofGeometry; //!Container for TOF geometry
  HSpecGeomPar *fSpecGeometry;
  Bool_t fTofSimulation;
  HTofWalkPar* fTofWalkPar;

  static Bool_t  bforceKeepGeant;  //! overwrite embedding mode from 1 to 2 if true (default : false)
  void    fillGeometry(HTofHit *);
  void    fillHitCat  (Bool_t sim=kFALSE,Bool_t embed=kFALSE);
  void    mergeHitCats(Bool_t sim,Bool_t emb);
  Float_t tot2amp(Float_t tot);

public:
  HTofHitF2(void);
  HTofHitF2(const Text_t *name,const Text_t *title);
  ~HTofHitF2(void);
  static void setForceKeepGeant(Bool_t force) { bforceKeepGeant = force;}

  Bool_t init(void);
  void   initParContainer(HSpectrometer *,HRuntimeDb *);
  Bool_t finalize(void) {return kTRUE;}
  Int_t  execute(void);
  ClassDef(HTofHitF2,0) //Finds TOF hits
};

#endif /* !HTOFHITF2_H */






 htofhitf2.h:1
 htofhitf2.h:2
 htofhitf2.h:3
 htofhitf2.h:4
 htofhitf2.h:5
 htofhitf2.h:6
 htofhitf2.h:7
 htofhitf2.h:8
 htofhitf2.h:9
 htofhitf2.h:10
 htofhitf2.h:11
 htofhitf2.h:12
 htofhitf2.h:13
 htofhitf2.h:14
 htofhitf2.h:15
 htofhitf2.h:16
 htofhitf2.h:17
 htofhitf2.h:18
 htofhitf2.h:19
 htofhitf2.h:20
 htofhitf2.h:21
 htofhitf2.h:22
 htofhitf2.h:23
 htofhitf2.h:24
 htofhitf2.h:25
 htofhitf2.h:26
 htofhitf2.h:27
 htofhitf2.h:28
 htofhitf2.h:29
 htofhitf2.h:30
 htofhitf2.h:31
 htofhitf2.h:32
 htofhitf2.h:33
 htofhitf2.h:34
 htofhitf2.h:35
 htofhitf2.h:36
 htofhitf2.h:37
 htofhitf2.h:38
 htofhitf2.h:39
 htofhitf2.h:40
 htofhitf2.h:41
 htofhitf2.h:42
 htofhitf2.h:43
 htofhitf2.h:44
 htofhitf2.h:45
 htofhitf2.h:46
 htofhitf2.h:47
 htofhitf2.h:48
 htofhitf2.h:49
 htofhitf2.h:50
 htofhitf2.h:51
 htofhitf2.h:52
 htofhitf2.h:53
 htofhitf2.h:54
 htofhitf2.h:55
 htofhitf2.h:56
 htofhitf2.h:57
 htofhitf2.h:58
 htofhitf2.h:59
 htofhitf2.h:60
 htofhitf2.h:61