//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // a cluster in the tpc // // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Napoleon Bonapart TUM (original author) // // //----------------------------------------------------------- #ifndef TBSTRIPHIT_HH #define TBSTRIPHIT_HH // Base Class Headers ---------------- #include "FairHit.h" // Collaborating Class Headers ------- #include // remove if you do not need streaming op #include #include // Collaborating Class Declarations -- class TBStripHit : public FairHit { public: // Constructors/Destructors --------- TBStripHit(); TBStripHit(const TBStripHit&); TBStripHit(double Strip, double Amp, int Det, unsigned int Size=1, double StripErr=0., TString Detname=""); virtual ~TBStripHit(); friend std::ostream& operator<< (std::ostream& s, const TBStripHit& me); // Accessors ----------------------- double amp() const {return famp;} unsigned int size() const {return fsize;} double strip() const {return fstrip;} double striperr() const {return fstriperr;} unsigned int detid() const {return fdetid;} TString detname() const {return fdetName;} // Modifiers ----------------------- void SetSize(unsigned int newSize){fsize=newSize;} void SetStriperr(double sterr){fstriperr=sterr;} void SetDetname(TString newDetName){fdetName=newDetName;} private: // Private Data Members ------------ double fstrip;//result of the clusterisation of gemMonitor double fstriperr; double famp; int fdetid; TString fdetName; unsigned int fsize; // Private Methods ----------------- public: ClassDef(TBStripHit,1) }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------