1 #ifndef RECOTRACKER_RINGS_H
2 #define RECOTRACKER_RINGS_H
31 typedef std::multimap<double,Ring>
RingMap;
36 Rings(std::string ascii_file);
51 void dump(std::string ascii_filename =
"rings.dat")
const;
57 const Ring*
getRing(
unsigned int ringIndex,
double z = 999999.)
const;
61 unsigned int detector)
const;
63 unsigned int rod_fw_bw,
64 unsigned int detector)
const;
67 unsigned int ring)
const;
70 unsigned int ring)
const;
72 unsigned int detector)
const;
76 unsigned int module)
const;
const Ring * getTOBRing(unsigned int layer, unsigned int rod_fw_bw, unsigned int detector) const
const Ring * getRing(DetId id, double phi=999999., double z=999999.) const
iterator upper_bound(double z)
const_iterator begin() const
RingMap::const_iterator const_iterator
std::multimap< double, Ring > RingMap
void dump(std::string ascii_filename="rings.dat") const
void dumpHeader(std::ofstream &stream) const
RingMap::iterator iterator
const Ring * getPXFRing(unsigned int fw_bw, unsigned int disk, unsigned int panel, unsigned int module) const
const Ring * getTIDRing(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_iterator lower_bound(double z) const
const Ring * getPXBRing(unsigned int layer, unsigned int detector) const
void readInFromAsciiFile(std::string ascii_file)
void insert(double z, Ring &ring)
iterator lower_bound(double z)
const Ring * getTECRing(unsigned int fw_bw, unsigned int wheel, unsigned int ring) const
const_iterator end() const
const_iterator upper_bound(double z) const