ROOT logo
#ifndef HSTART2HITF_H
#define HSTART2HITF_H

#include "hlocation.h"
#include "hreconstructor.h"
#include <vector>


using namespace std;

class HCategory;
class HStart2HitFPar;

class HStart2HitF : public HReconstructor {
private:
   Bool_t          fSkipEvent; //! Flag to suppress event w/o found start time. Default is kFALSE
   HCategory*      fCatCal;    //! pointer to the cal data
   HCategory*      fCatHit;    //! pointer to the hit data
   HLocation       loc;        //! location for new hit object
   HStart2HitFPar* fPar;       //! pointer to hit finder parameter container

   vector<Int_t> firstCluster;  //! all strips inside 0.5 ns arround best strip
   vector<Int_t> secondCluster; //! all other strip not in first cluster
   Float_t       fSecondTime;   //! closest second time


public:
   HStart2HitF(void);
   HStart2HitF(const Text_t* name, const Text_t* title, Bool_t skip = kFALSE);
   ~HStart2HitF(void) {}

   Bool_t init(void);
   Int_t  execute(void);
   Bool_t finalize(void);

   ClassDef(HStart2HitF, 0) // Hit finder for START2 detector
};

inline Bool_t HStart2HitF::finalize(void)
{
   return kTRUE;
}

#endif /* !HSTART2HITF_H */

 hstart2hitf.h:1
 hstart2hitf.h:2
 hstart2hitf.h:3
 hstart2hitf.h:4
 hstart2hitf.h:5
 hstart2hitf.h:6
 hstart2hitf.h:7
 hstart2hitf.h:8
 hstart2hitf.h:9
 hstart2hitf.h:10
 hstart2hitf.h:11
 hstart2hitf.h:12
 hstart2hitf.h:13
 hstart2hitf.h:14
 hstart2hitf.h:15
 hstart2hitf.h:16
 hstart2hitf.h:17
 hstart2hitf.h:18
 hstart2hitf.h:19
 hstart2hitf.h:20
 hstart2hitf.h:21
 hstart2hitf.h:22
 hstart2hitf.h:23
 hstart2hitf.h:24
 hstart2hitf.h:25
 hstart2hitf.h:26
 hstart2hitf.h:27
 hstart2hitf.h:28
 hstart2hitf.h:29
 hstart2hitf.h:30
 hstart2hitf.h:31
 hstart2hitf.h:32
 hstart2hitf.h:33
 hstart2hitf.h:34
 hstart2hitf.h:35
 hstart2hitf.h:36
 hstart2hitf.h:37
 hstart2hitf.h:38
 hstart2hitf.h:39
 hstart2hitf.h:40
 hstart2hitf.h:41
 hstart2hitf.h:42
 hstart2hitf.h:43
 hstart2hitf.h:44
 hstart2hitf.h:45