#include <RingMaker.h>
Public Member Functions | |
DetId | constructPXBDetId (unsigned int layer, unsigned int ladder, unsigned int module) |
Ring | constructPXBRing (unsigned int layer, unsigned int module) |
void | constructPXBRings (unsigned int &index) |
DetId | constructPXFDetId (unsigned int fw_bw, unsigned int disk, unsigned int blade, unsigned int panel, unsigned int module) |
Ring | constructPXFRing (unsigned int fw_bw, unsigned int disk, unsigned int panel, unsigned int module) |
void | constructPXFRings (unsigned int &index) |
void | constructRings () |
DetId | constructTECDetId (unsigned int fw_bw, unsigned int wheel, unsigned int petal_fw_bw, unsigned int petal, unsigned int ring, unsigned int module, unsigned int stereo) |
Ring | constructTECRing (unsigned int fw_bw, unsigned int wheel, unsigned int ring) |
void | constructTECRings (unsigned int &index) |
DetId | constructTIBDetId (unsigned int layer, unsigned int fw_bw, unsigned int ext_int, unsigned int string, unsigned int detector, unsigned int stereo) |
Ring | constructTIBRing (unsigned int layer, unsigned int fw_bw, unsigned int ext_int, unsigned int detector) |
void | constructTIBRings (unsigned int &index) |
DetId | constructTIDDetId (unsigned int fw_bw, unsigned int wheel, unsigned int ring, unsigned int detector_fw_bw, unsigned int detector, unsigned int stereo) |
Ring | constructTIDRing (unsigned int fw_bw, unsigned int wheel, unsigned int ring) |
void | constructTIDRings (unsigned int &index) |
DetId | constructTOBDetId (unsigned int layer, unsigned int rod_fw_bw, unsigned int rod, unsigned int detector, unsigned int stereo) |
Ring | constructTOBRing (unsigned int layer, unsigned int rod_fw_bw, unsigned int detector) |
void | constructTOBRings (unsigned int &index) |
double | determineExtensions (DetId id, float &rmin, float &rmax, float &zmin, float &zmax, Ring::type type) |
std::string | dumpDetIds () |
bool | dumpDetIdsIntoFile (std::string fileName) |
void | fillPXBGeometryArray () |
void | fillPXFGeometryArray () |
void | fillTECGeometryArray () |
void | fillTIBGeometryArray () |
void | fillTIDGeometryArray () |
void | fillTOBGeometryArray () |
Rings * | getRings () |
RingMaker (const TrackerGeometry *tracker, std::string configuration) | |
~RingMaker () | |
Private Attributes | |
std::string | configuration_ |
int | pxb_ [3][44][8] |
int | pxf2_ [2][2][2][4] |
int | pxf_ [2][2][24][2][4] |
Rings * | rings_ |
int | tec2_ [3][10][8] |
int | tec_ [3][10][3][9][8][21][3] |
int | tib_ [5][3][3][57][4][3] |
int | tid_ [3][4][4][3][21][3] |
int | tob_ [7][3][75][7][3] |
const TrackerGeometry * | tracker_ |
Definition at line 28 of file RingMaker.h.
RingMaker::RingMaker | ( | const TrackerGeometry * | tracker, |
std::string | configuration | ||
) |
Definition at line 42 of file RingMaker.cc.
References constructRings(), fillPXBGeometryArray(), fillPXFGeometryArray(), fillTECGeometryArray(), fillTIBGeometryArray(), fillTIDGeometryArray(), fillTOBGeometryArray(), and rings_.
RingMaker::~RingMaker | ( | ) |
Definition at line 60 of file RingMaker.cc.
DetId RingMaker::constructPXBDetId | ( | unsigned int | layer, |
unsigned int | ladder, | ||
unsigned int | module | ||
) |
Definition at line 516 of file RingMaker.cc.
References LogDebug.
Referenced by constructPXBRing().
Ring RingMaker::constructPXBRing | ( | unsigned int | layer, |
unsigned int | module | ||
) |
Definition at line 485 of file RingMaker.cc.
References Ring::addId(), constructPXBDetId(), determineExtensions(), Ring::initialize(), LogDebug, phi, pxb_, Ring::PXBRing, and relativeConstraints::ring.
Referenced by constructPXBRings().
void RingMaker::constructPXBRings | ( | unsigned int & | index | ) |
Definition at line 460 of file RingMaker.cc.
References constructPXBRing(), cmsDriverOptions::counter, Ring::getindex(), Ring::getNumDetIds(), Ring::getzmax(), Ring::getzmin(), Rings::insert(), LogDebug, module(), relativeConstraints::ring, rings_, and Ring::setindex().
Referenced by constructRings().
DetId RingMaker::constructPXFDetId | ( | unsigned int | fw_bw, |
unsigned int | disk, | ||
unsigned int | blade, | ||
unsigned int | panel, | ||
unsigned int | module | ||
) |
Definition at line 592 of file RingMaker.cc.
References LogDebug.
Referenced by constructPXFRing().
Ring RingMaker::constructPXFRing | ( | unsigned int | fw_bw, |
unsigned int | disk, | ||
unsigned int | panel, | ||
unsigned int | module | ||
) |
Definition at line 559 of file RingMaker.cc.
References Ring::addId(), constructPXFDetId(), determineExtensions(), Ring::initialize(), LogDebug, phi, pxf_, Ring::PXFRing, and relativeConstraints::ring.
Referenced by constructPXFRings().
void RingMaker::constructPXFRings | ( | unsigned int & | index | ) |
Definition at line 528 of file RingMaker.cc.
References constructPXFRing(), cmsDriverOptions::counter, Ring::getNumDetIds(), Ring::getzmax(), Ring::getzmin(), Rings::insert(), LogDebug, module(), pxf2_, relativeConstraints::ring, rings_, and Ring::setindex().
Referenced by constructRings().
void RingMaker::constructRings | ( | ) |
Definition at line 64 of file RingMaker.cc.
References configuration_, constructPXBRings(), constructPXFRings(), constructTECRings(), constructTIBRings(), constructTIDRings(), constructTOBRings(), and getHLTprescales::index.
Referenced by RingMaker().
DetId RingMaker::constructTECDetId | ( | unsigned int | fw_bw, |
unsigned int | wheel, | ||
unsigned int | petal_fw_bw, | ||
unsigned int | petal, | ||
unsigned int | ring, | ||
unsigned int | module, | ||
unsigned int | stereo | ||
) |
Definition at line 439 of file RingMaker.cc.
References LogDebug.
Referenced by constructTECRing().
Ring RingMaker::constructTECRing | ( | unsigned int | fw_bw, |
unsigned int | wheel, | ||
unsigned int | ring | ||
) |
Definition at line 394 of file RingMaker.cc.
References Ring::addId(), constructTECDetId(), determineExtensions(), Ring::initialize(), LogDebug, module(), phi, tec_, and Ring::TECRing.
Referenced by constructTECRings().
void RingMaker::constructTECRings | ( | unsigned int & | index | ) |
Definition at line 364 of file RingMaker.cc.
References constructTECRing(), cmsDriverOptions::counter, Ring::getindex(), Ring::getNumDetIds(), Ring::getzmax(), Ring::getzmin(), Rings::insert(), LogDebug, relativeConstraints::ring, rings_, Ring::setindex(), and tec2_.
Referenced by constructRings().
DetId RingMaker::constructTIBDetId | ( | unsigned int | layer, |
unsigned int | fw_bw, | ||
unsigned int | ext_int, | ||
unsigned int | string, | ||
unsigned int | detector, | ||
unsigned int | stereo | ||
) |
Definition at line 175 of file RingMaker.cc.
References LogDebug.
Referenced by constructTIBRing().
Ring RingMaker::constructTIBRing | ( | unsigned int | layer, |
unsigned int | fw_bw, | ||
unsigned int | ext_int, | ||
unsigned int | detector | ||
) |
Definition at line 135 of file RingMaker.cc.
References Ring::addId(), constructTIBDetId(), determineExtensions(), Ring::initialize(), LogDebug, phi, relativeConstraints::ring, tib_, and Ring::TIBRing.
Referenced by constructTIBRings().
void RingMaker::constructTIBRings | ( | unsigned int & | index | ) |
Definition at line 105 of file RingMaker.cc.
References constructTIBRing(), cmsDriverOptions::counter, Ring::getindex(), Ring::getNumDetIds(), Ring::getzmax(), Ring::getzmin(), Rings::insert(), LogDebug, relativeConstraints::ring, rings_, and Ring::setindex().
Referenced by constructRings().
DetId RingMaker::constructTIDDetId | ( | unsigned int | fw_bw, |
unsigned int | wheel, | ||
unsigned int | ring, | ||
unsigned int | detector_fw_bw, | ||
unsigned int | detector, | ||
unsigned int | stereo | ||
) |
Definition at line 345 of file RingMaker.cc.
References LogDebug.
Referenced by constructTIDRing().
Ring RingMaker::constructTIDRing | ( | unsigned int | fw_bw, |
unsigned int | wheel, | ||
unsigned int | ring | ||
) |
Definition at line 306 of file RingMaker.cc.
References Ring::addId(), constructTIDDetId(), determineExtensions(), Ring::initialize(), LogDebug, phi, tid_, and Ring::TIDRing.
Referenced by constructTIDRings().
void RingMaker::constructTIDRings | ( | unsigned int & | index | ) |
Definition at line 278 of file RingMaker.cc.
References constructTIDRing(), cmsDriverOptions::counter, Ring::getindex(), Ring::getNumDetIds(), Ring::getzmax(), Ring::getzmin(), Rings::insert(), LogDebug, relativeConstraints::ring, rings_, and Ring::setindex().
Referenced by constructRings().
DetId RingMaker::constructTOBDetId | ( | unsigned int | layer, |
unsigned int | rod_fw_bw, | ||
unsigned int | rod, | ||
unsigned int | detector, | ||
unsigned int | stereo | ||
) |
Definition at line 261 of file RingMaker.cc.
References LogDebug.
Referenced by constructTOBRing().
Ring RingMaker::constructTOBRing | ( | unsigned int | layer, |
unsigned int | rod_fw_bw, | ||
unsigned int | detector | ||
) |
Definition at line 222 of file RingMaker.cc.
References Ring::addId(), constructTOBDetId(), determineExtensions(), Ring::initialize(), LogDebug, phi, relativeConstraints::ring, tob_, and Ring::TOBRing.
Referenced by constructTOBRings().
void RingMaker::constructTOBRings | ( | unsigned int & | index | ) |
Definition at line 194 of file RingMaker.cc.
References constructTOBRing(), cmsDriverOptions::counter, Ring::getindex(), Ring::getNumDetIds(), Ring::getzmax(), Ring::getzmin(), Rings::insert(), LogDebug, module(), relativeConstraints::ring, rings_, and Ring::setindex().
Referenced by constructRings().
double RingMaker::determineExtensions | ( | DetId | id, |
float & | rmin, | ||
float & | rmax, | ||
float & | zmin, | ||
float & | zmax, | ||
Ring::type | type | ||
) |
Definition at line 609 of file RingMaker.cc.
References PXFDetId::blade(), BoundSurface::bounds(), DetId::det(), PXFDetId::disk(), SiStripDetId::glued(), i, TrackerGeometry::idToDetUnit(), PXBDetId::ladder(), PXBDetId::layer(), TOBDetId::layer(), TIBDetId::layer(), Bounds::length(), LogDebug, PXBDetId::module(), PXFDetId::module(), TIBDetId::module(), TIDDetId::module(), TECDetId::module(), L1TEmulatorMonitor_cff::p, PXFDetId::panel(), Parameters::parameters, SiStripDetId::partnerDetId(), TECDetId::petal(), phi, PV3DBase< T, PVType, FrameType >::phi(), Ring::PXBRing, Ring::PXFRing, csvReporter::r, DetId::rawId(), TIDDetId::ring(), TECDetId::ring(), TOBDetId::rod(), PXFDetId::side(), TIDDetId::side(), TECDetId::side(), mathSSE::sqrt(), SiStripDetId::stereo(), TIBDetId::string(), GeomDet::surface(), Ring::TECRing, Bounds::thickness(), Ring::TIBRing, Ring::TIDRing, Ring::TOBRing, Surface::toGlobal(), tracker_, TIDDetId::wheel(), TECDetId::wheel(), Bounds::width(), tablePrinter::width, x, detailsBasic3DVector::y, detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by constructPXBRing(), constructPXFRing(), constructTECRing(), constructTIBRing(), constructTIDRing(), and constructTOBRing().
std::string RingMaker::dumpDetIds | ( | ) |
Definition at line 1059 of file RingMaker.cc.
References PXFDetId::blade(), TrackerGeometry::detUnitIds(), PXFDetId::disk(), SiStripDetId::glued(), PXBDetId::ladder(), PXBDetId::layer(), TOBDetId::layer(), TIBDetId::layer(), PXBDetId::module(), PXFDetId::module(), TOBDetId::module(), TIBDetId::module(), TIDDetId::module(), TECDetId::module(), convertSQLitetoXML_cfg::output, SiStripDetId::partnerDetId(), TECDetId::petal(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TIDDetId::ring(), TECDetId::ring(), TOBDetId::rod(), PXFDetId::side(), TIDDetId::side(), TECDetId::side(), SiStripDetId::stereo(), TIBDetId::string(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, tracker_, TIDDetId::wheel(), and TECDetId::wheel().
Referenced by dumpDetIdsIntoFile().
bool RingMaker::dumpDetIdsIntoFile | ( | std::string | fileName | ) |
Definition at line 1043 of file RingMaker.cc.
References dumpDetIds(), convertSQLitetoXML_cfg::output, and query::result.
Referenced by RingMakerESProducer::produce().
void RingMaker::fillPXBGeometryArray | ( | ) |
Definition at line 972 of file RingMaker.cc.
References TrackerGeometry::detUnitIds(), i, j, gen::k, PXBDetId::ladder(), PXBDetId::layer(), PXBDetId::module(), PixelSubdetector::PixelBarrel, pxb_, and tracker_.
Referenced by RingMaker().
void RingMaker::fillPXFGeometryArray | ( | ) |
Definition at line 1000 of file RingMaker.cc.
References PXFDetId::blade(), TrackerGeometry::detUnitIds(), PXFDetId::disk(), i, j, gen::k, prof2calltree::l, m, PXFDetId::module(), PXFDetId::panel(), PixelSubdetector::PixelEndcap, pxf2_, pxf_, PXFDetId::side(), and tracker_.
Referenced by RingMaker().
void RingMaker::fillTECGeometryArray | ( | ) |
Definition at line 911 of file RingMaker.cc.
References TrackerGeometry::detUnitIds(), SiStripDetId::glued(), i, j, gen::k, prof2calltree::l, m, TECDetId::module(), n, connectstrParser::o, TECDetId::petal(), DetId::rawId(), TECDetId::ring(), TECDetId::side(), StripSubdetector::TEC, tec2_, tec_, tracker_, and TECDetId::wheel().
Referenced by RingMaker().
void RingMaker::fillTIBGeometryArray | ( | ) |
Definition at line 781 of file RingMaker.cc.
References TrackerGeometry::detUnitIds(), SiStripDetId::glued(), i, j, gen::k, prof2calltree::l, TIBDetId::layer(), m, TIBDetId::module(), n, DetId::rawId(), TIBDetId::string(), StripSubdetector::TIB, tib_, and tracker_.
Referenced by RingMaker().
void RingMaker::fillTIDGeometryArray | ( | ) |
Definition at line 824 of file RingMaker.cc.
References TrackerGeometry::detUnitIds(), SiStripDetId::glued(), i, j, gen::k, prof2calltree::l, m, TIDDetId::module(), n, DetId::rawId(), TIDDetId::ring(), TIDDetId::side(), StripSubdetector::TID, tid_, tracker_, and TIDDetId::wheel().
Referenced by RingMaker().
void RingMaker::fillTOBGeometryArray | ( | ) |
Definition at line 870 of file RingMaker.cc.
References TrackerGeometry::detUnitIds(), SiStripDetId::glued(), i, j, gen::k, prof2calltree::l, TOBDetId::layer(), m, TOBDetId::module(), DetId::rawId(), TOBDetId::rod(), StripSubdetector::TOB, tob_, and tracker_.
Referenced by RingMaker().
|
inline |
Definition at line 121 of file RingMaker.h.
References rings_.
Referenced by RingMakerESProducer::produce().
|
private |
Definition at line 141 of file RingMaker.h.
Referenced by constructRings().
|
private |
Definition at line 137 of file RingMaker.h.
Referenced by constructPXBRing(), and fillPXBGeometryArray().
|
private |
Definition at line 139 of file RingMaker.h.
Referenced by constructPXFRings(), and fillPXFGeometryArray().
|
private |
Definition at line 138 of file RingMaker.h.
Referenced by constructPXFRing(), and fillPXFGeometryArray().
|
private |
Definition at line 130 of file RingMaker.h.
Referenced by constructPXBRings(), constructPXFRings(), constructTECRings(), constructTIBRings(), constructTIDRings(), constructTOBRings(), getRings(), and RingMaker().
|
private |
Definition at line 135 of file RingMaker.h.
Referenced by constructTECRings(), and fillTECGeometryArray().
|
private |
Definition at line 136 of file RingMaker.h.
Referenced by constructTECRing(), and fillTECGeometryArray().
|
private |
Definition at line 132 of file RingMaker.h.
Referenced by constructTIBRing(), and fillTIBGeometryArray().
|
private |
Definition at line 134 of file RingMaker.h.
Referenced by constructTIDRing(), and fillTIDGeometryArray().
|
private |
Definition at line 133 of file RingMaker.h.
Referenced by constructTOBRing(), and fillTOBGeometryArray().
|
private |
Definition at line 128 of file RingMaker.h.
Referenced by determineExtensions(), dumpDetIds(), fillPXBGeometryArray(), fillPXFGeometryArray(), fillTECGeometryArray(), fillTIBGeometryArray(), fillTIDGeometryArray(), and fillTOBGeometryArray().