Public Member Functions | |
bool | choose (unsigned int iIndex, edmtest::Thing const &iItem) |
void | preChoose (edm::Handle< edmtest::ThingCollection > tc, edm::Event const &event, edm::EventSetup const &es) |
void | reset () |
ThinningThingSelector (edm::ParameterSet const &pset, edm::ConsumesCollector &&cc) | |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Private Attributes | |
unsigned int | expectedCollectionSize_ |
std::set< unsigned int > | keysToSave_ |
unsigned int | offsetToThinnedKey_ |
unsigned int | offsetToValue_ |
int | slimmedValueFactor_ |
edm::EDGetTokenT< TrackOfThingsCollection > | trackToken_ |
edm::ESGetToken< edmtest::WhatsIt, GadgetRcd > | whatsItToken_ |
Definition at line 29 of file ThinningThingProducer.cc.
edmtest::ThinningThingSelector::ThinningThingSelector | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector && | cc | ||
) |
Definition at line 52 of file ThinningThingProducer.cc.
References gpuPixelDoublets::cc, expectedCollectionSize_, offsetToThinnedKey_, offsetToValue_, muonDTDigis_cfi::pset, slimmedValueFactor_, trackToken_, and whatsItToken_.
bool edmtest::ThinningThingSelector::choose | ( | unsigned int | iIndex, |
edmtest::Thing const & | iItem | ||
) |
Definition at line 90 of file ThinningThingProducer.cc.
References Exception, keysToSave_, offsetToValue_, and slimmedValueFactor_.
|
static |
Definition at line 61 of file ThinningThingProducer.cc.
References submitPVResolutionJobs::desc.
void edmtest::ThinningThingSelector::preChoose | ( | edm::Handle< edmtest::ThingCollection > | tc, |
edm::Event const & | event, | ||
edm::EventSetup const & | es | ||
) |
Definition at line 69 of file ThinningThingProducer.cc.
References Exception, expectedCollectionSize_, edm::EventSetup::getHandle(), edm::ESHandleBase::isValid(), keysToSave_, offsetToThinnedKey_, HLT_2024v10_cff::track, trackToken_, and whatsItToken_.
|
inline |
Definition at line 39 of file ThinningThingProducer.cc.
References keysToSave_.
|
private |
Definition at line 48 of file ThinningThingProducer.cc.
Referenced by preChoose(), and ThinningThingSelector().
|
private |
Definition at line 45 of file ThinningThingProducer.cc.
Referenced by choose(), preChoose(), and reset().
|
private |
Definition at line 46 of file ThinningThingProducer.cc.
Referenced by preChoose(), and ThinningThingSelector().
|
private |
Definition at line 47 of file ThinningThingProducer.cc.
Referenced by choose(), and ThinningThingSelector().
|
private |
Definition at line 49 of file ThinningThingProducer.cc.
Referenced by choose(), and ThinningThingSelector().
|
private |
Definition at line 42 of file ThinningThingProducer.cc.
Referenced by preChoose(), and ThinningThingSelector().
|
private |
Definition at line 43 of file ThinningThingProducer.cc.
Referenced by preChoose(), and ThinningThingSelector().