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
std::vector< double > gx_
std::vector< double > ex_
void setChamberHits(char chamberch, const std::vector< double > &xvec, const std::vector< double > &yvec)
double hfTableX() const
Get the X position (mm) of the HF table (if present in this run)
std::vector< double > dx_
std::vector< double > by_
std::ostream & operator<<(std::ostream &s, const HcalTBEventPosition &htbep)
double hfTableY() const
Get the Y position (mm) of the HF table (if present in this run)
std::vector< double > hy_
void setHBHEtableCoords(double eta, double phi)
std::vector< double > fy_
std::vector< double > cx_
std::vector< double > hx_
double hbheTablePhi() const
Get the phi (not iphi) position of the HB/HE/HO table (if present in this run)
std::vector< double > ey_
double hfTableV() const
Get the V position of the HF table (if present in this run)
std::vector< double > dy_
std::vector< double > bx_
std::vector< double > ax_
void setHFtableCoords(double x, double y, double v)
std::vector< double > cy_
HcalTBEventPosition()
Null constructor.
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...
std::vector< double > gy_
std::vector< double > fx_
std::vector< double > ay_
double hbheTableEta() const
Get the eta (not ieta) position of the HB/HE/HO table (if present in this run)