1 #ifndef PNDSTTRECOHITPRODUCER_H
2 #define PNDSTTRECOHITPRODUCER_H
9 #include "TClonesArray.h"
16 template <
class hit_T,
class recoHit_T>
31 template <
class hit_T,
class recoHit_T>
33 hitArrayTClones = theArr;
34 tubeArrayTClones = theTubeArr;
37 template <
class hit_T,
class recoHit_T>
42 template <
class hit_T,
class recoHit_T>
44 assert(hitArrayTClones!=NULL);
45 assert(tubeArrayTClones!=NULL);
46 if(hitArrayTClones->At(index) == 0) {
47 GFException e(
"In PndSttRecoHitProducer: index for hit in TClonesArray out of bounds",__LINE__,__FILE__);
52 return (
new recoHit_T( (hit_T*) hitArrayTClones->At(index), tubeArrayTClones ) );
virtual ~PndSttRecoHitProducer()
TClonesArray * tubeArrayTClones
Base Class for representing a Hit in GENFIT.
Abstract interface class for GFRecoHitProducer.
virtual GFAbsRecoHit * produce(int index)
Virtual abstract method to produce a RecoHit. Implemented in GFRecoHitProducer.
PndSttRecoHitProducer(TClonesArray *, TClonesArray *)
Exception class for error handling in GENFIT (provides storage for diagnostic information) ...
void setFatal(bool b=true)
set fatal flag. if this is true, the fit stops for this current track repr.
TClonesArray * hitArrayTClones