CMS 3D CMS Logo

CTPPSTrkDetector.h
Go to the documentation of this file.
1 #ifndef CTPPSTrkDetector_h
2 #define CTPPSTrkDetector_h
3 #include <vector>
4 
6  public:
7  CTPPSTrkDetector(double detw, double deth, double detin);
8  virtual ~CTPPSTrkDetector() {};
9 
10  public:
11  const double ppsDetectorWidth_;
12  const double ppsDetectorHeight_;
13  const double ppsDetectorPosition_;
14  std::vector<unsigned int> ppsDetId_;
15  int ppsNHits_;
16  std::vector<double> ppsX_;
17  std::vector<double> ppsY_;
18  std::vector<double> ppsZ_;
19  void clear() {ppsDetId_.clear();ppsNHits_=0;ppsX_.clear();ppsY_.clear();ppsZ_.clear();};
20  void AddHit(unsigned int detID,double x, double y, double z);
21 };
22 
23 typedef std::pair<CTPPSTrkDetector,CTPPSTrkDetector> CTPPSTrkStation;
24 
25 #endif
const double ppsDetectorPosition_
std::vector< double > ppsX_
std::vector< unsigned int > ppsDetId_
const double ppsDetectorHeight_
std::vector< double > ppsZ_
void AddHit(unsigned int detID, double x, double y, double z)
std::vector< double > ppsY_
std::pair< CTPPSTrkDetector, CTPPSTrkDetector > CTPPSTrkStation
virtual ~CTPPSTrkDetector()
const double ppsDetectorWidth_
CTPPSTrkDetector(double detw, double deth, double detin)