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() {
20  ppsDetId_.clear();
21  ppsNHits_ = 0;
22  ppsX_.clear();
23  ppsY_.clear();
24  ppsZ_.clear();
25  };
26  void AddHit(unsigned int detID, double x, double y, double z);
27 };
28 
29 typedef std::pair<CTPPSTrkDetector, CTPPSTrkDetector> CTPPSTrkStation;
30 
31 #endif
const double ppsDetectorPosition_
std::vector< double > ppsX_
std::vector< unsigned int > ppsDetId_
const double ppsDetectorHeight_
std::pair< CTPPSTrkDetector, CTPPSTrkDetector > CTPPSTrkStation
std::vector< double > ppsZ_
void AddHit(unsigned int detID, double x, double y, double z)
std::vector< double > ppsY_
virtual ~CTPPSTrkDetector()
const double ppsDetectorWidth_
CTPPSTrkDetector(double detw, double deth, double detin)