|
|
#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) |
|
OutputProcessBlockHelper const & | outputProcessBlockHelper () const |
|
std::string const & | processName () const |
|
LimitedTaskQueue & | queue () |
|
int | remainingEvents () const |
|
bool | selected (BranchDescription const &desc) const |
|
void | selectProducts (ProductRegistry const &preg, ThinnedAssociationsHelper const &, ProcessBlockHelperBase const &) |
|
ThinnedAssociationsHelper const * | thinnedAssociationsHelper () const |
|
bool | wantAllEvents () const |
|
bool | wantsGlobalLuminosityBlocks () const |
|
bool | wantsGlobalRuns () const |
|
virtual bool | wantsInputProcessBlocks () const =0 |
|
virtual bool | wantsProcessBlocks () const =0 |
|
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 |
|
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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 |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
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 | doAccessInputProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *) |
|
void | doBeginJob () |
|
bool | doBeginLuminosityBlock (LumiTransitionInfo const &, ModuleCallingContext const *) |
|
void | doBeginProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *) |
|
bool | doBeginRun (RunTransitionInfo const &, ModuleCallingContext const *) |
|
void | doBeginStream (StreamID id) |
|
void | doEndJob () |
|
bool | doEndLuminosityBlock (LumiTransitionInfo const &, ModuleCallingContext const *) |
|
void | doEndProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *) |
|
bool | doEndRun (RunTransitionInfo const &, ModuleCallingContext const *) |
|
void | doEndStream (StreamID id) |
|
bool | doEvent (EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *) |
|
void | doPreallocate (PreallocationConfiguration const &) |
|
std::map< BranchID::value_type, BranchID::value_type > const & | droppedBranchIDToKeptBranchID () |
|
void | preActionBeforeRunEventAsync (WaitingTaskHolder, ModuleCallingContext const &, Principal const &) 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 = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
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<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () noexcept |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) noexcept |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
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 | doRespondToCloseOutputFile () |
|
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 | doWriteProcessBlock (ProcessBlockPrincipal const &, 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 | writeProcessBlock (ProcessBlockForOutput const &) |
|
virtual void | writeRun (RunForOutput const &)=0 |
|
Definition at line 67 of file OutputModuleBase.h.
◆ ModuleType
◆ OutputModuleBase() [1/2]
OutputModuleBase::OutputModuleBase |
( |
ParameterSet const & |
pset | ) |
|
|
explicit |
Definition at line 44 of file OutputModuleBase.cc.
60 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()
◆ doAccessInputProcessBlock()
◆ doBeginJob()
void OutputModuleBase::doBeginJob |
( |
| ) |
|
|
protected |
◆ doBeginLuminosityBlock()
◆ doBeginLuminosityBlock_()
◆ doBeginLuminosityBlockSummary_()
◆ doBeginProcessBlock()
◆ 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_()
◆ doEndProcessBlock()
◆ 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 210 of file OutputModuleBase.cc.
211 auto nstreams = iPC.numberOfStreams();
214 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 |
◆ doRespondToCloseOutputFile()
void edm::limited::OutputModuleBase::doRespondToCloseOutputFile |
( |
| ) |
|
|
inlineprivate |
◆ doRespondToOpenInputFile()
void OutputModuleBase::doRespondToOpenInputFile |
( |
FileBlock const & |
fb | ) |
|
|
private |
◆ doRespondToOpenInputFile_()
virtual void edm::limited::OutputModuleBase::doRespondToOpenInputFile_ |
( |
FileBlock const & |
| ) |
|
|
inlineprivatevirtual |
◆ doStreamBeginLuminosityBlock_()
◆ doStreamBeginRun_()
◆ doStreamEndLuminosityBlock_()
◆ doStreamEndLuminosityBlockSummary_()
◆ doStreamEndRun_()
◆ doStreamEndRunSummary_()
◆ doWriteLuminosityBlock()
◆ doWriteProcessBlock()
◆ 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 161 of file OutputModuleBase.cc.
168 std::vector<std::string> missingDictionaries;
170 std::string context(
"Calling OutputModuleBase::keepThisBranch, checking dictionaries for kept types");
174 switch (
desc.branchType()) {
176 if (
desc.produced()) {
177 keptProductsInEvent.insert(
desc.originalBranchID());
179 keptProductsInEvent.insert(
desc.branchID());
References cms::cuda::assert(), edm::checkDictionary(), edm::ProductSelector::checkForDuplicateKeptBranch(), edm::EDConsumerBase::consumes(), visDQMUpload::context, submitPVResolutionJobs::desc, edm::InEvent, edm::InLumi, edm::InProcess, HLT_FULL_cff::InputTag, edm::InRun, keptProducts_, edm::PRODUCT_TYPE, AlCaHLTBitMon_QueryRunRegistry::string, edm::throwMissingDictionariesException(), and unpackBuffers-CaloStage2::token.
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=()
◆ outputProcessBlockHelper()
◆ 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 84 of file OutputModuleBase.cc.
95 std::map<BranchID, BranchDescription const*> trueBranchIDToKeptBranchDesc;
96 std::vector<BranchDescription const*> associationDescriptions;
97 std::set<BranchID> keptProductsInEvent;
98 std::set<std::string> processesWithSelectedMergeableRunProducts;
99 std::set<std::string> processesWithKeptProcessBlockProducts;
101 for (
auto const& it : preg.productList()) {
102 BranchDescription
const&
desc = it.second;
103 if (
desc.transient()) {
105 }
else if (!
desc.present() && !
desc.produced()) {
108 }
else if (
desc.unwrappedType() ==
typeid(ThinnedAssociation)) {
109 associationDescriptions.push_back(&
desc);
113 desc, processesWithSelectedMergeableRunProducts, processesWithKeptProcessBlockProducts);
References edm::ProductRegistry::allBranchDescriptions(), submitPVResolutionJobs::desc, droppedBranchIDToKeptBranchID_, edm::ProductSelector::fillDroppedToKept(), hasNewlyDroppedBranch_, edm::ProductSelector::initialize(), edm::ProductSelector::initialized(), edm::insertSelectedProcesses(), keepAssociation_, keepThisBranch(), outputProcessBlockHelper_, edm::ProductRegistry::productList(), productSelector_, productSelectorRules_, edm::ThinnedAssociationsHelper::selectAssociationProducts(), selected(), setProcessesWithSelectedMergeableRunProducts(), thinnedAssociationsHelper(), thinnedAssociationsHelper_, and edm::OutputProcessBlockHelper::updateAfterProductSelection().
◆ 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 |
◆ wantsInputProcessBlocks()
virtual bool edm::limited::OutputModuleBase::wantsInputProcessBlocks |
( |
| ) |
const |
|
pure virtual |
◆ wantsProcessBlocks()
virtual bool edm::limited::OutputModuleBase::wantsProcessBlocks |
( |
| ) |
const |
|
pure virtual |
◆ 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 224 of file OutputModuleBase.h.
224 {
return "WorkerT<edm::limited::OutputModuleBase>"; }
◆ write()
virtual void edm::limited::OutputModuleBase::write |
( |
EventForOutput const & |
| ) |
|
|
privatepure virtual |
◆ writeLuminosityBlock()
◆ writeProcessBlock()
◆ 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 187 of file OutputModuleBase.h.
Referenced by description(), doBeginLuminosityBlock(), doBeginRun(), doEndLuminosityBlock(), doEndRun(), doEvent(), doWriteLuminosityBlock(), doWriteProcessBlock(), doWriteRun(), moduleDescription(), prePrefetchSelection(), and setModuleDescription().
◆ origBranchIDLists_
BranchIDLists const* edm::limited::OutputModuleBase::origBranchIDLists_ |
|
private |
◆ outputProcessBlockHelper_
◆ 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()
void throwMissingDictionariesException(std::vector< std::string > &missingDictionaries, std::string const &context)
std::vector< std::string > const & getAllTriggerNames()
virtual void preallocLumis(unsigned int)
void insertSelectedProcesses(BranchDescription const &desc, std::set< std::string > &processes, std::set< std::string > &processesWithKeptProcessBlockProducts)
virtual void preallocate(PreallocationConfiguration const &)
virtual bool isFileOpen() const
void initialize(ProductSelectorRules const &rules, std::vector< BranchDescription const * > const &branchDescriptions)
constexpr element_type const * get() const
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
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
virtual void writeProcessBlock(ProcessBlockForOutput 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
void updateAfterProductSelection(std::set< std::string > const &processesWithKeptProcessBlockProducts, ProcessBlockHelperBase 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)
std::tuple< layerClusterToCaloParticle, caloParticleToLayerCluster > association
virtual void doBeginLuminosityBlock_(LuminosityBlockForOutput const &)
bool checkDictionary(std::vector< std::string > &missingDictionaries, TypeID const &typeID)
virtual void setProcessesWithSelectedMergeableRunProducts(std::set< std::string > const &)
std::map< BranchID, bool > keepAssociation_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
virtual void doEndRun_(RunForOutput const &)
OutputProcessBlockHelper outputProcessBlockHelper_
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 &)