CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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
DDAxes::y
CTPPSTrkDetector::ppsX_
std::vector< double > ppsX_
Definition: CTPPSTrkDetector.h:16
CTPPSTrkDetector::ppsZ_
std::vector< double > ppsZ_
Definition: CTPPSTrkDetector.h:18
CTPPSTrkDetector::clear
void clear()
Definition: CTPPSTrkDetector.h:19
CTPPSTrkDetector::ppsDetectorWidth_
const double ppsDetectorWidth_
Definition: CTPPSTrkDetector.h:8
DDAxes::x
CTPPSTrkDetector::ppsDetectorPosition_
const double ppsDetectorPosition_
Definition: CTPPSTrkDetector.h:13
CTPPSTrkDetector::ppsDetectorHeight_
const double ppsDetectorHeight_
Definition: CTPPSTrkDetector.h:12
DDAxes::z
CTPPSTrkStation
std::pair< CTPPSTrkDetector, CTPPSTrkDetector > CTPPSTrkStation
Definition: CTPPSTrkDetector.h:29
CTPPSTrkDetector::ppsY_
std::vector< double > ppsY_
Definition: CTPPSTrkDetector.h:17
CTPPSTrkDetector
Definition: CTPPSTrkDetector.h:5
CTPPSTrkDetector::~CTPPSTrkDetector
virtual ~CTPPSTrkDetector()
Definition: CTPPSTrkDetector.h:8
CTPPSTrkDetector::CTPPSTrkDetector
CTPPSTrkDetector(double detw, double deth, double detin)
Definition: CTPPSTrkDetector.cc:3
CTPPSTrkDetector::AddHit
void AddHit(unsigned int detID, double x, double y, double z)
Definition: CTPPSTrkDetector.cc:7
CTPPSTrkDetector::ppsNHits_
int ppsNHits_
Definition: CTPPSTrkDetector.h:15
CTPPSTrkDetector::ppsDetId_
std::vector< unsigned int > ppsDetId_
Definition: CTPPSTrkDetector.h:14