Represents an energy-measuring region of our detector. More...
#include <DetectorElement.h>
Public Member Functions | |
DetectorElement (DetectorElementType type, double calib=1.0) | |
double | getCalib () const |
double | getCalib (double eta, double phi) const |
DetectorElementType | getType () const |
void | setCalib (double calib) noexcept(false) |
virtual | ~DetectorElement () |
Private Member Functions | |
DetectorElement (const DetectorElement &de)=delete | |
virtual double | getCalibCore () const |
virtual double | getCalibCore (double eta, double phi) const |
virtual void | setCalibCore (double calib) noexcept(false) |
Private Attributes | |
double | myCalib |
DetectorElementType | myType |
Friends | |
std::ostream & | operator<< (std::ostream &s, const DetectorElement &de) |
Represents an energy-measuring region of our detector.
The Calibrator class will make a calibration constant for each DetectorElement passed to it.
Definition at line 35 of file DetectorElement.h.
DetectorElement::DetectorElement | ( | DetectorElementType | type, |
double | calib = 1.0 |
||
) |
Definition at line 6 of file DetectorElement.cc.
Referenced by setCalib().
|
virtual |
|
privatedelete |
|
inline |
Definition at line 50 of file DetectorElement.h.
References getCalibCore().
Referenced by getCalibCore(), and pftools::operator<<().
|
inline |
Definition at line 58 of file DetectorElement.h.
References getCalibCore().
|
privatevirtual |
Definition at line 23 of file DetectorElement.cc.
References myCalib, myType, and pftools::OFFSET.
Referenced by getCalib(), and setCalib().
|
privatevirtual |
|
inline |
Definition at line 40 of file DetectorElement.h.
References myType, and ~DetectorElement().
Referenced by pftools::operator<<().
|
inlinenoexcept |
Definition at line 65 of file DetectorElement.h.
References DetectorElement(), PVValHelper::eta, getCalibCore(), noexcept, operator<<, alignCSCRings::s, and setCalibCore().
|
privatevirtualnoexcept |
Definition at line 11 of file DetectorElement.cc.
References calib, and myCalib.
Referenced by setCalib().
|
friend |
Referenced by setCalib().
|
private |
Definition at line 79 of file DetectorElement.h.
Referenced by getCalibCore(), and setCalibCore().
|
private |
Definition at line 78 of file DetectorElement.h.
Referenced by getCalibCore(), and getType().