/** CbmStsMapsHit ** Class for MAPS detector hit **@author Michael Deveaux ** Acknowledgements to M. Al-Turany, D. Bertini, G. Gaycken ** Version beta 0.1 (02.02.2005) ** Slight modifications by V. Friese to match coding conventions ** ** Meaning of RefIndex: Index of corresponding MCPoint ** -1 if fake or background hit ** ** Meaning of Flag: 0 = Hit ok ** -1 : Hit lost due to detection inefficiency **/ #ifndef PndSttSkewedHit_H #define PndSttSkewedHit_H 1 #include "TVector3.h" #include "FairHit.h" #include "PndTrack.h" class PndSttSkewedHit : public FairHit { public: /** Default constructor **/ PndSttSkewedHit(); /** Standard constructor *@param detID Detector unique volume ID *@param tubeID1 Unique tube ID *@param mcindex Index of corresponding MCPoint **/ // THIS ONE! PndSttSkewedHit(Int_t detID, Int_t tubeID1, Int_t tubeID2, Int_t mcindex, TVector3& pos, TVector3& dpos); /** Destructor **/ virtual ~PndSttSkewedHit(); /** Output to screen (not yet implemented) **/ virtual void Print(const Option_t* opt = 0) const {std::cout<<" opt="<((int)tubeid1, (int)tubeid2); } std::pair GetTubeIDs() const { return fTubeIDs; } friend std::ostream& operator<< (std::ostream& out, PndSttSkewedHit& digi){ out << "PndSttSkewedHit in Tubes: " << digi.GetTubeIDs().first << "/" << digi.GetTubeIDs().second << std::endl; return out; } protected: /** tube id **/ std::pair fTubeIDs; // CHECK added ClassDef(PndSttSkewedHit,1); }; #endif