#include <Roads.h>
Public Types | |
typedef RoadMap::const_iterator | const_iterator |
typedef RoadMap::iterator | iterator |
typedef std::multimap < RoadSeed, RoadSet, RoadMapSorting > | RoadMap |
typedef std::pair< std::vector < const Ring * >, std::vector < const Ring * > > | RoadSeed |
typedef std::vector < std::vector< const Ring * > > | RoadSet |
enum | type { RPhi, ZPhi } |
Public Member Functions | |
iterator | begin () |
const_iterator | begin () const |
void | dump (std::string ascii_filename="roads.dat") const |
void | dumpHeader (std::ofstream &stream) const |
iterator | end () |
const_iterator | end () const |
void | erase (iterator entry) |
const Ring * | getRing (DetId id, double phi=999999., double z=999999.) const |
const Ring::type | getRingType (DetId id) const |
const RoadSeed * | getRoadSeed (DetId InnerSeedRing, DetId OuterSeedRing, double InnerSeedRingPhi=999999., double OuterSeedRingPhi=999999., double dphi_scalefactor=1.5) const |
const RoadSeed * | getRoadSeed (std::vector< DetId > seedRingDetIds, std::vector< double > seedRingHitsPhi, double dphi_scalefactor=1.5) const |
const_iterator | getRoadSet (const RoadSeed *seed) const |
const type | getRoadType (const RoadSeed *const seed) const |
void | insert (RoadSeed *seed, RoadSet *set) |
void | insert (RoadSeed seed, RoadSet set) |
void | readInFromAsciiFile (std::string ascii_file) |
Roads () | |
Roads (std::string ascii_file, const Rings *rings) | |
RoadMap::size_type | size () const |
~Roads () | |
Private Attributes | |
const Rings * | rings_ |
RoadMap | roadMap_ |
typedef RoadMap::const_iterator Roads::const_iterator |
typedef RoadMap::iterator Roads::iterator |
typedef std::multimap<RoadSeed,RoadSet,RoadMapSorting> Roads::RoadMap |
typedef std::pair<std::vector<const Ring*>, std::vector<const Ring*> > Roads::RoadSeed |
typedef std::vector<std::vector<const Ring*> > Roads::RoadSet |
enum Roads::type |
Roads::Roads | ( | std::string | ascii_file, |
const Rings * | rings | ||
) |
|
inline |
Definition at line 58 of file Roads.h.
References roadMap_.
Referenced by RoadMaker::AddRoad(), and RoadSearchSeedFinderAlgorithm::run().
|
inline |
void Roads::dump | ( | std::string | ascii_filename = "roads.dat" | ) | const |
Definition at line 173 of file Roads.cc.
References dumpHeader(), relativeConstraints::ring, roadMap_, and runtimedef::set().
Referenced by RoadMapMakerESProducer::produce().
void Roads::dumpHeader | ( | std::ofstream & | stream | ) | const |
Definition at line 224 of file Roads.cc.
Referenced by dump().
|
inline |
Definition at line 59 of file Roads.h.
References roadMap_.
Referenced by RoadMaker::AddRoad(), and RoadSearchSeedFinderAlgorithm::run().
|
inline |
|
inline |
Definition at line 90 of file Roads.h.
References Rings::getRing(), phi, rings_, and detailsBasic3DVector::z.
const Ring::type Roads::getRingType | ( | DetId | id | ) | const |
Definition at line 390 of file Roads.cc.
References PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, Ring::PXBRing, Ring::PXFRing, StripSubdetector::TEC, Ring::TECRing, StripSubdetector::TIB, Ring::TIBRing, StripSubdetector::TID, Ring::TIDRing, StripSubdetector::TOB, Ring::TOBRing, and Ring::Unspecified.
Referenced by getRoadSeed().
const Roads::RoadSeed * Roads::getRoadSeed | ( | DetId | InnerSeedRing, |
DetId | OuterSeedRing, | ||
double | InnerSeedRingPhi = 999999. , |
||
double | OuterSeedRingPhi = 999999. , |
||
double | dphi_scalefactor = 1.5 |
||
) | const |
Definition at line 272 of file Roads.cc.
References getRingType(), DetId::rawId(), and roadMap_.
const Roads::RoadSeed * Roads::getRoadSeed | ( | std::vector< DetId > | seedRingDetIds, |
std::vector< double > | seedRingHitsPhi, | ||
double | dphi_scalefactor = 1.5 |
||
) | const |
Definition at line 310 of file Roads.cc.
References newFWLiteAna::found, getRingType(), phi, RoadSearchDetIdHelper::ReturnRPhiId(), and roadMap_.
|
inline |
const Roads::type Roads::getRoadType | ( | const RoadSeed *const | seed | ) | const |
Definition at line 370 of file Roads.cc.
References relativeConstraints::ring, RPhi, Ring::TOBRing, and ZPhi.
Definition at line 55 of file Roads.h.
References roadMap_.
Referenced by RoadMaker::AddRoad(), and RoadMaker::constructRoads().
Definition at line 56 of file Roads.h.
References roadMap_.
void Roads::readInFromAsciiFile | ( | std::string | ascii_file | ) |
Definition at line 47 of file Roads.cc.
References Rings::getRing(), i, getHLTprescales::index, LaserDQM_cfg::input, j, geometryCSVtoXML::line, rings_, roadMap_, and runtimedef::set().
Referenced by Roads().
|
inline |
Definition at line 64 of file Roads.h.
References roadMap_.
Referenced by RoadMaker::constructRoads().
|
private |
Definition at line 96 of file Roads.h.
Referenced by getRing(), and readInFromAsciiFile().
|
private |
Definition at line 97 of file Roads.h.
Referenced by begin(), dump(), end(), erase(), getRoadSeed(), getRoadSet(), insert(), readInFromAsciiFile(), and size().