#include <RoadMaker.h>
Public Types | |
enum | GeometryStructure { FullDetector, FullDetectorII, MTCC, TIF, TIFTOB, TIFTIB, TIFTIBTOB, TIFTOBTEC, P5 } |
enum | SeedingType { FourRingSeeds, TwoRingSeeds } |
Private Attributes | |
std::vector< const Ring * > | innerSeedRings1_ |
std::vector< const Ring * > | innerSeedRings2_ |
std::vector< const Ring * > | innerSeedRings_ |
std::vector< const Ring * > | outerSeedRings1_ |
std::vector< const Ring * > | outerSeedRings_ |
const Rings * | rings_ |
Roads * | roads_ |
SeedingType | seedingType_ |
GeometryStructure | structure_ |
float | zBS_ |
Definition at line 29 of file RoadMaker.h.
Enumerator | |
---|---|
FullDetector | |
FullDetectorII | |
MTCC | |
TIF | |
TIFTOB | |
TIFTIB | |
TIFTIBTOB | |
TIFTOBTEC | |
P5 |
Definition at line 33 of file RoadMaker.h.
Enumerator | |
---|---|
FourRingSeeds | |
TwoRingSeeds |
Definition at line 45 of file RoadMaker.h.
RoadMaker::RoadMaker | ( | const Rings * | rings, |
RoadMaker::GeometryStructure | structure = FullDetector , |
||
RoadMaker::SeedingType | seedingType = FourRingSeeds |
||
) |
Definition at line 41 of file RoadMaker.cc.
References constructRoads(), FullDetector, FullDetectorII, MTCC, P5, roads_, structure_, TIF, TIFTIB, TIFTIBTOB, TIFTOB, TIFTOBTEC, and zBS_.
RoadMaker::~RoadMaker | ( | ) |
Definition at line 76 of file RoadMaker.cc.
std::pair< Roads::RoadSeed, Roads::RoadSet > RoadMaker::AddInnerSeedRing | ( | std::pair< Roads::RoadSeed, Roads::RoadSet > | input | ) |
Definition at line 2302 of file RoadMaker.cc.
References AddRoad(), CloneSeed(), innerSeedRings_, LaserDQM_cfg::input, query::result, RingsCompatibleWithSeed(), RingsOnSameLayer(), SameRoadSet(), and runtimedef::set().
std::pair< Roads::RoadSeed, Roads::RoadSet > RoadMaker::AddOuterSeedRing | ( | std::pair< Roads::RoadSeed, Roads::RoadSet > | input | ) |
Definition at line 2352 of file RoadMaker.cc.
References AddRoad(), CloneSeed(), LaserDQM_cfg::input, outerSeedRings_, query::result, RingsCompatibleWithSeed(), RingsOnSameLayer(), and runtimedef::set().
bool RoadMaker::AddRoad | ( | Roads::RoadSeed | seed, |
Roads::RoadSet | set | ||
) |
Definition at line 2234 of file RoadMaker.cc.
References Roads::begin(), Roads::end(), Roads::erase(), Roads::insert(), query::result, roads_, and python.multivaluedict::sort().
Referenced by AddInnerSeedRing(), and AddOuterSeedRing().
Roads::RoadSeed RoadMaker::CloneSeed | ( | Roads::RoadSeed | seed | ) |
Definition at line 2212 of file RoadMaker.cc.
References query::result, and relativeConstraints::ring.
Referenced by AddInnerSeedRing(), and AddOuterSeedRing().
void RoadMaker::collectInnerSeedRings | ( | ) |
Definition at line 258 of file RoadMaker.cc.
References collectInnerTECSeedRings(), collectInnerTIBSeedRings(), collectInnerTIDSeedRings(), collectInnerTOBSeedRings(), FullDetector, FullDetectorII, innerSeedRings_, LogDebug, MTCC, P5, structure_, TIF, TIFTIB, TIFTIBTOB, TIFTOB, and TIFTOBTEC.
Referenced by constructRoads().
void RoadMaker::collectInnerSeedRings1 | ( | ) |
Definition at line 613 of file RoadMaker.cc.
References collectInnerTECSeedRings1(), collectInnerTIBSeedRings1(), collectInnerTIDSeedRings1(), collectInnerTOBSeedRings1(), FullDetector, FullDetectorII, innerSeedRings1_, LogDebug, MTCC, structure_, TIF, TIFTIB, TIFTIBTOB, TIFTOB, and TIFTOBTEC.
Referenced by constructRoads().
void RoadMaker::collectInnerSeedRings2 | ( | ) |
Definition at line 930 of file RoadMaker.cc.
References collectInnerTECSeedRings2(), collectInnerTIBSeedRings2(), collectInnerTIDSeedRings2(), collectInnerTOBSeedRings2(), FullDetector, FullDetectorII, innerSeedRings2_, LogDebug, MTCC, structure_, TIF, TIFTIB, TIFTIBTOB, TIFTOB, and TIFTOBTEC.
Referenced by constructRoads().
void RoadMaker::collectInnerTECSeedRings | ( | ) |
Definition at line 413 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTECRing(), innerSeedRings_, LogDebug, P5, relativeConstraints::ring, rings_, structure_, TIF, and TIFTOBTEC.
Referenced by collectInnerSeedRings().
void RoadMaker::collectInnerTECSeedRings1 | ( | ) |
Definition at line 764 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTECRing(), innerSeedRings1_, LogDebug, relativeConstraints::ring, rings_, structure_, TIF, and TIFTOBTEC.
Referenced by collectInnerSeedRings1().
void RoadMaker::collectInnerTECSeedRings2 | ( | ) |
Definition at line 1095 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTECRing(), innerSeedRings2_, LogDebug, relativeConstraints::ring, rings_, structure_, TIF, and TIFTOBTEC.
Referenced by collectInnerSeedRings2().
void RoadMaker::collectInnerTIBSeedRings | ( | ) |
Definition at line 292 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTIBRing(), innerSeedRings_, LogDebug, MTCC, rings_, structure_, TIF, TIFTIB, and TIFTIBTOB.
Referenced by collectInnerSeedRings().
void RoadMaker::collectInnerTIBSeedRings1 | ( | ) |
Definition at line 644 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTIBRing(), innerSeedRings1_, LogDebug, MTCC, rings_, structure_, TIF, TIFTIB, and TIFTIBTOB.
Referenced by collectInnerSeedRings1().
void RoadMaker::collectInnerTIBSeedRings2 | ( | ) |
Definition at line 966 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTIBRing(), innerSeedRings2_, LogDebug, MTCC, rings_, structure_, TIF, TIFTIB, TIFTIBTOB, and TIFTOBTEC.
Referenced by collectInnerSeedRings2().
void RoadMaker::collectInnerTIDSeedRings | ( | ) |
Definition at line 361 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTIDRing(), innerSeedRings_, LogDebug, relativeConstraints::ring, rings_, structure_, TIF, TIFTIB, and TIFTIBTOB.
Referenced by collectInnerSeedRings().
void RoadMaker::collectInnerTIDSeedRings1 | ( | ) |
Definition at line 712 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTIDRing(), innerSeedRings1_, LogDebug, relativeConstraints::ring, rings_, structure_, TIF, TIFTIB, and TIFTIBTOB.
Referenced by collectInnerSeedRings1().
void RoadMaker::collectInnerTIDSeedRings2 | ( | ) |
Definition at line 1043 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTIDRing(), innerSeedRings2_, LogDebug, relativeConstraints::ring, rings_, structure_, TIF, TIFTIB, and TIFTIBTOB.
Referenced by collectInnerSeedRings2().
void RoadMaker::collectInnerTOBSeedRings | ( | ) |
Definition at line 522 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTOBRing(), innerSeedRings_, LogDebug, MTCC, P5, rings_, structure_, TIF, TIFTIBTOB, TIFTOB, and TIFTOBTEC.
Referenced by collectInnerSeedRings().
void RoadMaker::collectInnerTOBSeedRings1 | ( | ) |
Definition at line 847 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTOBRing(), innerSeedRings1_, LogDebug, MTCC, rings_, structure_, TIF, TIFTIBTOB, TIFTOB, and TIFTOBTEC.
Referenced by collectInnerSeedRings1().
void RoadMaker::collectInnerTOBSeedRings2 | ( | ) |
Definition at line 1178 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTOBRing(), innerSeedRings2_, LogDebug, MTCC, rings_, structure_, TIF, TIFTIBTOB, TIFTOB, and TIFTOBTEC.
Referenced by collectInnerSeedRings2().
void RoadMaker::collectOuterSeedRings | ( | ) |
Definition at line 1254 of file RoadMaker.cc.
References collectOuterTECSeedRings(), collectOuterTIBSeedRings(), collectOuterTOBSeedRings(), FullDetector, FullDetectorII, LogDebug, MTCC, outerSeedRings_, P5, structure_, TIF, TIFTIB, TIFTIBTOB, TIFTOB, and TIFTOBTEC.
Referenced by constructRoads().
void RoadMaker::collectOuterSeedRings1 | ( | ) |
Definition at line 1620 of file RoadMaker.cc.
References collectOuterTECSeedRings1(), collectOuterTIBSeedRings1(), collectOuterTOBSeedRings1(), FullDetector, FullDetectorII, LogDebug, MTCC, outerSeedRings1_, structure_, TIF, TIFTIB, TIFTIBTOB, TIFTOB, and TIFTOBTEC.
Referenced by constructRoads().
void RoadMaker::collectOuterTECSeedRings | ( | ) |
Definition at line 1439 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTECRing(), LogDebug, outerSeedRings_, P5, relativeConstraints::ring, rings_, structure_, TIF, and TIFTOBTEC.
Referenced by collectOuterSeedRings().
void RoadMaker::collectOuterTECSeedRings1 | ( | ) |
Definition at line 1805 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTECRing(), LogDebug, outerSeedRings1_, relativeConstraints::ring, rings_, structure_, TIF, and TIFTOBTEC.
Referenced by collectOuterSeedRings1().
void RoadMaker::collectOuterTIBSeedRings | ( | ) |
Definition at line 1286 of file RoadMaker.cc.
References Ring::getindex(), Rings::getTIBRing(), LogDebug, outerSeedRings_, rings_, structure_, and TIFTIB.
Referenced by collectOuterSeedRings().
void RoadMaker::collectOuterTIBSeedRings1 | ( | ) |
Definition at line 1648 of file RoadMaker.cc.
References Ring::getindex(), Rings::getTIBRing(), LogDebug, outerSeedRings1_, rings_, structure_, and TIFTIB.
Referenced by collectOuterSeedRings1().
void RoadMaker::collectOuterTOBSeedRings | ( | ) |
Definition at line 1318 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTOBRing(), LogDebug, MTCC, outerSeedRings_, P5, rings_, structure_, TIF, TIFTIBTOB, TIFTOB, and TIFTOBTEC.
Referenced by collectOuterSeedRings().
void RoadMaker::collectOuterTOBSeedRings1 | ( | ) |
Definition at line 1680 of file RoadMaker.cc.
References FullDetector, FullDetectorII, Ring::getindex(), Rings::getTOBRing(), LogDebug, MTCC, outerSeedRings1_, rings_, structure_, TIF, TIFTIBTOB, TIFTOB, and TIFTOBTEC.
Referenced by collectOuterSeedRings1().
bool RoadMaker::CompatibleWithLines | ( | std::vector< std::pair< double, double > > | lines, |
const Ring * | ring | ||
) |
Definition at line 2129 of file RoadMaker.cc.
References Ring::getrmax(), Ring::getrmin(), Ring::getzmax(), Ring::getzmin(), geometryCSVtoXML::line, groupFilesInBlocks::lines, m, alignCSCRings::r, query::result, and detailsBasic3DVector::z.
Referenced by constructRoads(), and RingsCompatibleWithSeed().
void RoadMaker::constructRoads | ( | ) |
Definition at line 80 of file RoadMaker.cc.
References abs, collectInnerSeedRings(), collectInnerSeedRings1(), collectInnerSeedRings2(), collectOuterSeedRings(), collectOuterSeedRings1(), CompatibleWithLines(), diffTreeTool::diff, FourRingSeeds, innerSeedRings1_, innerSeedRings2_, innerSeedRings_, Roads::insert(), LinesThroughRingAndBS(), LinesThroughRings(), outerSeedRings1_, outerSeedRings_, alignCSCRings::r, relativeConstraints::ring, RingInBarrel(), RingsCompatibleWithSeed(), RingsOnSameLayer(), roads_, seedingType_, runtimedef::set(), Roads::size(), findQualityFiles::size, slope, python.multivaluedict::sort(), TwoRingSeeds, and detailsBasic3DVector::z.
Referenced by RoadMaker().
|
inline |
Definition at line 86 of file RoadMaker.h.
References roads_.
Referenced by RoadMapMakerESProducer::produce().
std::vector< std::pair< double, double > > RoadMaker::LinesThroughRingAndBS | ( | const Ring * | ring | ) |
Definition at line 2067 of file RoadMaker.cc.
References Ring::getrmax(), Ring::getrmin(), Ring::getzmax(), Ring::getzmin(), alignCSCRings::r, query::result, detailsBasic3DVector::z, and zBS_.
Referenced by constructRoads(), and RingsCompatibleWithSeed().
std::vector< std::pair< double, double > > RoadMaker::LinesThroughRings | ( | const Ring * | ring1, |
const Ring * | ring2 | ||
) |
Definition at line 2094 of file RoadMaker.cc.
References Ring::getrmax(), Ring::getrmin(), Ring::getzmax(), Ring::getzmin(), diffTwoXMLs::r1, diffTwoXMLs::r2, and query::result.
Referenced by constructRoads(), and RingsCompatibleWithSeed().
bool RoadMaker::RingInBarrel | ( | const Ring * | ring | ) |
Definition at line 2032 of file RoadMaker.cc.
References Ring::getFirst(), query::result, DetId::subdetId(), StripSubdetector::TIB, and StripSubdetector::TOB.
Referenced by constructRoads().
Roads::RoadSet RoadMaker::RingsCompatibleWithSeed | ( | Roads::RoadSeed | seed | ) |
Definition at line 2158 of file RoadMaker.cc.
References Rings::begin(), CompatibleWithLines(), Rings::end(), geometryCSVtoXML::line, groupFilesInBlocks::lines, LinesThroughRingAndBS(), LinesThroughRings(), relativeConstraints::ring, rings_, and SortRingsIntoLayers().
Referenced by AddInnerSeedRing(), AddOuterSeedRing(), and constructRoads().
Definition at line 1960 of file RoadMaker.cc.
References Ring::getFirst(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, DetId::rawId(), query::result, DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, and StripSubdetector::TOB.
Referenced by AddInnerSeedRing(), AddOuterSeedRing(), constructRoads(), RingsOnSameLayer(), and SortRingsIntoLayers().
bool RoadMaker::RingsOnSameLayer | ( | std::pair< const Ring *, const Ring * > | seed1, |
std::pair< const Ring *, const Ring * > | seed2 | ||
) |
Definition at line 2053 of file RoadMaker.cc.
References query::result, and RingsOnSameLayer().
bool RoadMaker::SameRoadSet | ( | Roads::RoadSet | set1, |
Roads::RoadSet | set2 | ||
) |
Roads::RoadSet RoadMaker::SortRingsIntoLayers | ( | std::vector< const Ring * > | input | ) |
Definition at line 2452 of file RoadMaker.cc.
References RecoTauValidation_cfi::reference, relativeConstraints::ring, RingsOnSameLayer(), runtimedef::set(), python.multivaluedict::sort(), and tmp.
Referenced by RingsCompatibleWithSeed().
|
private |
Definition at line 115 of file RoadMaker.h.
Referenced by collectInnerSeedRings1(), collectInnerTECSeedRings1(), collectInnerTIBSeedRings1(), collectInnerTIDSeedRings1(), collectInnerTOBSeedRings1(), and constructRoads().
|
private |
Definition at line 116 of file RoadMaker.h.
Referenced by collectInnerSeedRings2(), collectInnerTECSeedRings2(), collectInnerTIBSeedRings2(), collectInnerTIDSeedRings2(), collectInnerTOBSeedRings2(), and constructRoads().
|
private |
Definition at line 114 of file RoadMaker.h.
Referenced by AddInnerSeedRing(), collectInnerSeedRings(), collectInnerTECSeedRings(), collectInnerTIBSeedRings(), collectInnerTIDSeedRings(), collectInnerTOBSeedRings(), and constructRoads().
|
private |
Definition at line 118 of file RoadMaker.h.
Referenced by collectOuterSeedRings1(), collectOuterTECSeedRings1(), collectOuterTIBSeedRings1(), collectOuterTOBSeedRings1(), and constructRoads().
|
private |
Definition at line 117 of file RoadMaker.h.
Referenced by AddOuterSeedRing(), collectOuterSeedRings(), collectOuterTECSeedRings(), collectOuterTIBSeedRings(), collectOuterTOBSeedRings(), and constructRoads().
|
private |
Definition at line 108 of file RoadMaker.h.
Referenced by collectInnerTECSeedRings(), collectInnerTECSeedRings1(), collectInnerTECSeedRings2(), collectInnerTIBSeedRings(), collectInnerTIBSeedRings1(), collectInnerTIBSeedRings2(), collectInnerTIDSeedRings(), collectInnerTIDSeedRings1(), collectInnerTIDSeedRings2(), collectInnerTOBSeedRings(), collectInnerTOBSeedRings1(), collectInnerTOBSeedRings2(), collectOuterTECSeedRings(), collectOuterTECSeedRings1(), collectOuterTIBSeedRings(), collectOuterTIBSeedRings1(), collectOuterTOBSeedRings(), collectOuterTOBSeedRings1(), and RingsCompatibleWithSeed().
|
private |
Definition at line 110 of file RoadMaker.h.
Referenced by AddRoad(), constructRoads(), getRoads(), and RoadMaker().
|
private |
Definition at line 112 of file RoadMaker.h.
Referenced by constructRoads().
|
private |
Definition at line 111 of file RoadMaker.h.
Referenced by collectInnerSeedRings(), collectInnerSeedRings1(), collectInnerSeedRings2(), collectInnerTECSeedRings(), collectInnerTECSeedRings1(), collectInnerTECSeedRings2(), collectInnerTIBSeedRings(), collectInnerTIBSeedRings1(), collectInnerTIBSeedRings2(), collectInnerTIDSeedRings(), collectInnerTIDSeedRings1(), collectInnerTIDSeedRings2(), collectInnerTOBSeedRings(), collectInnerTOBSeedRings1(), collectInnerTOBSeedRings2(), collectOuterSeedRings(), collectOuterSeedRings1(), collectOuterTECSeedRings(), collectOuterTECSeedRings1(), collectOuterTIBSeedRings(), collectOuterTIBSeedRings1(), collectOuterTOBSeedRings(), collectOuterTOBSeedRings1(), and RoadMaker().
|
private |
Definition at line 120 of file RoadMaker.h.
Referenced by LinesThroughRingAndBS(), and RoadMaker().