// PndScatTrack header // container for tracks in events with scatterings // two stations before the scatterer // and two after // Simone Bianco #ifndef PNDSCATTRACK_H #define PNDSCATTRACK_H #include #include #include #include #include "TObject.h" class PndScatTrack : public TObject { public: PndScatTrack(); PndScatTrack(Double_t SlopeX, Double_t SlopeY, Double_t Xpoint, Double_t Ypoint, Double_t Zpoint, Double_t Eloss1, Double_t Eloss2, Double_t Eloss3, Int_t pos); virtual ~PndScatTrack(); Double_t GetSlopeX(){return fSlopeX;}; Double_t GetSlopeY(){return fSlopeY;}; Double_t GetPointX(){return fXpoint;}; Double_t GetPointY(){return fYpoint;}; Double_t GetPointZ(){return fZpoint;}; Double_t GetEloss1(){return fEloss1;}; Double_t GetEloss2(){return fEloss2;}; Double_t GetEloss3(){return fEloss3;}; Int_t GetPos(){return fPos;}; private: Double_t fSlopeX; Double_t fSlopeY; Double_t fXpoint; // coordinates of the intersection with the carbon mid plane Double_t fYpoint; Double_t fZpoint; Double_t fEloss1; Double_t fEloss2; Double_t fEloss3; Int_t fPos; // 0"before" or 1"after" ClassDef(PndScatTrack,1); }; #endif