CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 #include "boost/cstdint.hpp"
8 
20 public:
23 
25  double hfTableX() const { return hfTableX_; }
27  double hfTableY() const { return hfTableY_; }
29  double hfTableV() const { return hfTableV_; }
31  double hbheTableEta() const { return hbheTableEta_; }
33  double hbheTablePhi() const { return hbheTablePhi_; }
34 
39  void getChamberHits ( char chamberch, // 'A','B','C','D', or 'E'
40  std::vector<double>& xvec,
41  std::vector<double>& yvec ) const;
42 
43  // Setter methods
44  void setHFtableCoords ( double x,
45  double y,
46  double v );
47  void setHBHEtableCoords ( double eta,
48  double phi );
49  void setChamberHits ( char chamberch,
50  const std::vector<double>& xvec,
51  const std::vector<double>& yvec );
52 
53 private:
56 
57  std::vector<double> ax_,ay_,bx_,by_,cx_,cy_,dx_,dy_,ex_,ey_,fx_,fy_,gx_,gy_,hx_,hy_;
58 };
59 
60 std::ostream& operator<<(std::ostream& s, const HcalTBEventPosition& htbep);
61 
62 #endif
std::vector< double > gx_
std::vector< double > ex_
void setChamberHits(char chamberch, const std::vector< double > &xvec, const std::vector< double > &yvec)
std::vector< double > dx_
std::vector< double > by_
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:188
std::vector< double > hy_
double hfTableY() const
Get the Y position (mm) of the HF table (if present in this run)
void setHBHEtableCoords(double eta, double phi)
std::vector< double > fy_
std::vector< double > cx_
std::vector< double > hx_
double hfTableV() const
Get the V position of the HF table (if present in this run)
std::vector< double > ey_
std::vector< double > dy_
double hbheTableEta() const
Get the eta (not ieta) position of the HB/HE/HO table (if present in this run)
std::vector< double > bx_
std::vector< double > ax_
void setHFtableCoords(double x, double y, double v)
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 > cy_
HcalTBEventPosition()
Null constructor.
double hbheTablePhi() const
Get the phi (not iphi) position of the HB/HE/HO table (if present in this run)
std::vector< double > gy_
std::vector< double > fx_
std::vector< double > ay_
double hfTableX() const
Get the X position (mm) of the HF table (if present in this run)