1 #ifndef SimDataFormats_TrackerDigiSimLink_interface_StripCompactDigiSimLinks_h
2 #define SimDataFormats_TrackerDigiSimLink_interface_StripCompactDigiSimLinks_h
7 #include <boost/range.hpp>
17 typedef std::pair<EncodedEventId, unsigned int>
key_type;
25 typedef boost::sub_range<const std::vector<HitRecord> >
Links;
46 typedef std::map<key_type, std::vector<HitRecord> >
Map;
TrackRecord(key_type k, unsigned int offset)
boost::sub_range< const std::vector< HitRecord > > Links
Links getLinks(const key_type &key) const
std::pair< EncodedEventId, unsigned int > key_type
RevLink(const TrackRecord &track, const HitRecord &hit)
void insert(const key_type &key, const HitRecord &record)
HitRecord(uint32_t detid, uint16_t first, uint16_t size)
tuple nStrips
1.2 is to make the matching window safely the two nearest strips 0.35 is the size of an ME0 chamber i...
void swap(Association< C > &lhs, Association< C > &rhs)
U second(std::pair< T, U > const &p)
const Map & storage() const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
bool operator<(const TrackRecord &other) const
tuple key
prepare the HTCondor submission files and eventually submit them
unsigned int keySize() const
std::vector< TrackRecord > trackRecords_
~StripCompactDigiSimLinks()
std::map< key_type, std::vector< HitRecord > > Map
void swap(StripCompactDigiSimLinks &other)
std::map< uint32_t, std::vector< RevLink > > makeReverseMap() const
Make the map in the reverse direction. SLOW! call it only once.
StripCompactDigiSimLinks()
Empty constructor, for ROOT persistence.
Links operator[](const key_type &key) const
bool operator<(const key_type &otherKey) const
bool operator==(const key_type &otherKey) const
tuple size
Write out results.
std::vector< HitRecord > hitRecords_
unsigned int dataSize() const