#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 20 of file FastTimeDDDConstants.h.
FastTimeDDDConstants::FastTimeDDDConstants | ( | const FastTimeParameters * | ftp | ) |
Definition at line 11 of file FastTimeDDDConstants.cc.
References gather_cfg::cout, and initialize().
FastTimeDDDConstants::~FastTimeDDDConstants | ( | ) |
int FastTimeDDDConstants::getCells | ( | int | type | ) | const |
Definition at line 115 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_, allConversions_cfi::dz, dZBarrel_, ftpar_, FastTimeParameters::geomParBarrel_, FastTimeParameters::geomParEndcap_, mps_fire::i, createfilelist::int, AlCaHLTBitMon_ParallelJobs::p, phi, RPCpg::pts, alignCSCRings::r, rLimits_, funct::sin(), x, y, and z.
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 gather_cfg::cout, dPhiEndcap_, ftpar_, createfilelist::int, gen::k, FastTimeParameters::nEtaEndcap_, FastTimeParameters::nPhiEndcap_, and rLimits_.
Referenced by FastTimeGeometry::getClosestCell(), and FastTimerSD::setDetUnitId().
GlobalPoint FastTimeDDDConstants::getPosition | ( | int | type, |
int | izeta, | ||
int | iphi, | ||
int | zside | ||
) | const |
Definition at line 58 of file FastTimeDDDConstants.cc.
References funct::cos(), dPhiBarrel_, dPhiEndcap_, dZBarrel_, ftpar_, FastTimeParameters::geomParBarrel_, FastTimeParameters::geomParEndcap_, createfilelist::int, AlCaHLTBitMon_ParallelJobs::p, phi, alignCSCRings::r, rLimits_, funct::sin(), x, y, and z.
Referenced by FastTimeGeometry::getPosition().
double FastTimeDDDConstants::getRin | ( | int | type | ) | const |
Definition at line 125 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 135 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 145 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 26 of file FastTimeDDDConstants.cc.
References gather_cfg::cout, dPhiBarrel_, dZBarrel_, ftpar_, createfilelist::int, FastTimeParameters::nPhiBarrel_, and FastTimeParameters::nZBarrel_.
Referenced by FastTimeGeometry::getClosestCell(), and FastTimerSD::setDetUnitId().
double FastTimeDDDConstants::getZPos | ( | int | type | ) | const |
Definition at line 155 of file FastTimeDDDConstants.cc.
References ftpar_, FastTimeParameters::geomParBarrel_, FastTimeParameters::geomParEndcap_, and relativeConstraints::value.
Referenced by FastTimeGeometryLoader::build().
|
private |
Definition at line 197 of file FastTimeDDDConstants.cc.
References gather_cfg::cout, dEta_, dPhiBarrel_, dPhiEndcap_, dZBarrel_, EDM_ML_DEBUG, stringResolutionProvider_cfi::eta, etaMax_, etaMin_, JetChargeProducer_cfi::exp, ftpar_, FastTimeParameters::geomParBarrel_, FastTimeParameters::geomParEndcap_, getCells(), gen::k, cmsBatch::log, FastTimeParameters::nEtaEndcap_, FastTimeParameters::nPhiBarrel_, FastTimeParameters::nPhiEndcap_, FastTimeParameters::nZBarrel_, rLimits_, funct::tan(), and theta().
Referenced by FastTimeDDDConstants().
bool FastTimeDDDConstants::isValidXY | ( | int | type, |
int | izeta, | ||
int | iphi | ||
) | const |
Definition at line 165 of file FastTimeDDDConstants.cc.
References convertSQLiteXML::ok.
Referenced by FastTimeTopology::valid().
int FastTimeDDDConstants::numberEtaZ | ( | int | type | ) | const |
Definition at line 177 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 187 of file FastTimeDDDConstants.cc.
References ftpar_, FastTimeParameters::nPhiBarrel_, and FastTimeParameters::nPhiEndcap_.
Referenced by FastTimeTopology::FastTimeTopology(), and FastTimeGeometry::newCell().
|
private |
Definition at line 46 of file FastTimeDDDConstants.h.
Referenced by initialize().
|
private |
Definition at line 47 of file FastTimeDDDConstants.h.
Referenced by getCorners(), getPosition(), getZPhi(), and initialize().
|
private |
Definition at line 47 of file FastTimeDDDConstants.h.
Referenced by getCorners(), getEtaPhi(), getPosition(), and initialize().
|
private |
Definition at line 47 of file FastTimeDDDConstants.h.
Referenced by getCorners(), getPosition(), getZPhi(), and initialize().
|
private |
Definition at line 46 of file FastTimeDDDConstants.h.
Referenced by initialize().
|
private |
Definition at line 46 of file FastTimeDDDConstants.h.
Referenced by initialize().
|
private |
Definition at line 45 of file FastTimeDDDConstants.h.
Referenced by getCells(), getCorners(), getEtaPhi(), getPosition(), getRin(), getRout(), getZHalf(), getZPhi(), getZPos(), initialize(), numberEtaZ(), and numberPhi().
|
private |
Definition at line 48 of file FastTimeDDDConstants.h.
Referenced by getCorners(), getEtaPhi(), getPosition(), and initialize().