#include <FastTimeDDDConstants.h>
Public Member Functions | |
FastTimeDDDConstants (const FastTimeParameters *ftp) | |
int | getCells (int type) const |
std::vector< GlobalPoint > | getCorners (int type, int izeta, int iphi, int zside) const |
std::pair< int, int > | getEtaPhi (double r, double phi) const |
GlobalPoint | getPosition (int type, int izeta, int iphi, int zside) const |
double | getRin (int type) const |
double | getRout (int type) const |
double | getZHalf (int type) const |
std::pair< int, int > | getZPhi (double z, double phi) const |
double | getZPos (int type) const |
bool | isValidXY (int type, int izeta, int iphi) const |
int | numberEtaZ (int type) const |
int | numberPhi (int type) const |
~FastTimeDDDConstants () | |
Private Member Functions | |
void | initialize () |
Private Attributes | |
double | dEta_ |
double | dPhiBarrel_ |
double | dPhiEndcap_ |
double | dZBarrel_ |
double | etaMax_ |
double | etaMin_ |
const FastTimeParameters * | ftpar_ |
std::vector< double > | rLimits_ |
this class reads the constant section of the numbering xml-file for fast timer device
Definition at line 19 of file FastTimeDDDConstants.h.
FastTimeDDDConstants::FastTimeDDDConstants | ( | const FastTimeParameters * | ftp | ) |
FastTimeDDDConstants::~FastTimeDDDConstants | ( | ) |
Definition at line 18 of file FastTimeDDDConstants.cc.
int FastTimeDDDConstants::getCells | ( | int | type | ) | const |
Definition at line 114 of file FastTimeDDDConstants.cc.
References ftpar_, FastTimeParameters::nEtaEndcap_, FastTimeParameters::nPhiBarrel_, FastTimeParameters::nPhiEndcap_, and FastTimeParameters::nZBarrel_.
Referenced by initialize().
std::vector< GlobalPoint > FastTimeDDDConstants::getCorners | ( | int | type, |
int | izeta, | ||
int | iphi, | ||
int | zside | ||
) | const |
Definition at line 80 of file FastTimeDDDConstants.cc.
References funct::cos(), dPhiBarrel_, dPhiEndcap_, PVValHelper::dx, PVValHelper::dz, dZBarrel_, ftpar_, FastTimeParameters::geomParBarrel_, FastTimeParameters::geomParEndcap_, mps_fire::i, createfilelist::int, LEDCalibrationChannels::iphi, AlCaHLTBitMon_ParallelJobs::p, phi, RPCpg::pts, alignCSCRings::r, rLimits_, funct::sin(), x, y, z, and ecaldqm::zside().
Referenced by FastTimeGeometryLoader::buildGeom(), and FastTimeGeometry::getCorners().
std::pair< int, int > FastTimeDDDConstants::getEtaPhi | ( | double | r, |
double | phi | ||
) | const |
Definition at line 40 of file FastTimeDDDConstants.cc.
References angle_units::operators::convertRadToDeg(), dPhiEndcap_, ftpar_, createfilelist::int, LEDCalibrationChannels::iphi, dqmdumpme::k, FastTimeParameters::nEtaEndcap_, FastTimeParameters::nPhiEndcap_, phi, angle_units::piRadians(), alignCSCRings::r, and rLimits_.
Referenced by FastTimeGeometry::getClosestCell().
GlobalPoint FastTimeDDDConstants::getPosition | ( | int | type, |
int | izeta, | ||
int | iphi, | ||
int | zside | ||
) | const |
Definition at line 60 of file FastTimeDDDConstants.cc.
References funct::cos(), dPhiBarrel_, dPhiEndcap_, dZBarrel_, ftpar_, FastTimeParameters::geomParBarrel_, FastTimeParameters::geomParEndcap_, createfilelist::int, LEDCalibrationChannels::iphi, AlCaHLTBitMon_ParallelJobs::p, phi, alignCSCRings::r, rLimits_, funct::sin(), x, y, z, and ecaldqm::zside().
Referenced by FastTimeGeometry::getPosition().
double FastTimeDDDConstants::getRin | ( | int | type | ) | const |
Definition at line 124 of file FastTimeDDDConstants.cc.
References ftpar_, FastTimeParameters::geomParBarrel_, FastTimeParameters::geomParEndcap_, and relativeConstraints::value.
Referenced by FastTimeGeometryLoader::build(), and FastTimeGeometry::getSummary().
double FastTimeDDDConstants::getRout | ( | int | type | ) | const |
Definition at line 134 of file FastTimeDDDConstants.cc.
References ftpar_, FastTimeParameters::geomParBarrel_, FastTimeParameters::geomParEndcap_, and relativeConstraints::value.
Referenced by FastTimeGeometryLoader::build(), and FastTimeGeometry::getSummary().
double FastTimeDDDConstants::getZHalf | ( | int | type | ) | const |
Definition at line 144 of file FastTimeDDDConstants.cc.
References ftpar_, FastTimeParameters::geomParBarrel_, FastTimeParameters::geomParEndcap_, and relativeConstraints::value.
Referenced by FastTimeGeometryLoader::build(), and FastTimeGeometry::getSummary().
std::pair< int, int > FastTimeDDDConstants::getZPhi | ( | double | z, |
double | phi | ||
) | const |
Definition at line 24 of file FastTimeDDDConstants.cc.
References angle_units::operators::convertRadToDeg(), dPhiBarrel_, dZBarrel_, ftpar_, createfilelist::int, LEDCalibrationChannels::iphi, FastTimeParameters::nPhiBarrel_, FastTimeParameters::nZBarrel_, phi, angle_units::piRadians(), and z.
Referenced by FastTimeGeometry::getClosestCell().
double FastTimeDDDConstants::getZPos | ( | int | type | ) | const |
Definition at line 154 of file FastTimeDDDConstants.cc.
References ftpar_, FastTimeParameters::geomParBarrel_, FastTimeParameters::geomParEndcap_, and relativeConstraints::value.
Referenced by FastTimeGeometryLoader::build().
|
private |
Definition at line 194 of file FastTimeDDDConstants.cc.
References angle_units::operators::convertRadToDeg(), dEta_, dPhiBarrel_, dPhiEndcap_, dZBarrel_, EDM_ML_DEBUG, PVValHelper::eta, etaMax_, etaMin_, JetChargeProducer_cfi::exp, ftpar_, FastTimeParameters::geomParBarrel_, FastTimeParameters::geomParEndcap_, getCells(), dqmdumpme::k, dqm-mbProfile::log, FastTimeParameters::nEtaEndcap_, FastTimeParameters::nPhiBarrel_, FastTimeParameters::nPhiEndcap_, FastTimeParameters::nZBarrel_, angle_units::piRadians(), rLimits_, funct::tan(), and theta().
Referenced by FastTimeDDDConstants().
bool FastTimeDDDConstants::isValidXY | ( | int | type, |
int | izeta, | ||
int | iphi | ||
) | const |
Definition at line 164 of file FastTimeDDDConstants.cc.
References LEDCalibrationChannels::iphi, and convertSQLiteXML::ok.
Referenced by FastTimeTopology::valid().
int FastTimeDDDConstants::numberEtaZ | ( | int | type | ) | const |
Definition at line 174 of file FastTimeDDDConstants.cc.
References ftpar_, FastTimeParameters::nEtaEndcap_, and FastTimeParameters::nZBarrel_.
Referenced by FastTimeTopology::FastTimeTopology(), and FastTimeGeometry::newCell().
int FastTimeDDDConstants::numberPhi | ( | int | type | ) | const |
Definition at line 184 of file FastTimeDDDConstants.cc.
References ftpar_, FastTimeParameters::nPhiBarrel_, and FastTimeParameters::nPhiEndcap_.
Referenced by FastTimeTopology::FastTimeTopology(), and FastTimeGeometry::newCell().
|
private |
Definition at line 41 of file FastTimeDDDConstants.h.
Referenced by initialize().
|
private |
Definition at line 42 of file FastTimeDDDConstants.h.
Referenced by getCorners(), getPosition(), getZPhi(), and initialize().
|
private |
Definition at line 42 of file FastTimeDDDConstants.h.
Referenced by getCorners(), getEtaPhi(), getPosition(), and initialize().
|
private |
Definition at line 42 of file FastTimeDDDConstants.h.
Referenced by getCorners(), getPosition(), getZPhi(), and initialize().
|
private |
Definition at line 41 of file FastTimeDDDConstants.h.
Referenced by initialize().
|
private |
Definition at line 41 of file FastTimeDDDConstants.h.
Referenced by initialize().
|
private |
Definition at line 40 of file FastTimeDDDConstants.h.
Referenced by getCells(), getCorners(), getEtaPhi(), getPosition(), getRin(), getRout(), getZHalf(), getZPhi(), getZPos(), initialize(), numberEtaZ(), and numberPhi().
|
private |
Definition at line 43 of file FastTimeDDDConstants.h.
Referenced by getCorners(), getEtaPhi(), getPosition(), and initialize().