#include <HcalTBEventPosition.h>
Public Member Functions | |
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, B, and C were active while all five (A, B, C, D, and E) were active for HF running. More... | |
double | hbheTableEta () const |
Get the eta (not ieta) position of the HB/HE/HO table (if present in this run) More... | |
double | hbheTablePhi () const |
Get the phi (not iphi) position of the HB/HE/HO table (if present in this run) More... | |
HcalTBEventPosition () | |
Null constructor. More... | |
double | hfTableV () const |
Get the V position of the HF table (if present in this run) More... | |
double | hfTableX () const |
Get the X position (mm) of the HF table (if present in this run) More... | |
double | hfTableY () const |
Get the Y position (mm) of the HF table (if present in this run) More... | |
void | setChamberHits (char chamberch, const std::vector< double > &xvec, const std::vector< double > &yvec) |
void | setHBHEtableCoords (double eta, double phi) |
void | setHFtableCoords (double x, double y, double v) |
Private Attributes | |
std::vector< double > | ax_ |
std::vector< double > | ay_ |
std::vector< double > | bx_ |
std::vector< double > | by_ |
std::vector< double > | cx_ |
std::vector< double > | cy_ |
std::vector< double > | dx_ |
std::vector< double > | dy_ |
std::vector< double > | ex_ |
std::vector< double > | ey_ |
std::vector< double > | fx_ |
std::vector< double > | fy_ |
std::vector< double > | gx_ |
std::vector< double > | gy_ |
double | hbheTableEta_ |
double | hbheTablePhi_ |
double | hfTableV_ |
double | hfTableX_ |
double | hfTableY_ |
std::vector< double > | hx_ |
std::vector< double > | hy_ |
This class contains event position information, including the table position as well as hits from the delay wire chambers.
Definition at line 19 of file HcalTBEventPosition.h.
HcalTBEventPosition::HcalTBEventPosition | ( | ) |
void HcalTBEventPosition::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, B, and C were active while all five (A, B, C, D, and E) were active for HF running.
Definition at line 30 of file HcalTBEventPosition.cc.
References ax_, ay_, bx_, by_, dtNoiseDBValidation_cfg::cerr, cx_, cy_, dx_, dy_, ex_, ey_, fx_, fy_, gx_, gy_, hx_, and hy_.
Referenced by ZdcTBAnalysis::analyze(), and operator<<().
|
inline |
Get the eta (not ieta) position of the HB/HE/HO table (if present in this run)
Definition at line 31 of file HcalTBEventPosition.h.
References hbheTableEta_.
Referenced by operator<<().
|
inline |
Get the phi (not iphi) position of the HB/HE/HO table (if present in this run)
Definition at line 33 of file HcalTBEventPosition.h.
References hbheTablePhi_.
Referenced by operator<<().
|
inline |
Get the V position of the HF table (if present in this run)
Definition at line 29 of file HcalTBEventPosition.h.
References hfTableV_.
Referenced by operator<<().
|
inline |
Get the X position (mm) of the HF table (if present in this run)
Definition at line 25 of file HcalTBEventPosition.h.
References hfTableX_.
Referenced by operator<<().
|
inline |
Get the Y position (mm) of the HF table (if present in this run)
Definition at line 27 of file HcalTBEventPosition.h.
References hfTableY_.
Referenced by operator<<().
void HcalTBEventPosition::setChamberHits | ( | char | chamberch, |
const std::vector< double > & | xvec, | ||
const std::vector< double > & | yvec | ||
) |
void HcalTBEventPosition::setHBHEtableCoords | ( | double | eta, |
double | phi | ||
) |
Definition at line 72 of file HcalTBEventPosition.cc.
References eta(), hbheTableEta_, hbheTablePhi_, and phi.
Referenced by hcaltb::HcalTBSlowDataUnpacker::unpack().
void HcalTBEventPosition::setHFtableCoords | ( | double | x, |
double | y, | ||
double | v | ||
) |
Definition at line 66 of file HcalTBEventPosition.cc.
References hfTableV_, hfTableX_, hfTableY_, v, x, and detailsBasic3DVector::y.
Referenced by hcaltb::HcalTBSlowDataUnpacker::unpack().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().
|
private |
Definition at line 55 of file HcalTBEventPosition.h.
Referenced by hbheTableEta(), and setHBHEtableCoords().
|
private |
Definition at line 55 of file HcalTBEventPosition.h.
Referenced by hbheTablePhi(), and setHBHEtableCoords().
|
private |
Definition at line 54 of file HcalTBEventPosition.h.
Referenced by hfTableV(), and setHFtableCoords().
|
private |
Definition at line 54 of file HcalTBEventPosition.h.
Referenced by hfTableX(), and setHFtableCoords().
|
private |
Definition at line 54 of file HcalTBEventPosition.h.
Referenced by hfTableY(), and setHFtableCoords().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().
|
private |
Definition at line 57 of file HcalTBEventPosition.h.
Referenced by getChamberHits(), and setChamberHits().