32 vector<double>& yvec )
const {
34 case 'A': xvec =
ax_; yvec =
ay_;
break;
35 case 'B': xvec =
bx_; yvec =
by_;
break;
36 case 'C': xvec =
cx_; yvec =
cy_;
break;
37 case 'D': xvec =
dx_; yvec =
dy_;
break;
38 case 'E': xvec =
ex_; yvec =
ey_;
break;
39 case 'F': xvec =
fx_; yvec =
fy_;
break;
40 case 'G': xvec =
gx_; yvec =
gy_;
break;
41 case 'H': xvec =
hx_; yvec =
hy_;
break;
43 cerr <<
"Unrecognized chamber character " << chamberch << endl;
49 const vector<double>& xvec,
50 const vector<double>& yvec ) {
52 case 'A':
ax_ = xvec;
ay_ = yvec;
break;
53 case 'B':
bx_ = xvec;
by_ = yvec;
break;
54 case 'C':
cx_ = xvec;
cy_ = yvec;
break;
55 case 'D':
dx_ = xvec;
dy_ = yvec;
break;
56 case 'E':
ex_ = xvec;
ey_ = yvec;
break;
57 case 'F':
fx_ = xvec;
fy_ = yvec;
break;
58 case 'G':
gx_ = xvec;
gy_ = yvec;
break;
59 case 'H':
hx_ = xvec;
hy_ = yvec;
break;
61 cerr <<
"Unrecognized chamber character " << chamberch << endl;
78 s <<
"HF Table (X,Y,V) = (" << htbep.
hfTableX() <<
"," << htbep.
hfTableY() <<
"," << htbep.
hfTableV() <<
")" << std::endl;
81 vector<double> xvec, yvec;
82 vector<double>::const_iterator
j;
87 for (j=xvec.begin(); j!=xvec.end(); j++) {
88 if (j!=xvec.begin()) s <<
", ";
94 for (j=yvec.begin(); j!=yvec.end(); j++) {
95 if (j!=yvec.begin()) s <<
", ";
103 for (j=xvec.begin(); j!=xvec.end(); j++) {
104 if (j!=xvec.begin()) s <<
", ";
110 for (j=yvec.begin(); j!=yvec.end(); j++) {
111 if (j!=yvec.begin()) s <<
", ";
119 for (j=xvec.begin(); j!=xvec.end(); j++) {
120 if (j!=xvec.begin()) s <<
", ";
126 for (j=yvec.begin(); j!=yvec.end(); j++) {
127 if (j!=yvec.begin()) s <<
", ";
135 for (j=xvec.begin(); j!=xvec.end(); j++) {
136 if (j!=xvec.begin()) s <<
", ";
142 for (j=yvec.begin(); j!=yvec.end(); j++) {
143 if (j!=yvec.begin()) s <<
", ";
151 for (j=xvec.begin(); j!=xvec.end(); j++) {
152 if (j!=xvec.begin()) s <<
", ";
158 for (j=yvec.begin(); j!=yvec.end(); j++) {
159 if (j!=yvec.begin()) s <<
", ";
167 for (j=xvec.begin(); j!=xvec.end(); j++) {
168 if (j!=xvec.begin()) s <<
", ";
174 for (j=yvec.begin(); j!=yvec.end(); j++) {
175 if (j!=yvec.begin()) s <<
", ";
183 for (j=xvec.begin(); j!=xvec.end(); j++) {
184 if (j!=xvec.begin()) s <<
", ";
190 for (j=yvec.begin(); j!=yvec.end(); j++) {
191 if (j!=yvec.begin()) s <<
", ";
199 for (j=xvec.begin(); j!=xvec.end(); j++) {
200 if (j!=xvec.begin()) s <<
", ";
206 for (j=yvec.begin(); j!=yvec.end(); j++) {
207 if (j!=yvec.begin()) s <<
", ";
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)
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)
T x() const
Cartesian x coordinate.
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_
Geom::Phi< T > phi() const
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)