1 #ifndef RECOTRACKER_ROADS_H
2 #define RECOTRACKER_ROADS_H
38 typedef std::pair<std::vector<const Ring*>, std::vector<const Ring*> >
RoadSeed;
39 typedef std::vector<std::vector<const Ring*> >
RoadSet;
40 typedef std::multimap<RoadSeed,RoadSet,RoadMapSorting>
RoadMap;
66 void dump(std::string ascii_filename =
"roads.dat")
const;
74 double InnerSeedRingPhi = 999999.,
75 double OuterSeedRingPhi = 999999.,
76 double dphi_scalefactor=1.5)
const;
79 std::vector<double> seedRingHitsPhi,
80 double dphi_scalefactor=1.5)
const;
void insert(RoadSeed *seed, RoadSet *set)
const Ring * getRing(DetId id, double phi=999999., double z=999999.) const
RoadMap::iterator iterator
void dumpHeader(std::ofstream &stream) const
void readInFromAsciiFile(std::string ascii_file)
std::vector< std::vector< const Ring * > > RoadSet
std::pair< std::string, MonitorElement * > entry
void erase(iterator entry)
std::pair< std::vector< const Ring * >, std::vector< const Ring * > > RoadSeed
RoadMap::const_iterator const_iterator
const Ring::type getRingType(DetId id) const
const type getRoadType(const RoadSeed *const seed) const
std::multimap< RoadSeed, RoadSet, RoadMapSorting > RoadMap
void dump(std::string ascii_filename="roads.dat") const
RoadMap::size_type size() const
const_iterator end() const
void insert(RoadSeed seed, RoadSet set)
const_iterator begin() const
const_iterator getRoadSet(const RoadSeed *seed) const
const Ring * getRing(DetId id, double phi=999999., double z=999999.) const
const RoadSeed * getRoadSeed(DetId InnerSeedRing, DetId OuterSeedRing, double InnerSeedRingPhi=999999., double OuterSeedRingPhi=999999., double dphi_scalefactor=1.5) const
void set(const std::string &name, int value)
set the flag, with a run-time name