|
|
#include <OutputModuleBase.h>
|
BranchIDLists const * | branchIDLists () const |
|
std::array< bool, NumBranchTypes > const & | hasNewlyDroppedBranch () const |
|
SelectedProductsForBranchType const & | keptProducts () const |
|
int | maxEvents () const |
|
const ModuleDescription & | moduleDescription () const |
|
OutputModuleBase & | operator= (OutputModuleBase const &)=delete |
|
| OutputModuleBase (OutputModuleBase const &)=delete |
|
| OutputModuleBase (ParameterSet const &pset) |
|
std::string const & | processName () const |
|
int | remainingEvents () const |
|
bool | selected (BranchDescription const &desc) const |
|
void | selectProducts (ProductRegistry const &preg, ThinnedAssociationsHelper const &) |
|
ThinnedAssociationsHelper const * | thinnedAssociationsHelper () const |
|
bool | wantAllEvents () const |
|
bool | wantsGlobalLuminosityBlocks () const |
|
bool | wantsGlobalRuns () const |
|
virtual bool | wantsStreamLuminosityBlocks () const =0 |
|
virtual bool | wantsStreamRuns () const =0 |
|
| ~OutputModuleBase () override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
void | configure (OutputModuleDescription const &desc) |
|
ModuleDescription const & | description () const |
|
void | doBeginJob () |
|
bool | doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *) |
|
bool | doBeginRun (RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *) |
|
void | doBeginStream (StreamID id) |
|
void | doEndJob () |
|
bool | doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *) |
|
bool | doEndRun (RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *) |
|
void | doEndStream (StreamID id) |
|
bool | doEvent (EventPrincipal const &ep, EventSetupImpl const &c, ActivityRegistry *, ModuleCallingContext const *) |
|
void | doPreallocate (PreallocationConfiguration const &) |
|
void | doStreamBeginLuminosityBlock (StreamID id, LuminosityBlockPrincipal &ep, EventSetupImpl const &c, ModuleCallingContext const *) |
|
void | doStreamBeginRun (StreamID id, RunPrincipal &ep, EventSetupImpl const &c, ModuleCallingContext const *) |
|
void | doStreamEndLuminosityBlock (StreamID id, LuminosityBlockPrincipal &ep, EventSetupImpl const &c, ModuleCallingContext const *) |
|
void | doStreamEndRun (StreamID id, RunPrincipal &ep, EventSetupImpl const &c, ModuleCallingContext const *) |
|
std::map< BranchID::value_type, BranchID::value_type > const & | droppedBranchIDToKeptBranchID () |
|
void | preActionBeforeRunEventAsync (WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const |
|
ParameterSetID | selectorConfig () const |
|
void | setEventSelectionInfo (std::map< std::string, std::vector< std::pair< std::string, int >>> const &outputModulePathPositions, bool anyProductProduced) |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
|
virtual void | beginJob () |
|
virtual void | doBeginLuminosityBlock_ (LuminosityBlockForOutput const &) |
|
virtual void | doBeginLuminosityBlockSummary_ (LuminosityBlockForOutput const &, EventSetup const &) |
|
virtual void | doBeginRun_ (RunForOutput const &) |
|
virtual void | doBeginRunSummary_ (RunForOutput const &, EventSetup const &) |
|
virtual void | doBeginStream_ (StreamID) |
|
void | doCloseFile () |
| Tell the OutputModule that is must end the current file. More...
|
|
virtual void | doEndLuminosityBlock_ (LuminosityBlockForOutput const &) |
|
virtual void | doEndLuminosityBlockSummary_ (LuminosityBlockForOutput const &, EventSetup const &) |
|
virtual void | doEndRun_ (RunForOutput const &) |
|
virtual void | doEndRunSummary_ (RunForOutput const &, EventSetup const &) |
|
virtual void | doEndStream_ (StreamID) |
|
void | doOpenFile (FileBlock const &fb) |
|
void | doRegisterThinnedAssociations (ProductRegistry const &, ThinnedAssociationsHelper &) |
|
void | doRespondToCloseInputFile (FileBlock const &fb) |
|
virtual void | doRespondToCloseInputFile_ (FileBlock const &) |
|
void | doRespondToOpenInputFile (FileBlock const &fb) |
|
virtual void | doRespondToOpenInputFile_ (FileBlock const &) |
|
virtual void | doStreamBeginLuminosityBlock_ (StreamID, LuminosityBlockForOutput const &, EventSetup const &) |
|
virtual void | doStreamBeginRun_ (StreamID, RunForOutput const &, EventSetup const &) |
|
virtual void | doStreamEndLuminosityBlock_ (StreamID, LuminosityBlockForOutput const &, EventSetup const &) |
|
virtual void | doStreamEndLuminosityBlockSummary_ (StreamID, LuminosityBlockForOutput const &, EventSetup const &) |
|
virtual void | doStreamEndRun_ (StreamID, RunForOutput const &, EventSetup const &) |
|
virtual void | doStreamEndRunSummary_ (StreamID, RunForOutput const &, EventSetup const &) |
|
void | doWriteLuminosityBlock (LuminosityBlockPrincipal const &lbp, ModuleCallingContext const *) |
|
void | doWriteRun (RunPrincipal const &rp, ModuleCallingContext const *, MergeableRunProductMetadata const *) |
|
virtual void | endJob () |
|
bool | hasAccumulator () const |
|
bool | hasAcquire () const |
|
virtual bool | isFileOpen () const |
|
void | keepThisBranch (BranchDescription const &desc, std::map< BranchID, BranchDescription const * > &trueBranchIDToKeptBranchDesc, std::set< BranchID > &keptProductsInEvent) |
|
bool | limitReached () const |
|
bool | needToRunSelection () const |
|
virtual void | openFile (FileBlock const &) |
|
virtual void | preallocate (PreallocationConfiguration const &) |
|
virtual void | preallocLumis (unsigned int) |
|
virtual void | preallocStreams (unsigned int) |
|
bool | prePrefetchSelection (StreamID id, EventPrincipal const &, ModuleCallingContext const *) |
|
std::vector< ProductResolverIndexAndSkipBit > | productsUsedBySelection () const |
|
virtual void | reallyCloseFile () |
|
void | registerProductsAndCallbacks (OutputModuleBase const *, ProductRegistry const *) |
|
void | setModuleDescription (ModuleDescription const &md) |
|
virtual void | setProcessesWithSelectedMergeableRunProducts (std::set< std::string > const &) |
|
virtual bool | shouldWeCloseFile () const |
| Ask the OutputModule if we should end the current file. More...
|
|
void | updateBranchIDListsWithKeptAliases () |
|
std::string | workerType () const |
|
virtual void | write (EventForOutput const &)=0 |
|
virtual void | writeLuminosityBlock (LuminosityBlockForOutput const &)=0 |
|
virtual void | writeRun (RunForOutput const &)=0 |
|
Definition at line 65 of file OutputModuleBase.h.
◆ ModuleType
◆ OutputModuleBase() [1/2]
OutputModuleBase::OutputModuleBase |
( |
ParameterSet const & |
pset | ) |
|
|
explicit |
Definition at line 42 of file OutputModuleBase.cc.
References edm::detail::configureEventSelector(), edm::EDConsumerBase::consumesCollector(), edm::getAllTriggerNames(), hasNewlyDroppedBranch_, edm::ParameterSet::id(), process_name_, muonDTDigis_cfi::pset, edm::ParameterSet::registerIt(), selectEvents_, selector_config_id_, selectors_, and wantAllEvents_.
◆ ~OutputModuleBase()
OutputModuleBase::~OutputModuleBase |
( |
| ) |
|
|
override |
◆ OutputModuleBase() [2/2]
◆ baseType()
const std::string & OutputModuleBase::baseType |
( |
| ) |
|
|
static |
◆ beginJob()
virtual void edm::global::OutputModuleBase::beginJob |
( |
void |
| ) |
|
|
inlineprivatevirtual |
◆ branchIDLists()
◆ configure()
◆ description()
◆ doBeginJob()
void OutputModuleBase::doBeginJob |
( |
| ) |
|
|
protected |
◆ doBeginLuminosityBlock()
◆ doBeginLuminosityBlock_()
◆ doBeginLuminosityBlockSummary_()
◆ doBeginRun()
◆ doBeginRun_()
virtual void edm::global::OutputModuleBase::doBeginRun_ |
( |
RunForOutput const & |
| ) |
|
|
inlineprivatevirtual |
◆ doBeginRunSummary_()
◆ doBeginStream()
void edm::global::OutputModuleBase::doBeginStream |
( |
StreamID |
id | ) |
|
|
protected |
◆ doBeginStream_()
virtual void edm::global::OutputModuleBase::doBeginStream_ |
( |
StreamID |
| ) |
|
|
inlineprivatevirtual |
◆ doCloseFile()
void OutputModuleBase::doCloseFile |
( |
| ) |
|
|
private |
◆ doEndJob()
void OutputModuleBase::doEndJob |
( |
| ) |
|
|
protected |
◆ doEndLuminosityBlock()
◆ doEndLuminosityBlock_()
◆ doEndLuminosityBlockSummary_()
◆ doEndRun()
◆ doEndRun_()
virtual void edm::global::OutputModuleBase::doEndRun_ |
( |
RunForOutput const & |
| ) |
|
|
inlineprivatevirtual |
◆ doEndRunSummary_()
◆ doEndStream()
void edm::global::OutputModuleBase::doEndStream |
( |
StreamID |
id | ) |
|
|
protected |
◆ doEndStream_()
virtual void edm::global::OutputModuleBase::doEndStream_ |
( |
StreamID |
| ) |
|
|
inlineprivatevirtual |
◆ doEvent()
◆ doOpenFile()
void OutputModuleBase::doOpenFile |
( |
FileBlock const & |
fb | ) |
|
|
private |
◆ doPreallocate()
Definition at line 191 of file OutputModuleBase.cc.
192 auto nstreams = iPC.numberOfStreams();
195 bool seenFirst =
false;
References edm::detail::configureEventSelector(), edm::EDConsumerBase::consumesCollector(), edm::getAllTriggerNames(), edm::PreallocationConfiguration::numberOfLuminosityBlocks(), edm::PreallocationConfiguration::numberOfStreams(), preallocate(), preallocLumis(), preallocStreams(), process_name_, alignCSCRings::s, selectEvents_, and selectors_.
◆ doRegisterThinnedAssociations()
◆ doRespondToCloseInputFile()
void OutputModuleBase::doRespondToCloseInputFile |
( |
FileBlock const & |
fb | ) |
|
|
private |
◆ doRespondToCloseInputFile_()
virtual void edm::global::OutputModuleBase::doRespondToCloseInputFile_ |
( |
FileBlock const & |
| ) |
|
|
inlineprivatevirtual |
◆ doRespondToOpenInputFile()
void OutputModuleBase::doRespondToOpenInputFile |
( |
FileBlock const & |
fb | ) |
|
|
private |
◆ doRespondToOpenInputFile_()
virtual void edm::global::OutputModuleBase::doRespondToOpenInputFile_ |
( |
FileBlock const & |
| ) |
|
|
inlineprivatevirtual |
◆ doStreamBeginLuminosityBlock()
◆ doStreamBeginLuminosityBlock_()
◆ doStreamBeginRun()
◆ doStreamBeginRun_()
◆ doStreamEndLuminosityBlock()
◆ doStreamEndLuminosityBlock_()
◆ doStreamEndLuminosityBlockSummary_()
◆ doStreamEndRun()
◆ doStreamEndRun_()
◆ doStreamEndRunSummary_()
◆ doWriteLuminosityBlock()
◆ doWriteRun()
◆ droppedBranchIDToKeptBranchID()
◆ endJob()
virtual void edm::global::OutputModuleBase::endJob |
( |
void |
| ) |
|
|
inlineprivatevirtual |
◆ fillDescription()
◆ fillDescriptions()
◆ hasAccumulator()
bool edm::global::OutputModuleBase::hasAccumulator |
( |
| ) |
const |
|
inlineprivate |
◆ hasAcquire()
bool edm::global::OutputModuleBase::hasAcquire |
( |
| ) |
const |
|
inlineprivate |
◆ hasNewlyDroppedBranch()
std::array<bool, NumBranchTypes> const& edm::global::OutputModuleBase::hasNewlyDroppedBranch |
( |
| ) |
const |
|
inline |
◆ isFileOpen()
virtual bool edm::global::OutputModuleBase::isFileOpen |
( |
| ) |
const |
|
inlineprivatevirtual |
◆ keepThisBranch()
Definition at line 154 of file OutputModuleBase.cc.
160 switch (desc.branchType()) {
162 if (desc.produced()) {
163 keptProductsInEvent.insert(desc.originalBranchID());
165 keptProductsInEvent.insert(desc.branchID());
168 InputTag{desc.moduleLabel(), desc.productInstanceName(), desc.processName()});
173 InputTag(desc.moduleLabel(), desc.productInstanceName(), desc.processName()));
178 InputTag(desc.moduleLabel(), desc.productInstanceName(), desc.processName()));
References cms::cuda::assert(), edm::BranchDescription::branchID(), edm::BranchDescription::branchType(), edm::ProductSelector::checkForDuplicateKeptBranch(), edm::EDConsumerBase::consumes(), edm::InEvent, edm::InLumi, HLT_2018_cff::InputTag, edm::InRun, keptProducts_, edm::BranchDescription::moduleLabel(), edm::BranchDescription::originalBranchID(), edm::BranchDescription::processName(), edm::BranchDescription::produced(), edm::PRODUCT_TYPE, edm::BranchDescription::productInstanceName(), unpackBuffers-CaloStage2::token, and edm::BranchDescription::unwrappedTypeID().
Referenced by selectProducts().
◆ keptProducts()
◆ limitReached()
bool edm::global::OutputModuleBase::limitReached |
( |
| ) |
const |
|
inlineprivate |
◆ maxEvents()
int edm::global::OutputModuleBase::maxEvents |
( |
| ) |
const |
|
inline |
◆ moduleDescription()
◆ needToRunSelection()
bool OutputModuleBase::needToRunSelection |
( |
| ) |
const |
|
private |
◆ openFile()
virtual void edm::global::OutputModuleBase::openFile |
( |
FileBlock const & |
| ) |
|
|
inlineprivatevirtual |
◆ operator=()
◆ preActionBeforeRunEventAsync()
◆ preallocate()
◆ preallocLumis()
virtual void edm::global::OutputModuleBase::preallocLumis |
( |
unsigned int |
| ) |
|
|
inlineprivatevirtual |
◆ preallocStreams()
virtual void edm::global::OutputModuleBase::preallocStreams |
( |
unsigned int |
| ) |
|
|
inlineprivatevirtual |
◆ prePrefetchSelection()
◆ prevalidate()
◆ processName()
std::string const& edm::global::OutputModuleBase::processName |
( |
| ) |
const |
|
inline |
◆ productsUsedBySelection()
◆ reallyCloseFile()
void OutputModuleBase::reallyCloseFile |
( |
| ) |
|
|
privatevirtual |
◆ registerProductsAndCallbacks()
◆ remainingEvents()
int edm::global::OutputModuleBase::remainingEvents |
( |
| ) |
const |
|
inline |
◆ selected()
◆ selectorConfig()
ParameterSetID edm::global::OutputModuleBase::selectorConfig |
( |
| ) |
const |
|
inlineprotected |
◆ selectProducts()
Definition at line 81 of file OutputModuleBase.cc.
91 std::map<BranchID, BranchDescription const*> trueBranchIDToKeptBranchDesc;
92 std::vector<BranchDescription const*> associationDescriptions;
93 std::set<BranchID> keptProductsInEvent;
94 std::set<std::string> processesWithSelectedMergeableRunProducts;
96 for (
auto const& it : preg.productList()) {
97 BranchDescription
const& desc = it.second;
98 if (desc.transient()) {
100 }
else if (!desc.present() && !desc.produced()) {
103 }
else if (desc.unwrappedType() ==
typeid(ThinnedAssociation)) {
104 associationDescriptions.push_back(&desc);
106 keepThisBranch(desc, trueBranchIDToKeptBranchDesc, keptProductsInEvent);
References edm::ProductRegistry::allBranchDescriptions(), TrackValidation_cff::association, edm::BranchDescription::branchType(), droppedBranchIDToKeptBranchID_, edm::ProductSelector::fillDroppedToKept(), hasNewlyDroppedBranch_, edm::ProductSelector::initialize(), edm::ProductSelector::initialized(), edm::insertSelectedProcesses(), keepAssociation_, keepThisBranch(), edm::BranchDescription::present(), edm::BranchDescription::produced(), edm::ProductRegistry::productList(), productSelector_, productSelectorRules_, edm::ThinnedAssociationsHelper::selectAssociationProducts(), selected(), setProcessesWithSelectedMergeableRunProducts(), thinnedAssociationsHelper(), thinnedAssociationsHelper_, edm::BranchDescription::transient(), and edm::BranchDescription::unwrappedType().
◆ setEventSelectionInfo()
void edm::global::OutputModuleBase::setEventSelectionInfo |
( |
std::map< std::string, std::vector< std::pair< std::string, int >>> const & |
outputModulePathPositions, |
|
|
bool |
anyProductProduced |
|
) |
| |
|
protected |
◆ setModuleDescription()
void edm::global::OutputModuleBase::setModuleDescription |
( |
ModuleDescription const & |
md | ) |
|
|
inlineprivate |
◆ setProcessesWithSelectedMergeableRunProducts()
virtual void edm::global::OutputModuleBase::setProcessesWithSelectedMergeableRunProducts |
( |
std::set< std::string > const & |
| ) |
|
|
inlineprivatevirtual |
◆ shouldWeCloseFile()
virtual bool edm::global::OutputModuleBase::shouldWeCloseFile |
( |
| ) |
const |
|
inlineprivatevirtual |
◆ thinnedAssociationsHelper()
◆ updateBranchIDListsWithKeptAliases()
void OutputModuleBase::updateBranchIDListsWithKeptAliases |
( |
| ) |
|
|
private |
◆ wantAllEvents()
bool edm::global::OutputModuleBase::wantAllEvents |
( |
| ) |
const |
|
inline |
◆ wantsGlobalLuminosityBlocks()
bool edm::global::OutputModuleBase::wantsGlobalLuminosityBlocks |
( |
| ) |
const |
|
inline |
◆ wantsGlobalRuns()
bool edm::global::OutputModuleBase::wantsGlobalRuns |
( |
| ) |
const |
|
inline |
◆ wantsStreamLuminosityBlocks()
virtual bool edm::global::OutputModuleBase::wantsStreamLuminosityBlocks |
( |
| ) |
const |
|
pure virtual |
◆ wantsStreamRuns()
virtual bool edm::global::OutputModuleBase::wantsStreamRuns |
( |
| ) |
const |
|
pure virtual |
◆ workerType()
std::string edm::global::OutputModuleBase::workerType |
( |
| ) |
const |
|
inlineprivate |
Definition at line 220 of file OutputModuleBase.h.
220 {
return "WorkerT<edm::global::OutputModuleBase>"; }
◆ write()
virtual void edm::global::OutputModuleBase::write |
( |
EventForOutput const & |
| ) |
|
|
privatepure virtual |
◆ writeLuminosityBlock()
◆ writeRun()
virtual void edm::global::OutputModuleBase::writeRun |
( |
RunForOutput const & |
| ) |
|
|
privatepure virtual |
◆ ::edm::OutputModuleCommunicatorT
◆ ::edm::WorkerT
◆ edm::maker::ModuleHolderT
◆ branchIDLists_
◆ droppedBranchIDToKeptBranchID_
◆ hasNewlyDroppedBranch_
std::array<bool, NumBranchTypes> edm::global::OutputModuleBase::hasNewlyDroppedBranch_ |
|
private |
◆ keepAssociation_
std::map<BranchID, bool> edm::global::OutputModuleBase::keepAssociation_ |
|
private |
◆ keptProducts_
◆ maxEvents_
int edm::global::OutputModuleBase::maxEvents_ |
|
private |
◆ moduleDescription_
Definition at line 189 of file OutputModuleBase.h.
Referenced by description(), doBeginLuminosityBlock(), doBeginRun(), doEndLuminosityBlock(), doEndRun(), doEvent(), doWriteLuminosityBlock(), doWriteRun(), moduleDescription(), prePrefetchSelection(), and setModuleDescription().
◆ origBranchIDLists_
BranchIDLists const* edm::global::OutputModuleBase::origBranchIDLists_ |
|
private |
◆ process_name_
std::string edm::global::OutputModuleBase::process_name_ |
|
private |
◆ productSelector_
◆ productSelectorRules_
◆ remainingEvents_
std::atomic<int> edm::global::OutputModuleBase::remainingEvents_ |
|
private |
◆ selectEvents_
◆ selector_config_id_
◆ selectors_
◆ thinnedAssociationsHelper_
◆ wantAllEvents_
bool edm::global::OutputModuleBase::wantAllEvents_ |
|
private |
ParameterSet const & registerIt()
static const std::string kBaseType("EDAnalyzer")
virtual void doBeginRun_(RunForOutput const &)
std::vector< std::string > const & getAllTriggerNames()
ProductSelectorRules productSelectorRules_
virtual void setProcessesWithSelectedMergeableRunProducts(std::set< std::string > const &)
void updateBranchIDListsWithKeptAliases()
virtual void reallyCloseFile()
ParameterSetID selector_config_id_
int remainingEvents() const
void initialize(ProductSelectorRules const &rules, std::vector< BranchDescription const * > const &branchDescriptions)
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
bool selected(BranchDescription const &desc) const
ParameterSetID id() const
virtual void doEndLuminosityBlock_(LuminosityBlockForOutput const &)
virtual void preallocate(PreallocationConfiguration const &)
ProductResolverIndexAndSkipBit uncheckedIndexFrom(EDGetToken) const
ModuleDescription moduleDescription_
element_type const * get() const
BranchIDLists const * origBranchIDLists_
std::vector< BranchID::value_type > BranchIDList
static void checkForDuplicateKeptBranch(BranchDescription const &desc, std::map< BranchID, BranchDescription const * > &trueBranchIDToKeptBranchDesc)
void selectAssociationProducts(std::vector< BranchDescription const * > const &associationDescriptions, std::set< BranchID > const &keptProductsInEvent, std::map< BranchID, bool > &keepAssociation) const
SelectedProductsForBranchType keptProducts_
virtual void preallocStreams(unsigned int)
static void fillDroppedToKept(ProductRegistry const &preg, std::map< BranchID, BranchDescription const * > const &trueBranchIDToKeptBranchDesc, std::map< BranchID::value_type, BranchID::value_type > &droppedBranchIDToKeptBranchID_)
std::vector< BranchIDList > BranchIDLists
virtual void openFile(FileBlock const &)
void keepThisBranch(BranchDescription const &desc, std::map< BranchID, BranchDescription const * > &trueBranchIDToKeptBranchDesc, std::set< BranchID > &keptProductsInEvent)
virtual void doEndRun_(RunForOutput const &)
static void fillDescription(ParameterSetDescription &desc, char const *parameterName, std::vector< std::string > const &defaultStrings=defaultSelectionStrings())
virtual void doRespondToCloseInputFile_(FileBlock const &)
std::map< BranchID, bool > keepAssociation_
std::string process_name_
virtual void doRespondToOpenInputFile_(FileBlock const &)
bool configureEventSelector(edm::ParameterSet const &iPSet, std::string const &iProcessName, std::vector< std::string > const &iAllTriggerNames, edm::detail::TriggerResultsBasedEventSelector &oSelector, ConsumesCollector &&iC)
ParameterSet selectEvents_
std::map< BranchID::value_type, BranchID::value_type > droppedBranchIDToKeptBranchID_
static void fillDescription(ParameterSetDescription &desc)
ProductSelector productSelector_
edm::propagate_const< std::unique_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
virtual void writeRun(RunForOutput const &)=0
virtual void writeLuminosityBlock(LuminosityBlockForOutput const &)=0
std::array< bool, NumBranchTypes > hasNewlyDroppedBranch_
std::atomic< int > remainingEvents_
bool selected(BranchDescription const &desc) const
virtual bool isFileOpen() const
void insertSelectedProcesses(BranchDescription const &desc, std::set< std::string > &processes)
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
edm::propagate_const< std::unique_ptr< BranchIDLists > > branchIDLists_
virtual void doBeginLuminosityBlock_(LuminosityBlockForOutput const &)
ThinnedAssociationsHelper const * thinnedAssociationsHelper() const
virtual void preallocLumis(unsigned int)
std::vector< detail::TriggerResultsBasedEventSelector > selectors_
virtual void write(EventForOutput const &)=0