#include <Rings.h>
Public Types | |
typedef RingMap::const_iterator | const_iterator |
typedef RingMap::iterator | iterator |
typedef std::multimap< double, Ring > | RingMap |
Public Member Functions | |
iterator | begin () |
const_iterator | begin () const |
void | dump (std::string ascii_filename="rings.dat") const |
void | dumpHeader (std::ofstream &stream) const |
iterator | end () |
const_iterator | end () const |
const Ring * | getPXBRing (unsigned int layer, unsigned int detector) const |
const Ring * | getPXFRing (unsigned int fw_bw, unsigned int disk, unsigned int panel, unsigned int module) const |
const Ring * | getRing (DetId id, double phi=999999., double z=999999.) const |
const Ring * | getRing (unsigned int ringIndex, double z=999999.) const |
const Ring * | getTECRing (unsigned int fw_bw, unsigned int wheel, unsigned int ring) const |
const Ring * | getTIBRing (unsigned int layer, unsigned int fw_bw, unsigned int ext_int, unsigned int detector) const |
const Ring * | getTIDRing (unsigned int fw_bw, unsigned int wheel, unsigned int ring) const |
const Ring * | getTOBRing (unsigned int layer, unsigned int rod_fw_bw, unsigned int detector) const |
void | insert (double z, Ring &ring) |
iterator | lower_bound (double z) |
const_iterator | lower_bound (double z) const |
void | readInFromAsciiFile (std::string ascii_file) |
Rings () | |
Rings (std::string ascii_file) | |
iterator | upper_bound (double z) |
const_iterator | upper_bound (double z) const |
~Rings () | |
Private Attributes | |
RingMap | ringMap_ |
typedef RingMap::const_iterator Rings::const_iterator |
typedef RingMap::iterator Rings::iterator |
typedef std::multimap<double,Ring> Rings::RingMap |
Rings::Rings | ( | ) |
Rings::Rings | ( | std::string | ascii_file | ) |
Rings::~Rings | ( | ) |
|
inline |
Definition at line 42 of file Rings.h.
References ringMap_.
Referenced by RoadMaker::RingsCompatibleWithSeed().
|
inline |
void Rings::dump | ( | std::string | ascii_filename = "rings.dat" | ) | const |
Definition at line 105 of file Rings.cc.
References dumpHeader(), relativeConstraints::ring, and ringMap_.
Referenced by RingMakerESProducer::produce().
void Rings::dumpHeader | ( | std::ofstream & | stream | ) | const |
|
inline |
Definition at line 43 of file Rings.h.
References ringMap_.
Referenced by RoadMaker::RingsCompatibleWithSeed().
|
inline |
const Ring * Rings::getPXBRing | ( | unsigned int | layer, |
unsigned int | detector | ||
) | const |
Definition at line 317 of file Rings.cc.
References getRing(), and errorMatrix2Lands_multiChannel::id.
const Ring * Rings::getPXFRing | ( | unsigned int | fw_bw, |
unsigned int | disk, | ||
unsigned int | panel, | ||
unsigned int | module | ||
) | const |
Definition at line 329 of file Rings.cc.
References getRing(), and errorMatrix2Lands_multiChannel::id.
Definition at line 152 of file Rings.cc.
References relativeConstraints::ring, and ringMap_.
Referenced by getPXBRing(), getPXFRing(), Roads::getRing(), getTECRing(), getTIBRing(), getTIDRing(), getTOBRing(), and Roads::readInFromAsciiFile().
const Ring * Rings::getRing | ( | unsigned int | ringIndex, |
double | z = 999999. |
||
) | const |
Definition at line 177 of file Rings.cc.
References relativeConstraints::ring, and ringMap_.
const Ring * Rings::getTECRing | ( | unsigned int | fw_bw, |
unsigned int | wheel, | ||
unsigned int | ring | ||
) | const |
Definition at line 257 of file Rings.cc.
References getRing(), and errorMatrix2Lands_multiChannel::id.
Referenced by RoadMaker::collectInnerTECSeedRings(), RoadMaker::collectInnerTECSeedRings1(), RoadMaker::collectInnerTECSeedRings2(), RoadMaker::collectOuterTECSeedRings(), and RoadMaker::collectOuterTECSeedRings1().
const Ring * Rings::getTIBRing | ( | unsigned int | layer, |
unsigned int | fw_bw, | ||
unsigned int | ext_int, | ||
unsigned int | detector | ||
) | const |
Definition at line 201 of file Rings.cc.
References getRing(), errorMatrix2Lands_multiChannel::id, and relativeConstraints::ring.
Referenced by RoadMaker::collectInnerTIBSeedRings(), RoadMaker::collectInnerTIBSeedRings1(), RoadMaker::collectInnerTIBSeedRings2(), RoadMaker::collectOuterTIBSeedRings(), and RoadMaker::collectOuterTIBSeedRings1().
const Ring * Rings::getTIDRing | ( | unsigned int | fw_bw, |
unsigned int | wheel, | ||
unsigned int | ring | ||
) | const |
Definition at line 230 of file Rings.cc.
References getRing(), and errorMatrix2Lands_multiChannel::id.
Referenced by RoadMaker::collectInnerTIDSeedRings(), RoadMaker::collectInnerTIDSeedRings1(), and RoadMaker::collectInnerTIDSeedRings2().
const Ring * Rings::getTOBRing | ( | unsigned int | layer, |
unsigned int | rod_fw_bw, | ||
unsigned int | detector | ||
) | const |
Definition at line 291 of file Rings.cc.
References getRing(), errorMatrix2Lands_multiChannel::id, and relativeConstraints::ring.
Referenced by RoadMaker::collectInnerTOBSeedRings(), RoadMaker::collectInnerTOBSeedRings1(), RoadMaker::collectInnerTOBSeedRings2(), RoadMaker::collectOuterTOBSeedRings(), and RoadMaker::collectOuterTOBSeedRings1().
|
inline |
Definition at line 40 of file Rings.h.
References ringMap_.
Referenced by BeautifulSoup.PageElement::_invert(), RingMaker::constructPXBRings(), RingMaker::constructPXFRings(), RingMaker::constructTECRings(), RingMaker::constructTIBRings(), RingMaker::constructTIDRings(), and RingMaker::constructTOBRings().
|
inline |
|
inline |
void Rings::readInFromAsciiFile | ( | std::string | ascii_file | ) |
Definition at line 57 of file Rings.cc.
References Ring::addId(), cond::rpcobgas::detid, i, getHLTprescales::index, LaserDQM_cfg::input, geometryCSVtoXML::line, phi, relativeConstraints::ring, and ringMap_.
Referenced by Rings().
|
inline |
|
inline |
|
private |
Definition at line 80 of file Rings.h.
Referenced by begin(), dump(), end(), getRing(), insert(), lower_bound(), readInFromAsciiFile(), and upper_bound().