//*-- Author: M. Jurkovic #ifndef HSTART2HIT_H #define HSTART2HIT_H #include "TObject.h" class HStart2Hit : public TObject { private: Int_t fModule; // module number Int_t fStrip; // strip number Int_t fMultiplicity; // Start det. Multip. Float_t fTime; // Start det. time Float_t fWidth; // Start det. ADC value Bool_t fFlag; // kTRUE if true start time has been found Int_t fCorrFlag; // flag of reconstruction method of HParticleStart2HitF // -1 : no corr, 0 : mod0, 1 : mod1. 2: both mods public: HStart2Hit(void) : fModule(-1), fStrip(-1), fMultiplicity(0), fTime(-1000000.), fWidth(-1000000.), fFlag(kFALSE), fCorrFlag(-1) {} ~HStart2Hit(void) {} void setFlag (const Bool_t f) { fFlag = f;} void setCorrFlag (const Int_t f) { fCorrFlag = f;} void setMultiplicity(const Int_t m) { fMultiplicity = m; } void setAddress (const Int_t m, const Int_t s) { fModule = m; fStrip = s; } void setTimeAndWidth(const Float_t t, const Float_t w) { fTime = t; fWidth = w; } Bool_t getFlag (void) const { return fFlag; } Int_t getCorrFlag (void) const { return fCorrFlag; } Int_t getModule (void) const { return fModule; } Int_t getStrip (void) const { return fStrip; } Int_t getMultiplicity(void) const { return fMultiplicity; } Float_t getTime (void) const { return fTime; } Float_t getWidth (void) const { return fWidth; } void getAddress (Int_t& m , Int_t& s ) { m = fModule; s = fStrip; } void getTimeAndWidth(Float_t& t, Float_t& w) { t = fTime; w = fWidth; } // void Streamer(TBuffer &R__b); ClassDef(HStart2Hit, 2) // START detector hit data }; #endif /* ! HSTART2HIT_H */