Public Member Functions | |
std::optional< edmtest::Thing > | 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 () |
SlimmingDSVThingSelector (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_ |
std::set< unsigned int > | keysToSave_ |
unsigned int const | offsetToThinnedKey_ |
unsigned int const | offsetToValue_ |
int const | slimmedValueFactor_ |
edm::EDGetTokenT< TrackOfDSVThingsCollection > const | trackToken_ |
Definition at line 21 of file SlimmingDSVThingProducer.cc.
edmtest::SlimmingDSVThingSelector::SlimmingDSVThingSelector | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector && | cc | ||
) |
Definition at line 43 of file SlimmingDSVThingProducer.cc.
std::optional< edmtest::Thing > edmtest::SlimmingDSVThingSelector::choose | ( | unsigned int | iIndex, |
edmtest::Thing const & | iItem | ||
) | const |
Definition at line 82 of file SlimmingDSVThingProducer.cc.
References filterCSVwithJSON::copy, Exception, keysToSave_, offsetToValue_, and slimmedValueFactor_.
|
static |
Definition at line 51 of file SlimmingDSVThingProducer.cc.
References submitPVResolutionJobs::desc.
void edmtest::SlimmingDSVThingSelector::preChoose | ( | edm::Handle< edmNew::DetSetVector< Thing >> | tc, |
edm::Event const & | event, | ||
edm::EventSetup const & | es | ||
) |
Definition at line 60 of file SlimmingDSVThingProducer.cc.
References Exception, expectedDetSets_, expectedDetSetSize_, keysToSave_, offsetToThinnedKey_, HLT_2022v15_cff::track, and trackToken_.
|
inline |
Definition at line 31 of file SlimmingDSVThingProducer.cc.
References keysToSave_.
|
private |
Definition at line 38 of file SlimmingDSVThingProducer.cc.
Referenced by preChoose().
|
private |
Definition at line 39 of file SlimmingDSVThingProducer.cc.
Referenced by preChoose().
|
private |
Definition at line 35 of file SlimmingDSVThingProducer.cc.
Referenced by choose(), preChoose(), and reset().
|
private |
Definition at line 36 of file SlimmingDSVThingProducer.cc.
Referenced by preChoose().
|
private |
Definition at line 37 of file SlimmingDSVThingProducer.cc.
Referenced by choose().
|
private |
Definition at line 40 of file SlimmingDSVThingProducer.cc.
Referenced by choose().
|
private |
Definition at line 34 of file SlimmingDSVThingProducer.cc.
Referenced by preChoose().