#include <StripCompactDigiSimLinks.h>
Classes | |
class | Filler |
struct | HitRecord |
struct | RevLink |
struct | TrackRecord |
Public Types | |
typedef std::pair< EncodedEventId, unsigned int > | key_type |
typedef boost::sub_range< const std::vector< HitRecord > > | Links |
typedef Links | value_type |
Public Member Functions | |
Links | getLinks (const key_type &key) const |
std::map< uint32_t, std::vector< RevLink > > | makeReverseMap () const |
Make the map in the reverse direction. SLOW! call it only once. More... | |
Links | operator[] (const key_type &key) const |
StripCompactDigiSimLinks () | |
Empty constructor, for ROOT persistence. More... | |
StripCompactDigiSimLinks (const Filler &filler) | |
This is the real constructor you will use. More... | |
void | swap (StripCompactDigiSimLinks &other) |
~StripCompactDigiSimLinks () | |
Private Attributes | |
std::vector< HitRecord > | hitRecords_ |
std::vector< TrackRecord > | trackRecords_ |
Definition at line 11 of file StripCompactDigiSimLinks.h.
typedef std::pair<EncodedEventId, unsigned int> StripCompactDigiSimLinks::key_type |
Definition at line 17 of file StripCompactDigiSimLinks.h.
typedef boost::sub_range<const std::vector<HitRecord> > StripCompactDigiSimLinks::Links |
Definition at line 25 of file StripCompactDigiSimLinks.h.
Definition at line 26 of file StripCompactDigiSimLinks.h.
|
inline |
Empty constructor, for ROOT persistence.
Definition at line 14 of file StripCompactDigiSimLinks.h.
|
inline |
Definition at line 15 of file StripCompactDigiSimLinks.h.
StripCompactDigiSimLinks::StripCompactDigiSimLinks | ( | const Filler & | filler | ) |
This is the real constructor you will use.
Definition at line 17 of file StripCompactDigiSimLinks.cc.
References trigObjTnPSource_cfi::filler, hitRecords_, and trackRecords_.
StripCompactDigiSimLinks::Links StripCompactDigiSimLinks::getLinks | ( | const key_type & | key | ) | const |
Definition at line 5 of file StripCompactDigiSimLinks.cc.
References mps_fire::end, hitRecords_, submitPVResolutionJobs::key, dqmdumpme::last, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, match(), and trackRecords_.
Referenced by operator[]().
std::map< uint32_t, std::vector< StripCompactDigiSimLinks::RevLink > > StripCompactDigiSimLinks::makeReverseMap | ( | ) | const |
Make the map in the reverse direction. SLOW! call it only once.
Definition at line 41 of file StripCompactDigiSimLinks.cc.
References hitRecords_, runTheMatrix::ret, and trackRecords_.
Definition at line 35 of file StripCompactDigiSimLinks.h.
References getLinks(), and submitPVResolutionJobs::key.
|
inline |
Definition at line 28 of file StripCompactDigiSimLinks.h.
References hitRecords_, trackingPlots::other, swap(), and trackRecords_.
|
private |
Definition at line 91 of file StripCompactDigiSimLinks.h.
Referenced by getLinks(), makeReverseMap(), StripCompactDigiSimLinks(), and swap().
|
private |
These MUST be sorted at the same time by key and by start The rule is enforced by allowing to create this only through a Filler
Definition at line 89 of file StripCompactDigiSimLinks.h.
Referenced by getLinks(), makeReverseMap(), StripCompactDigiSimLinks(), and swap().