|
|
#include <OutputModuleBase.h>
|
BranchIDLists const * | branchIDLists () const |
|
unsigned int | concurrencyLimit () 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 |
|
LimitedTaskQueue & | queue () |
|
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 &) 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 66 of file OutputModuleBase.h.
◆ ModuleType
◆ OutputModuleBase() [1/2]
OutputModuleBase::OutputModuleBase |
( |
ParameterSet const & |
pset | ) |
|
|
explicit |
Definition at line 42 of file OutputModuleBase.cc.
58 queue_(
pset.getUntrackedParameter<
unsigned int>(
"concurrencyLimit")) {
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::limited::OutputModuleBase::beginJob |
( |
void |
| ) |
|
|
inlineprivatevirtual |
◆ branchIDLists()
◆ concurrencyLimit()
unsigned int edm::limited::OutputModuleBase::concurrencyLimit |
( |
| ) |
const |
|
inline |
◆ configure()
◆ description()
◆ doBeginJob()
void OutputModuleBase::doBeginJob |
( |
| ) |
|
|
protected |
◆ doBeginLuminosityBlock()
◆ doBeginLuminosityBlock_()
◆ doBeginLuminosityBlockSummary_()
◆ doBeginRun()
◆ doBeginRun_()
virtual void edm::limited::OutputModuleBase::doBeginRun_ |
( |
RunForOutput const & |
| ) |
|
|
inlineprivatevirtual |
◆ doBeginRunSummary_()
◆ doBeginStream()
void edm::limited::OutputModuleBase::doBeginStream |
( |
StreamID |
id | ) |
|
|
protected |
◆ doBeginStream_()
virtual void edm::limited::OutputModuleBase::doBeginStream_ |
( |
StreamID |
| ) |
|
|
inlineprivatevirtual |
◆ doCloseFile()
void OutputModuleBase::doCloseFile |
( |
| ) |
|
|
private |
◆ doEndJob()
void OutputModuleBase::doEndJob |
( |
| ) |
|
|
protected |
◆ doEndLuminosityBlock()
◆ doEndLuminosityBlock_()
◆ doEndLuminosityBlockSummary_()
◆ doEndRun()
◆ doEndRun_()
virtual void edm::limited::OutputModuleBase::doEndRun_ |
( |
RunForOutput const & |
| ) |
|
|
inlineprivatevirtual |
◆ doEndRunSummary_()
◆ doEndStream()
void edm::limited::OutputModuleBase::doEndStream |
( |
StreamID |
id | ) |
|
|
protected |
◆ doEndStream_()
virtual void edm::limited::OutputModuleBase::doEndStream_ |
( |
StreamID |
| ) |
|
|
inlineprivatevirtual |
◆ doEvent()
◆ doOpenFile()
void OutputModuleBase::doOpenFile |
( |
FileBlock const & |
fb | ) |
|
|
private |
◆ doPreallocate()
Definition at line 192 of file OutputModuleBase.cc.
193 auto nstreams = iPC.numberOfStreams();
196 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::limited::OutputModuleBase::doRespondToCloseInputFile_ |
( |
FileBlock const & |
| ) |
|
|
inlineprivatevirtual |
◆ doRespondToOpenInputFile()
void OutputModuleBase::doRespondToOpenInputFile |
( |
FileBlock const & |
fb | ) |
|
|
private |
◆ doRespondToOpenInputFile_()
virtual void edm::limited::OutputModuleBase::doRespondToOpenInputFile_ |
( |
FileBlock const & |
| ) |
|
|
inlineprivatevirtual |
◆ doStreamBeginLuminosityBlock()
◆ doStreamBeginLuminosityBlock_()
◆ doStreamBeginRun()
◆ doStreamBeginRun_()
◆ doStreamEndLuminosityBlock()
◆ doStreamEndLuminosityBlock_()
◆ doStreamEndLuminosityBlockSummary_()
◆ doStreamEndRun()
◆ doStreamEndRun_()
◆ doStreamEndRunSummary_()
◆ doWriteLuminosityBlock()
◆ doWriteRun()
◆ droppedBranchIDToKeptBranchID()
◆ endJob()
virtual void edm::limited::OutputModuleBase::endJob |
( |
void |
| ) |
|
|
inlineprivatevirtual |
◆ fillDescription()
◆ fillDescriptions()
◆ hasAccumulator()
bool edm::limited::OutputModuleBase::hasAccumulator |
( |
| ) |
const |
|
inlineprivate |
◆ hasAcquire()
bool edm::limited::OutputModuleBase::hasAcquire |
( |
| ) |
const |
|
inlineprivate |
◆ hasNewlyDroppedBranch()
std::array<bool, NumBranchTypes> const& edm::limited::OutputModuleBase::hasNewlyDroppedBranch |
( |
| ) |
const |
|
inline |
◆ isFileOpen()
virtual bool edm::limited::OutputModuleBase::isFileOpen |
( |
| ) |
const |
|
inlineprivatevirtual |
◆ keepThisBranch()
Definition at line 155 of file OutputModuleBase.cc.
161 switch (desc.branchType()) {
163 if (desc.produced()) {
164 keptProductsInEvent.insert(desc.originalBranchID());
166 keptProductsInEvent.insert(desc.branchID());
169 InputTag{desc.moduleLabel(), desc.productInstanceName(), desc.processName()});
174 InputTag(desc.moduleLabel(), desc.productInstanceName(), desc.processName()));
179 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::limited::OutputModuleBase::limitReached |
( |
| ) |
const |
|
inlineprivate |
◆ maxEvents()
int edm::limited::OutputModuleBase::maxEvents |
( |
| ) |
const |
|
inline |
◆ moduleDescription()
◆ needToRunSelection()
bool OutputModuleBase::needToRunSelection |
( |
| ) |
const |
|
private |
◆ openFile()
virtual void edm::limited::OutputModuleBase::openFile |
( |
FileBlock const & |
| ) |
const |
|
inlineprivatevirtual |
◆ operator=()
◆ preActionBeforeRunEventAsync()
◆ preallocate()
◆ preallocLumis()
virtual void edm::limited::OutputModuleBase::preallocLumis |
( |
unsigned int |
| ) |
|
|
inlineprivatevirtual |
◆ preallocStreams()
virtual void edm::limited::OutputModuleBase::preallocStreams |
( |
unsigned int |
| ) |
|
|
inlineprivatevirtual |
◆ prePrefetchSelection()
◆ prevalidate()
◆ processName()
std::string const& edm::limited::OutputModuleBase::processName |
( |
| ) |
const |
|
inline |
◆ productsUsedBySelection()
◆ queue()
◆ reallyCloseFile()
void OutputModuleBase::reallyCloseFile |
( |
| ) |
|
|
privatevirtual |
◆ registerProductsAndCallbacks()
◆ remainingEvents()
int edm::limited::OutputModuleBase::remainingEvents |
( |
| ) |
const |
|
inline |
◆ selected()
◆ selectorConfig()
ParameterSetID edm::limited::OutputModuleBase::selectorConfig |
( |
| ) |
const |
|
inlineprotected |
◆ selectProducts()
Definition at line 82 of file OutputModuleBase.cc.
92 std::map<BranchID, BranchDescription const*> trueBranchIDToKeptBranchDesc;
93 std::vector<BranchDescription const*> associationDescriptions;
94 std::set<BranchID> keptProductsInEvent;
95 std::set<std::string> processesWithSelectedMergeableRunProducts;
97 for (
auto const& it : preg.productList()) {
98 BranchDescription
const& desc = it.second;
99 if (desc.transient()) {
101 }
else if (!desc.present() && !desc.produced()) {
104 }
else if (desc.unwrappedType() ==
typeid(ThinnedAssociation)) {
105 associationDescriptions.push_back(&desc);
107 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::limited::OutputModuleBase::setEventSelectionInfo |
( |
std::map< std::string, std::vector< std::pair< std::string, int >>> const & |
outputModulePathPositions, |
|
|
bool |
anyProductProduced |
|
) |
| |
|
protected |
◆ setModuleDescription()
void edm::limited::OutputModuleBase::setModuleDescription |
( |
ModuleDescription const & |
md | ) |
|
|
inlineprivate |
◆ setProcessesWithSelectedMergeableRunProducts()
virtual void edm::limited::OutputModuleBase::setProcessesWithSelectedMergeableRunProducts |
( |
std::set< std::string > const & |
| ) |
|
|
inlineprivatevirtual |
◆ shouldWeCloseFile()
virtual bool edm::limited::OutputModuleBase::shouldWeCloseFile |
( |
| ) |
const |
|
inlineprivatevirtual |
◆ thinnedAssociationsHelper()
◆ updateBranchIDListsWithKeptAliases()
void OutputModuleBase::updateBranchIDListsWithKeptAliases |
( |
| ) |
|
|
private |
◆ wantAllEvents()
bool edm::limited::OutputModuleBase::wantAllEvents |
( |
| ) |
const |
|
inline |
◆ wantsGlobalLuminosityBlocks()
bool edm::limited::OutputModuleBase::wantsGlobalLuminosityBlocks |
( |
| ) |
const |
|
inline |
◆ wantsGlobalRuns()
bool edm::limited::OutputModuleBase::wantsGlobalRuns |
( |
| ) |
const |
|
inline |
◆ wantsStreamLuminosityBlocks()
virtual bool edm::limited::OutputModuleBase::wantsStreamLuminosityBlocks |
( |
| ) |
const |
|
pure virtual |
◆ wantsStreamRuns()
virtual bool edm::limited::OutputModuleBase::wantsStreamRuns |
( |
| ) |
const |
|
pure virtual |
◆ workerType()
std::string edm::limited::OutputModuleBase::workerType |
( |
| ) |
const |
|
inlineprivate |
Definition at line 225 of file OutputModuleBase.h.
225 {
return "WorkerT<edm::limited::OutputModuleBase>"; }
◆ write()
virtual void edm::limited::OutputModuleBase::write |
( |
EventForOutput const & |
| ) |
|
|
privatepure virtual |
◆ writeLuminosityBlock()
◆ writeRun()
virtual void edm::limited::OutputModuleBase::writeRun |
( |
RunForOutput const & |
| ) |
|
|
privatepure virtual |
◆ ::edm::OutputModuleCommunicatorT
◆ ::edm::WorkerT
◆ edm::maker::ModuleHolderT
◆ branchIDLists_
◆ droppedBranchIDToKeptBranchID_
◆ hasNewlyDroppedBranch_
std::array<bool, NumBranchTypes> edm::limited::OutputModuleBase::hasNewlyDroppedBranch_ |
|
private |
◆ keepAssociation_
std::map<BranchID, bool> edm::limited::OutputModuleBase::keepAssociation_ |
|
private |
◆ keptProducts_
◆ maxEvents_
int edm::limited::OutputModuleBase::maxEvents_ |
|
private |
◆ moduleDescription_
Definition at line 193 of file OutputModuleBase.h.
Referenced by description(), doBeginLuminosityBlock(), doBeginRun(), doEndLuminosityBlock(), doEndRun(), doEvent(), doWriteLuminosityBlock(), doWriteRun(), moduleDescription(), prePrefetchSelection(), and setModuleDescription().
◆ origBranchIDLists_
BranchIDLists const* edm::limited::OutputModuleBase::origBranchIDLists_ |
|
private |
◆ process_name_
std::string edm::limited::OutputModuleBase::process_name_ |
|
private |
◆ productSelector_
◆ productSelectorRules_
◆ queue_
◆ remainingEvents_
std::atomic<int> edm::limited::OutputModuleBase::remainingEvents_ |
|
private |
◆ selectEvents_
◆ selector_config_id_
◆ selectors_
◆ thinnedAssociationsHelper_
◆ wantAllEvents_
bool edm::limited::OutputModuleBase::wantAllEvents_ |
|
private |
ParameterSet const & registerIt()
std::vector< std::string > const & getAllTriggerNames()
virtual void preallocLumis(unsigned int)
virtual void preallocate(PreallocationConfiguration const &)
virtual bool isFileOpen() const
void initialize(ProductSelectorRules const &rules, std::vector< BranchDescription const * > const &branchDescriptions)
virtual void writeRun(RunForOutput const &)=0
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 &)
std::vector< detail::TriggerResultsBasedEventSelector > selectors_
virtual void openFile(FileBlock const &) const
std::array< bool, NumBranchTypes > hasNewlyDroppedBranch_
ParameterSet selectEvents_
ProductResolverIndexAndSkipBit uncheckedIndexFrom(EDGetToken) const
element_type const * get() const
ModuleDescription moduleDescription_
ProductSelectorRules productSelectorRules_
virtual void reallyCloseFile()
std::vector< BranchID::value_type > BranchIDList
static void checkForDuplicateKeptBranch(BranchDescription const &desc, std::map< BranchID, BranchDescription const * > &trueBranchIDToKeptBranchDesc)
SelectedProductsForBranchType keptProducts_
void selectAssociationProducts(std::vector< BranchDescription const * > const &associationDescriptions, std::set< BranchID > const &keptProductsInEvent, std::map< BranchID, bool > &keepAssociation) const
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
edm::propagate_const< std::unique_ptr< BranchIDLists > > branchIDLists_
unsigned int concurrencyLimit() const
static const std::string kBaseType("EDAnalyzer")
std::map< BranchID::value_type, BranchID::value_type > droppedBranchIDToKeptBranchID_
static void fillDescription(ParameterSetDescription &desc, char const *parameterName, std::vector< std::string > const &defaultStrings=defaultSelectionStrings())
ThinnedAssociationsHelper const * thinnedAssociationsHelper() const
ParameterSetID selector_config_id_
edm::propagate_const< std::unique_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
virtual void write(EventForOutput const &)=0
virtual void writeLuminosityBlock(LuminosityBlockForOutput const &)=0
virtual void doRespondToOpenInputFile_(FileBlock const &)
ProductSelector productSelector_
int remainingEvents() const
BranchIDLists const * origBranchIDLists_
bool configureEventSelector(edm::ParameterSet const &iPSet, std::string const &iProcessName, std::vector< std::string > const &iAllTriggerNames, edm::detail::TriggerResultsBasedEventSelector &oSelector, ConsumesCollector &&iC)
static void fillDescription(ParameterSetDescription &desc)
std::atomic< int > remainingEvents_
std::string process_name_
void updateBranchIDListsWithKeptAliases()
bool selected(BranchDescription const &desc) const
virtual void preallocStreams(unsigned int)
virtual void doBeginLuminosityBlock_(LuminosityBlockForOutput const &)
virtual void setProcessesWithSelectedMergeableRunProducts(std::set< std::string > const &)
void insertSelectedProcesses(BranchDescription const &desc, std::set< std::string > &processes)
std::map< BranchID, bool > keepAssociation_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
virtual void doEndRun_(RunForOutput const &)
void keepThisBranch(BranchDescription const &desc, std::map< BranchID, BranchDescription const * > &trueBranchIDToKeptBranchDesc, std::set< BranchID > &keptProductsInEvent)
virtual void doRespondToCloseInputFile_(FileBlock const &)
virtual void doBeginRun_(RunForOutput const &)