// ------------------------------------------------------------------------- // ----- CbmTrdPoint header file ----- // ----- Created 27/07/04 by V. Friese ----- // ------------------------------------------------------------------------- /** CbmTrdPoint.h *@author V. Friese ** ** Interception of MC track with a TR detector. **/ #ifndef CBMTRDPOINT_H #define CBMTRDPOINT_H 1 #include "TObject.h" #include "TVector3.h" #include "CbmMCPoint.h" using namespace std; class CbmTrdPoint : public CbmMCPoint { public: /** Default constructor **/ CbmTrdPoint(); /** Constructor with arguments *@param trackID Index of MCTrack *@param detID Detector ID *@param pos Ccoordinates at entrance to active volume [cm] *@param mom Momentum of track at entrance [GeV] *@param tof Time since event start [ns] *@param length Track length since creation [cm] *@param eLoss Energy deposit [GeV] **/ CbmTrdPoint(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss); /** Copy constructor **/ CbmTrdPoint(const CbmTrdPoint& point) { *this = point; }; /** Destructor **/ virtual ~CbmTrdPoint(); /** Output to screen **/ virtual void Print(const Option_t* opt) const; void SetLayerNo(Int_t fL) {fLayer = fL; } void SetStationNo(Int_t fS) {fStation = fS; } void SetChamberNo(Int_t Ch) {fChamber = Ch; } void SetPositionNo(Int_t P) {fPosition = P; } Int_t GetStationNo() {return fStation; } Int_t GetLayerNo() {return fLayer; } Int_t GetChamberNo() {return fChamber; } Int_t GetPositionNo() {return fPosition; } ClassDef(CbmTrdPoint,1) private: Int_t fStation; // TRD station Number Int_t fLayer; // TRD layer Number Int_t fChamber; // Single TRD chamber Number Int_t fPosition; // "copy" nuber of TRD chamber - not a real copy number }; #endif