///////////////////////////////////////////////////////////////////////////// // // fill FwDet branches of GEANT ROOT tree // // last modified on 23/11/2015 by I. Koenig ///////////////////////////////////////////////////////////////////////////// #ifndef FILLFWDET_H #define FILLFWDET_H #include class HCategory; struct Hit { Char_t module; Char_t layer; Int_t cell; Char_t subcell; Float_t x, y, z; Float_t px, py, pz; Float_t tof; Float_t trklen; Float_t eloss; Int_t track; Int_t index; }; void fillfwdet(void); Bool_t fillHit(HCategory* pKin, HCategory* pFwDetCat, const Hit & hit); #endif /*! FILLFWDET_H */