Public Member Functions | |
bool | choose (unsigned int iIndex, edmtest::Thing const &iItem) const |
void | preChoose (edm::Handle< edmNew::DetSetVector< Thing >> tc, edm::Event const &event, edm::EventSetup const &es) |
void | reset () |
ThinningDSVThingSelector (edm::ParameterSet const &pset, edm::ConsumesCollector &&cc) | |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Private Attributes | |
unsigned int const | expectedDetSets_ |
unsigned int const | expectedDetSetSize_ |
edm::ThinnedRefSet< edmNew::DetSetVector< Thing > > | keysToSave_ |
unsigned int const | offsetToValue_ |
int const | slimmedValueFactor_ |
edm::EDGetTokenT< TrackOfDSVThingsCollection > const | trackToken_ |
Definition at line 21 of file ThinningDSVThingProducer.cc.
edmtest::ThinningDSVThingSelector::ThinningDSVThingSelector | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector && | cc | ||
) |
Definition at line 42 of file ThinningDSVThingProducer.cc.
bool edmtest::ThinningDSVThingSelector::choose | ( | unsigned int | iIndex, |
edmtest::Thing const & | iItem | ||
) | const |
Definition at line 84 of file ThinningDSVThingProducer.cc.
References edm::ThinnedRefSet< C >::contains(), Exception, keysToSave_, offsetToValue_, and slimmedValueFactor_.
|
static |
Definition at line 52 of file ThinningDSVThingProducer.cc.
References submitPVResolutionJobs::desc.
void edmtest::ThinningDSVThingSelector::preChoose | ( | edm::Handle< edmNew::DetSetVector< Thing >> | tc, |
edm::Event const & | event, | ||
edm::EventSetup const & | es | ||
) |
Definition at line 61 of file ThinningDSVThingProducer.cc.
References Exception, expectedDetSets_, expectedDetSetSize_, edm::ThinnedRefSet< C >::fill(), trigObjTnPSource_cfi::filler, keysToSave_, HLT_2023v12_cff::track, and trackToken_.
|
inline |
Definition at line 31 of file ThinningDSVThingProducer.cc.
References edm::ThinnedRefSet< C >::clear(), and keysToSave_.
|
private |
Definition at line 37 of file ThinningDSVThingProducer.cc.
Referenced by preChoose().
|
private |
Definition at line 38 of file ThinningDSVThingProducer.cc.
Referenced by preChoose().
|
private |
Definition at line 35 of file ThinningDSVThingProducer.cc.
Referenced by choose(), preChoose(), and reset().
|
private |
Definition at line 36 of file ThinningDSVThingProducer.cc.
Referenced by choose().
|
private |
Definition at line 39 of file ThinningDSVThingProducer.cc.
Referenced by choose().
|
private |
Definition at line 34 of file ThinningDSVThingProducer.cc.
Referenced by preChoose().