CMS 3D CMS Logo

HcalTBEventPosition.h
Go to the documentation of this file.
1 #ifndef HCALTBEVENTPOSITION_H
2 #define HCALTBEVENTPOSITION_H 1
3 
4 #include <string>
5 #include <iostream>
6 #include <vector>
7 
19 public:
22 
24  double hfTableX() const { return hfTableX_; }
26  double hfTableY() const { return hfTableY_; }
28  double hfTableV() const { return hfTableV_; }
30  double hbheTableEta() const { return hbheTableEta_; }
32  double hbheTablePhi() const { return hbheTablePhi_; }
33 
38  void getChamberHits(char chamberch, // 'A','B','C','D', or 'E'
39  std::vector<double>& xvec,
40  std::vector<double>& yvec) const;
41 
42  // Setter methods
43  void setHFtableCoords(double x, double y, double v);
44  void setHBHEtableCoords(double eta, double phi);
45  void setChamberHits(char chamberch, const std::vector<double>& xvec, const std::vector<double>& yvec);
46 
47 private:
50 
51  std::vector<double> ax_, ay_, bx_, by_, cx_, cy_, dx_, dy_, ex_, ey_, fx_, fy_, gx_, gy_, hx_, hy_;
52 };
53 
54 std::ostream& operator<<(std::ostream& s, const HcalTBEventPosition& htbep);
55 
56 #endif
HcalTBEventPosition::setHBHEtableCoords
void setHBHEtableCoords(double eta, double phi)
Definition: HcalTBEventPosition.cc:115
HcalTBEventPosition
Definition: HcalTBEventPosition.h:18
DDAxes::y
HcalTBEventPosition::gx_
std::vector< double > gx_
Definition: HcalTBEventPosition.h:51
operator<<
std::ostream & operator<<(std::ostream &s, const HcalTBEventPosition &htbep)
HcalTBEventPosition::HcalTBEventPosition
HcalTBEventPosition()
Null constructor.
Definition: HcalTBEventPosition.cc:6
HcalTBEventPosition::gy_
std::vector< double > gy_
Definition: HcalTBEventPosition.h:51
HcalTBEventPosition::hbheTableEta
double hbheTableEta() const
Get the eta (not ieta) position of the HB/HE/HO table (if present in this run)
Definition: HcalTBEventPosition.h:30
DDAxes::x
findQualityFiles.v
v
Definition: findQualityFiles.py:179
HcalTBEventPosition::hfTableX
double hfTableX() const
Get the X position (mm) of the HF table (if present in this run)
Definition: HcalTBEventPosition.h:24
HcalTBEventPosition::hfTableX_
double hfTableX_
Definition: HcalTBEventPosition.h:48
HcalTBEventPosition::hx_
std::vector< double > hx_
Definition: HcalTBEventPosition.h:51
alignCSCRings.s
s
Definition: alignCSCRings.py:92
HcalTBEventPosition::ex_
std::vector< double > ex_
Definition: HcalTBEventPosition.h:51
HcalTBEventPosition::dx_
std::vector< double > dx_
Definition: HcalTBEventPosition.h:51
HcalTBEventPosition::by_
std::vector< double > by_
Definition: HcalTBEventPosition.h:51
PVValHelper::eta
Definition: PVValidationHelpers.h:69
HcalTBEventPosition::ay_
std::vector< double > ay_
Definition: HcalTBEventPosition.h:51
HcalTBEventPosition::ey_
std::vector< double > ey_
Definition: HcalTBEventPosition.h:51
HcalTBEventPosition::hy_
std::vector< double > hy_
Definition: HcalTBEventPosition.h:51
HcalTBEventPosition::setChamberHits
void setChamberHits(char chamberch, const std::vector< double > &xvec, const std::vector< double > &yvec)
Definition: HcalTBEventPosition.cc:69
HcalTBEventPosition::getChamberHits
void getChamberHits(char chamberch, std::vector< double > &xvec, std::vector< double > &yvec) const
Get the wire chamber hits for the specified chamber For HB/HE/HO running, chambers A,...
Definition: HcalTBEventPosition.cc:29
HcalTBEventPosition::hfTableV
double hfTableV() const
Get the V position of the HF table (if present in this run)
Definition: HcalTBEventPosition.h:28
HcalTBEventPosition::cx_
std::vector< double > cx_
Definition: HcalTBEventPosition.h:51
HcalTBEventPosition::cy_
std::vector< double > cy_
Definition: HcalTBEventPosition.h:51
HcalTBEventPosition::hbheTablePhi_
double hbheTablePhi_
Definition: HcalTBEventPosition.h:49
HcalTBEventPosition::hbheTableEta_
double hbheTableEta_
Definition: HcalTBEventPosition.h:49
HcalTBEventPosition::fx_
std::vector< double > fx_
Definition: HcalTBEventPosition.h:51
DDAxes::phi
HcalTBEventPosition::ax_
std::vector< double > ax_
Definition: HcalTBEventPosition.h:51
HcalTBEventPosition::hbheTablePhi
double hbheTablePhi() const
Get the phi (not iphi) position of the HB/HE/HO table (if present in this run)
Definition: HcalTBEventPosition.h:32
HcalTBEventPosition::bx_
std::vector< double > bx_
Definition: HcalTBEventPosition.h:51
HcalTBEventPosition::setHFtableCoords
void setHFtableCoords(double x, double y, double v)
Definition: HcalTBEventPosition.cc:109
HcalTBEventPosition::hfTableY_
double hfTableY_
Definition: HcalTBEventPosition.h:48
HcalTBEventPosition::hfTableV_
double hfTableV_
Definition: HcalTBEventPosition.h:48
HcalTBEventPosition::fy_
std::vector< double > fy_
Definition: HcalTBEventPosition.h:51
HcalTBEventPosition::dy_
std::vector< double > dy_
Definition: HcalTBEventPosition.h:51
HcalTBEventPosition::hfTableY
double hfTableY() const
Get the Y position (mm) of the HF table (if present in this run)
Definition: HcalTBEventPosition.h:26