CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends
edm::OutputModule Class Referenceabstract

#include <OutputModule.h>

Inheritance diagram for edm::OutputModule:
edm::EDConsumerBase edm::GetProductCheckerOutputModule edm::ProvenanceCheckerOutputModule

Public Types

typedef OutputModule ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

BranchIDLists const * branchIDLists ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
std::array< bool, NumBranchTypes > const & hasNewlyDroppedBranch () const
 
SelectedProductsForBranchType const & keptProducts () const
 
int maxEvents () const
 
OutputModuleoperator= (OutputModule const &)=delete
 
 OutputModule (ParameterSet const &pset)
 
 OutputModule (OutputModule const &)=delete
 
std::string const & processName () const
 
int remainingEvents () const
 
bool selected (BranchDescription const &desc) const
 
void selectProducts (ProductRegistry const &preg, ThinnedAssociationsHelper const &)
 
SharedResourcesAcquirersharedResourcesAcquirer ()
 
ThinnedAssociationsHelper const * thinnedAssociationsHelper () const
 
bool wantAllEvents () const
 
 ~OutputModule () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
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 const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
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)
 

Static Public Member Functions

static const std::string & baseType ()
 
static void fillDescription (ParameterSetDescription &desc, std::vector< std::string > const &iDefaultOutputCommands=ProductSelectorRules::defaultSelectionStrings())
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 

Protected Member Functions

void configure (OutputModuleDescription const &desc)
 
ModuleDescription const & description () const
 
void doBeginJob ()
 
bool doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *mcc)
 
bool doBeginRun (RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *mcc)
 
void doEndJob ()
 
bool doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *mcc)
 
bool doEndRun (RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *mcc)
 
bool doEvent (EventPrincipal const &ep, EventSetupImpl const &c, ActivityRegistry *act, ModuleCallingContext const *mcc)
 
void doPreallocate (PreallocationConfiguration const &)
 
std::map< BranchID::value_type, BranchID::value_type > const & droppedBranchIDToKeptBranchID ()
 
Trig getTriggerResults (EDGetTokenT< TriggerResults > const &token, EventForOutput const &e) const
 
ModuleDescription const & moduleDescription () const
 
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)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, 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)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Private Member Functions

virtual void beginJob ()
 
virtual void beginLuminosityBlock (LuminosityBlockForOutput const &)
 
virtual void beginRun (RunForOutput const &)
 
void doCloseFile ()
 Tell the OutputModule that is must end the current file. More...
 
void doOpenFile (FileBlock const &fb)
 
void doRegisterThinnedAssociations (ProductRegistry const &, ThinnedAssociationsHelper &)
 
void doRespondToCloseInputFile (FileBlock const &fb)
 
void doRespondToOpenInputFile (FileBlock const &fb)
 
void doWriteLuminosityBlock (LuminosityBlockPrincipal const &lbp, ModuleCallingContext const *mcc)
 
void doWriteRun (RunPrincipal const &rp, ModuleCallingContext const *mcc, MergeableRunProductMetadata const *)
 
virtual void endJob ()
 
virtual void endLuminosityBlock (LuminosityBlockForOutput const &)
 
virtual void endRun (RunForOutput const &)
 
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 &)
 
bool prePrefetchSelection (StreamID id, EventPrincipal const &, ModuleCallingContext const *)
 
std::vector< ProductResolverIndexAndSkipBitproductsUsedBySelection () const
 
virtual void reallyCloseFile ()
 
void registerProductsAndCallbacks (OutputModule const *, ProductRegistry const *)
 
virtual void respondToCloseInputFile (FileBlock const &)
 
virtual void respondToOpenInputFile (FileBlock 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...
 
std::string workerType () const
 
virtual void write (EventForOutput const &)=0
 
virtual void writeLuminosityBlock (LuminosityBlockForOutput const &)=0
 
virtual void writeRun (RunForOutput const &)=0
 

Private Attributes

edm::propagate_const< std::unique_ptr< BranchIDLists > > branchIDLists_
 
std::map< BranchID::value_type, BranchID::value_typedroppedBranchIDToKeptBranchID_
 
std::array< bool, NumBranchTypeshasNewlyDroppedBranch_
 
std::map< BranchID, bool > keepAssociation_
 
SelectedProductsForBranchType keptProducts_
 
SerialTaskQueue luminosityBlockQueue_
 
int maxEvents_
 
ModuleDescription moduleDescription_
 
BranchIDLists const * origBranchIDLists_
 
std::string process_name_
 
ProductSelector productSelector_
 
ProductSelectorRules productSelectorRules_
 
std::atomic< int > remainingEvents_
 
SharedResourcesAcquirer resourceAcquirer_
 
SerialTaskQueue runQueue_
 
ParameterSet selectEvents_
 
ParameterSetID selector_config_id_
 
std::vector< detail::TriggerResultsBasedEventSelectorselectors_
 
edm::propagate_const< std::unique_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
 
bool wantAllEvents_
 

Friends

template<typename T >
class maker::ModuleHolderT
 
template<typename T >
class OutputModuleCommunicatorT
 
template<typename T >
class WorkerT
 

Detailed Description

Definition at line 54 of file OutputModule.h.

Member Typedef Documentation

Definition at line 62 of file OutputModule.h.

Constructor & Destructor Documentation

edm::OutputModule::OutputModule ( ParameterSet const &  pset)
explicit

Definition at line 40 of file OutputModule.cc.

References edm::detail::configureEventSelector(), edm::EDConsumerBase::consumesCollector(), edm::getAllTriggerNames(), edm::ParameterSet::getUntrackedParameterSet(), hasNewlyDroppedBranch_, edm::ParameterSet::id(), edm::SharedResourcesRegistry::instance(), edm::SharedResourcesRegistry::kLegacyModuleResourceName, process_name_, edm::ParameterSet::registerIt(), edm::SharedResourcesRegistry::registerSharedResource(), selectEvents_, selector_config_id_, selectors_, and wantAllEvents_.

41  : maxEvents_(-1),
43  keptProducts_(),
45  process_name_(),
46  productSelectorRules_(pset, "outputCommands", "OutputModule"),
49  wantAllEvents_(false),
50  selectors_(),
54  origBranchIDLists_(nullptr),
55  thinnedAssociationsHelper_(new ThinnedAssociationsHelper) {
56  hasNewlyDroppedBranch_.fill(false);
57 
59  process_name_ = tns->getProcessName();
60 
61  selectEvents_ = pset.getUntrackedParameterSet("SelectEvents", ParameterSet());
62 
63  selectEvents_.registerIt(); // Just in case this PSet is not registered
64 
66  selectors_.resize(1);
67  //need to set wantAllEvents_ in constructor
68  // we will make the remaining selectors once we know how many streams
71 
73  }
std::array< bool, NumBranchTypes > hasNewlyDroppedBranch_
Definition: OutputModule.h:171
std::map< BranchID::value_type, BranchID::value_type > droppedBranchIDToKeptBranchID_
Definition: OutputModule.h:187
std::vector< BranchIDList > BranchIDLists
Definition: BranchIDList.h:19
ParameterSet selectEvents_
Definition: OutputModule.h:182
ModuleDescription moduleDescription_
Definition: OutputModule.h:176
ParameterSetID id() const
edm::propagate_const< std::unique_ptr< BranchIDLists > > branchIDLists_
Definition: OutputModule.h:188
edm::propagate_const< std::unique_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
Definition: OutputModule.h:191
BranchIDLists const * origBranchIDLists_
Definition: OutputModule.h:189
std::string process_name_
Definition: OutputModule.h:173
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
static SharedResourcesRegistry * instance()
bool configureEventSelector(edm::ParameterSet const &iPSet, std::string const &iProcessName, std::vector< std::string > const &iAllTriggerNames, edm::detail::TriggerResultsBasedEventSelector &oSelector, ConsumesCollector &&iC)
void registerSharedResource(const std::string &)
A resource name must be registered before it can be used in the createAcquirer call.
static const std::string kLegacyModuleResourceName
All legacy modules share this resource.
std::vector< detail::TriggerResultsBasedEventSelector > selectors_
Definition: OutputModule.h:179
SelectedProductsForBranchType keptProducts_
Definition: OutputModule.h:170
ProductSelector productSelector_
Definition: OutputModule.h:175
std::vector< std::string > const & getAllTriggerNames()
ProductSelectorRules productSelectorRules_
Definition: OutputModule.h:174
std::atomic< int > remainingEvents_
Definition: OutputModule.h:153
ParameterSet const & registerIt()
ParameterSetID selector_config_id_
Definition: OutputModule.h:183
edm::OutputModule::~OutputModule ( )
override

Definition at line 175 of file OutputModule.cc.

175 {}
edm::OutputModule::OutputModule ( OutputModule const &  )
delete

Member Function Documentation

const std::string & edm::OutputModule::baseType ( )
static

Definition at line 372 of file OutputModule.cc.

References edm::kBaseType().

372 { return kBaseType; }
static const std::string kBaseType("EDAnalyzer")
virtual void edm::OutputModule::beginJob ( void  )
inlineprivatevirtual

Definition at line 227 of file OutputModule.h.

Referenced by doBeginJob().

227 {}
virtual void edm::OutputModule::beginLuminosityBlock ( LuminosityBlockForOutput const &  )
inlineprivatevirtual

Definition at line 232 of file OutputModule.h.

Referenced by doBeginLuminosityBlock().

232 {}
virtual void edm::OutputModule::beginRun ( RunForOutput const &  )
inlineprivatevirtual

Definition at line 229 of file OutputModule.h.

Referenced by doBeginRun().

229 {}
BranchIDLists const * edm::OutputModule::branchIDLists ( )

Definition at line 329 of file OutputModule.cc.

References branchIDLists_, droppedBranchIDToKeptBranchID_, and origBranchIDLists_.

329  {
330  if (!droppedBranchIDToKeptBranchID_.empty()) {
331  // Make a private copy of the BranchIDLists.
333  // Check for branches dropped while an EDAlias was kept.
334  for (BranchIDList& branchIDList : *branchIDLists_) {
335  for (BranchID::value_type& branchID : branchIDList) {
336  // Replace BranchID of each dropped branch with that of the kept alias, so the alias branch will have the product ID of the original branch.
337  std::map<BranchID::value_type, BranchID::value_type>::const_iterator iter =
338  droppedBranchIDToKeptBranchID_.find(branchID);
339  if (iter != droppedBranchIDToKeptBranchID_.end()) {
340  branchID = iter->second;
341  }
342  }
343  }
344  return branchIDLists_.get();
345  }
346  return origBranchIDLists_;
347  }
std::map< BranchID::value_type, BranchID::value_type > droppedBranchIDToKeptBranchID_
Definition: OutputModule.h:187
edm::propagate_const< std::unique_ptr< BranchIDLists > > branchIDLists_
Definition: OutputModule.h:188
BranchIDLists const * origBranchIDLists_
Definition: OutputModule.h:189
unsigned int value_type
Definition: BranchID.h:16
std::vector< BranchID::value_type > BranchIDList
Definition: BranchIDList.h:18
void edm::OutputModule::configure ( OutputModuleDescription const &  desc)
protected

Definition at line 75 of file OutputModule.cc.

References edm::OutputModuleDescription::branchIDLists_, edm::OutputModuleDescription::maxEvents_, maxEvents_, origBranchIDLists_, and remainingEvents_.

75  {
76  remainingEvents_ = maxEvents_ = desc.maxEvents_;
77  origBranchIDLists_ = desc.branchIDLists_;
78  }
BranchIDLists const * origBranchIDLists_
Definition: OutputModule.h:189
std::atomic< int > remainingEvents_
Definition: OutputModule.h:153
ModuleDescription const & edm::OutputModule::description ( ) const
protected

Definition at line 353 of file OutputModule.cc.

References moduleDescription_.

Referenced by setEventSelectionInfo().

353 { return moduleDescription_; }
ModuleDescription moduleDescription_
Definition: OutputModule.h:176
void edm::OutputModule::doBeginJob ( )
protected

Definition at line 190 of file OutputModule.cc.

References beginJob(), edm::SharedResourcesRegistry::createAcquirer(), edm::SharedResourcesRegistry::instance(), edm::SharedResourcesRegistry::kLegacyModuleResourceName, and resourceAcquirer_.

190  {
191  std::vector<std::string> res = {SharedResourcesRegistry::kLegacyModuleResourceName};
193 
194  this->beginJob();
195  }
SharedResourcesAcquirer resourceAcquirer_
Definition: OutputModule.h:194
SharedResourcesAcquirer createAcquirer(std::vector< std::string > const &) const
Definition: Electron.h:6
static SharedResourcesRegistry * instance()
static const std::string kLegacyModuleResourceName
All legacy modules share this resource.
virtual void beginJob()
Definition: OutputModule.h:227
bool edm::OutputModule::doBeginLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
EventSetupImpl const &  c,
ModuleCallingContext const *  mcc 
)
protected

Definition at line 288 of file OutputModule.cc.

References beginLuminosityBlock(), FDEBUG, moduleDescription_, and edm::OccurrenceForOutput::setConsumer().

290  {
291  FDEBUG(2) << "beginLuminosityBlock called\n";
292  LuminosityBlockForOutput lb(lbp, moduleDescription_, mcc, false);
293  lb.setConsumer(this);
295  return true;
296  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:176
virtual void beginLuminosityBlock(LuminosityBlockForOutput const &)
Definition: OutputModule.h:232
#define FDEBUG(lev)
Definition: DebugMacros.h:19
bool edm::OutputModule::doBeginRun ( RunPrincipal const &  rp,
EventSetupImpl const &  c,
ModuleCallingContext const *  mcc 
)
protected

Definition at line 263 of file OutputModule.cc.

References beginRun(), FDEBUG, moduleDescription_, alignCSCRings::r, and edm::OccurrenceForOutput::setConsumer().

263  {
264  FDEBUG(2) << "beginRun called\n";
265  RunForOutput r(rp, moduleDescription_, mcc, false);
266  r.setConsumer(this);
267  beginRun(r);
268  return true;
269  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:176
virtual void beginRun(RunForOutput const &)
Definition: OutputModule.h:229
#define FDEBUG(lev)
Definition: DebugMacros.h:19
void edm::OutputModule::doCloseFile ( )
private

Tell the OutputModule that is must end the current file.

Definition at line 321 of file OutputModule.cc.

References isFileOpen(), and reallyCloseFile().

321  {
322  if (isFileOpen()) {
323  reallyCloseFile();
324  }
325  }
virtual void reallyCloseFile()
virtual bool isFileOpen() const
Definition: OutputModule.h:244
void edm::OutputModule::doEndJob ( )
protected

Definition at line 197 of file OutputModule.cc.

References endJob().

197 { endJob(); }
virtual void endJob()
Definition: OutputModule.h:228
bool edm::OutputModule::doEndLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
EventSetupImpl const &  c,
ModuleCallingContext const *  mcc 
)
protected

Definition at line 298 of file OutputModule.cc.

References endLuminosityBlock(), FDEBUG, moduleDescription_, and edm::OccurrenceForOutput::setConsumer().

300  {
301  FDEBUG(2) << "endLuminosityBlock called\n";
302  LuminosityBlockForOutput lb(lbp, moduleDescription_, mcc, true);
303  lb.setConsumer(this);
304  endLuminosityBlock(lb);
305  return true;
306  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:176
virtual void endLuminosityBlock(LuminosityBlockForOutput const &)
Definition: OutputModule.h:233
#define FDEBUG(lev)
Definition: DebugMacros.h:19
bool edm::OutputModule::doEndRun ( RunPrincipal const &  rp,
EventSetupImpl const &  c,
ModuleCallingContext const *  mcc 
)
protected

Definition at line 271 of file OutputModule.cc.

References endRun(), FDEBUG, moduleDescription_, alignCSCRings::r, and edm::OccurrenceForOutput::setConsumer().

271  {
272  FDEBUG(2) << "endRun called\n";
273  RunForOutput r(rp, moduleDescription_, mcc, true);
274  r.setConsumer(this);
275  endRun(r);
276  return true;
277  }
virtual void endRun(RunForOutput const &)
Definition: OutputModule.h:230
ModuleDescription moduleDescription_
Definition: OutputModule.h:176
#define FDEBUG(lev)
Definition: DebugMacros.h:19
bool edm::OutputModule::doEvent ( EventPrincipal const &  ep,
EventSetupImpl const &  c,
ActivityRegistry act,
ModuleCallingContext const *  mcc 
)
protected

Definition at line 229 of file OutputModule.cc.

References MillePedeFileConverter_cfg::e, FDEBUG, moduleDescription_, remainingEvents_, edm::OccurrenceForOutput::setConsumer(), and write().

232  {
233  FDEBUG(2) << "writeEvent called\n";
234 
235  {
237  e.setConsumer(this);
238  EventSignalsSentry sentry(act, mcc);
239  write(e);
240  }
241  if (remainingEvents_ > 0) {
243  }
244  return true;
245  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:176
#define FDEBUG(lev)
Definition: DebugMacros.h:19
std::atomic< int > remainingEvents_
Definition: OutputModule.h:153
virtual void write(EventForOutput const &)=0
void edm::OutputModule::doOpenFile ( FileBlock const &  fb)
private

Definition at line 315 of file OutputModule.cc.

References openFile().

315 { openFile(fb); }
virtual void openFile(FileBlock const &)
Definition: OutputModule.h:235
void edm::OutputModule::doPreallocate ( PreallocationConfiguration const &  iPC)
protected

Definition at line 177 of file OutputModule.cc.

References edm::detail::configureEventSelector(), edm::EDConsumerBase::consumesCollector(), edm::getAllTriggerNames(), edm::PreallocationConfiguration::numberOfStreams(), process_name_, alignCSCRings::s, selectEvents_, and selectors_.

177  {
178  auto nstreams = iPC.numberOfStreams();
179  selectors_.resize(nstreams);
180 
181  bool seenFirst = false;
182  for (auto& s : selectors_) {
183  if (seenFirst) {
185  }
186  seenFirst = true;
187  }
188  }
ParameterSet selectEvents_
Definition: OutputModule.h:182
std::string process_name_
Definition: OutputModule.h:173
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
bool configureEventSelector(edm::ParameterSet const &iPSet, std::string const &iProcessName, std::vector< std::string > const &iAllTriggerNames, edm::detail::TriggerResultsBasedEventSelector &oSelector, ConsumesCollector &&iC)
std::vector< detail::TriggerResultsBasedEventSelector > selectors_
Definition: OutputModule.h:179
std::vector< std::string > const & getAllTriggerNames()
void edm::OutputModule::doRegisterThinnedAssociations ( ProductRegistry const &  ,
ThinnedAssociationsHelper  
)
inlineprivate

Definition at line 206 of file OutputModule.h.

206 {}
void edm::OutputModule::doRespondToCloseInputFile ( FileBlock const &  fb)
private

Definition at line 319 of file OutputModule.cc.

References respondToCloseInputFile().

virtual void respondToCloseInputFile(FileBlock const &)
Definition: OutputModule.h:237
void edm::OutputModule::doRespondToOpenInputFile ( FileBlock const &  fb)
private

Definition at line 317 of file OutputModule.cc.

References respondToOpenInputFile().

virtual void respondToOpenInputFile(FileBlock const &)
Definition: OutputModule.h:236
void edm::OutputModule::doWriteLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
ModuleCallingContext const *  mcc 
)
private

Definition at line 308 of file OutputModule.cc.

References FDEBUG, moduleDescription_, edm::OccurrenceForOutput::setConsumer(), and writeLuminosityBlock().

308  {
309  FDEBUG(2) << "writeLuminosityBlock called\n";
310  LuminosityBlockForOutput lb(lbp, moduleDescription_, mcc, true);
311  lb.setConsumer(this);
313  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:176
virtual void writeLuminosityBlock(LuminosityBlockForOutput const &)=0
#define FDEBUG(lev)
Definition: DebugMacros.h:19
void edm::OutputModule::doWriteRun ( RunPrincipal const &  rp,
ModuleCallingContext const *  mcc,
MergeableRunProductMetadata const *  mrpm 
)
private

Definition at line 279 of file OutputModule.cc.

References FDEBUG, moduleDescription_, alignCSCRings::r, edm::OccurrenceForOutput::setConsumer(), and writeRun().

281  {
282  FDEBUG(2) << "writeRun called\n";
283  RunForOutput r(rp, moduleDescription_, mcc, true, mrpm);
284  r.setConsumer(this);
285  writeRun(r);
286  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:176
virtual void writeRun(RunForOutput const &)=0
#define FDEBUG(lev)
Definition: DebugMacros.h:19
std::map<BranchID::value_type, BranchID::value_type> const& edm::OutputModule::droppedBranchIDToKeptBranchID ( )
inlineprotected

Definition at line 147 of file OutputModule.h.

147  {
149  }
std::map< BranchID::value_type, BranchID::value_type > droppedBranchIDToKeptBranchID_
Definition: OutputModule.h:187
virtual void edm::OutputModule::endJob ( void  )
inlineprivatevirtual

Definition at line 228 of file OutputModule.h.

Referenced by doEndJob().

228 {}
virtual void edm::OutputModule::endLuminosityBlock ( LuminosityBlockForOutput const &  )
inlineprivatevirtual

Definition at line 233 of file OutputModule.h.

Referenced by doEndLuminosityBlock().

233 {}
virtual void edm::OutputModule::endRun ( RunForOutput const &  )
inlineprivatevirtual

Definition at line 230 of file OutputModule.h.

Referenced by doEndRun().

230 {}
void edm::OutputModule::fillDescription ( ParameterSetDescription desc,
std::vector< std::string > const &  iDefaultOutputCommands = ProductSelectorRules::defaultSelectionStrings() 
)
static

Definition at line 363 of file OutputModule.cc.

References edm::ProductSelectorRules::fillDescription(), and edm::EventSelector::fillDescription().

Referenced by edm::StreamerOutputModuleBase::fillDescription(), edm::PoolOutputModule::fillDescription(), edm::AsciiOutputModule::fillDescriptions(), edm::ProvenanceCheckerOutputModule::fillDescriptions(), edm::GetProductCheckerOutputModule::fillDescriptions(), NanoAODOutputModule::fillDescriptions(), and DQMRootOutputModule::fillDescriptions().

364  {
365  ProductSelectorRules::fillDescription(desc, "outputCommands", defaultOutputCommands);
367  }
static void fillDescription(ParameterSetDescription &desc, char const *parameterName, std::vector< std::string > const &defaultStrings=defaultSelectionStrings())
static void fillDescription(ParameterSetDescription &desc)
void edm::OutputModule::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 357 of file OutputModule.cc.

References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().

357  {
359  desc.setUnknown();
360  descriptions.addDefault(desc);
361  }
Trig edm::OutputModule::getTriggerResults ( EDGetTokenT< TriggerResults > const &  token,
EventForOutput const &  e 
) const
protected

Definition at line 199 of file OutputModule.cc.

References edm::OccurrenceForOutput::getByToken(), and mps_fire::result.

199  {
200  //This cast is safe since we only call const functions of the EventForOutputafter this point
201  Trig result;
202  e.getByToken<TriggerResults>(token, result);
203  return result;
204  }
SerialTaskQueue* edm::OutputModule::globalLuminosityBlocksQueue ( )
inline

Definition at line 98 of file OutputModule.h.

98 { return &luminosityBlockQueue_; }
SerialTaskQueue luminosityBlockQueue_
Definition: OutputModule.h:196
SerialTaskQueue* edm::OutputModule::globalRunsQueue ( )
inline

Definition at line 97 of file OutputModule.h.

97 { return &runQueue_; }
SerialTaskQueue runQueue_
Definition: OutputModule.h:195
bool edm::OutputModule::hasAccumulator ( ) const
inlineprivate

Definition at line 242 of file OutputModule.h.

242 { return false; }
bool edm::OutputModule::hasAcquire ( ) const
inlineprivate

Definition at line 241 of file OutputModule.h.

241 { return false; }
std::array<bool, NumBranchTypes> const& edm::OutputModule::hasNewlyDroppedBranch ( ) const
inline

Definition at line 83 of file OutputModule.h.

References edm::ProductSelectorRules::defaultSelectionStrings(), fillDescriptions(), and AlCaHLTBitMon_QueryRunRegistry::string.

83 { return hasNewlyDroppedBranch_; }
std::array< bool, NumBranchTypes > hasNewlyDroppedBranch_
Definition: OutputModule.h:171
virtual bool edm::OutputModule::isFileOpen ( ) const
inlineprivatevirtual

Definition at line 244 of file OutputModule.h.

Referenced by doCloseFile().

244 { return true; }
void edm::OutputModule::keepThisBranch ( BranchDescription const &  desc,
std::map< BranchID, BranchDescription const * > &  trueBranchIDToKeptBranchDesc,
std::set< BranchID > &  keptProductsInEvent 
)
private

Definition at line 133 of file OutputModule.cc.

References edm::BranchDescription::branchID(), edm::BranchDescription::branchType(), edm::checkDictionary(), edm::ProductSelector::checkForDuplicateKeptBranch(), edm::BranchDescription::className(), edm::EDConsumerBase::consumes(), edm::InEvent, edm::InLumi, edm::InRun, keptProducts_, edm::BranchDescription::moduleLabel(), edm::BranchDescription::originalBranchID(), edm::BranchDescription::processName(), edm::BranchDescription::produced(), edm::PRODUCT_TYPE, edm::BranchDescription::productInstanceName(), AlCaHLTBitMon_QueryRunRegistry::string, edm::throwMissingDictionariesException(), edm::BranchDescription::unwrappedType(), and edm::BranchDescription::unwrappedTypeID().

Referenced by selectProducts().

135  {
136  ProductSelector::checkForDuplicateKeptBranch(desc, trueBranchIDToKeptBranchDesc);
137 
138  EDGetToken token;
139 
140  std::vector<std::string> missingDictionaries;
141  if (!checkDictionary(missingDictionaries, desc.className(), desc.unwrappedType())) {
142  std::string context("Calling OutputModule::keepThisBranch, checking dictionaries for kept types");
143  throwMissingDictionariesException(missingDictionaries, context);
144  }
145 
146  switch (desc.branchType()) {
147  case InEvent: {
148  if (desc.produced()) {
149  keptProductsInEvent.insert(desc.originalBranchID());
150  } else {
151  keptProductsInEvent.insert(desc.branchID());
152  }
153  token = consumes(TypeToGet{desc.unwrappedTypeID(), PRODUCT_TYPE},
154  InputTag{desc.moduleLabel(), desc.productInstanceName(), desc.processName()});
155  break;
156  }
157  case InLumi: {
158  token = consumes<InLumi>(TypeToGet{desc.unwrappedTypeID(), PRODUCT_TYPE},
159  InputTag(desc.moduleLabel(), desc.productInstanceName(), desc.processName()));
160  break;
161  }
162  case InRun: {
163  token = consumes<InRun>(TypeToGet{desc.unwrappedTypeID(), PRODUCT_TYPE},
164  InputTag(desc.moduleLabel(), desc.productInstanceName(), desc.processName()));
165  break;
166  }
167  default:
168  assert(false);
169  break;
170  }
171  // Now put it in the list of selected branches.
172  keptProducts_[desc.branchType()].push_back(std::make_pair(&desc, token));
173  }
void throwMissingDictionariesException(std::vector< std::string > &missingDictionaries, std::string const &context)
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
bool checkDictionary(std::vector< std::string > &missingDictionaries, TypeID const &typeID)
SelectedProductsForBranchType keptProducts_
Definition: OutputModule.h:170
static void checkForDuplicateKeptBranch(BranchDescription const &desc, std::map< BranchID, BranchDescription const * > &trueBranchIDToKeptBranchDesc)
SelectedProductsForBranchType const& edm::OutputModule::keptProducts ( ) const
inline
bool edm::OutputModule::limitReached ( ) const
inlineprivate

Definition at line 252 of file OutputModule.h.

252 { return remainingEvents_ == 0; }
std::atomic< int > remainingEvents_
Definition: OutputModule.h:153
int edm::OutputModule::maxEvents ( ) const
inline

Accessor for maximum number of events to be written. -1 is used for unlimited.

Definition at line 72 of file OutputModule.h.

72 { return maxEvents_; }
ModuleDescription const& edm::OutputModule::moduleDescription ( ) const
inlineprotected

Definition at line 115 of file OutputModule.h.

115 { return moduleDescription_; }
ModuleDescription moduleDescription_
Definition: OutputModule.h:176
bool edm::OutputModule::needToRunSelection ( ) const
private

Definition at line 206 of file OutputModule.cc.

References wantAllEvents_.

206 { return !wantAllEvents_; }
virtual void edm::OutputModule::openFile ( FileBlock const &  )
inlineprivatevirtual
OutputModule& edm::OutputModule::operator= ( OutputModule const &  )
delete
void edm::OutputModule::preActionBeforeRunEventAsync ( WaitingTask iTask,
ModuleCallingContext const &  iModuleCallingContext,
Principal const &  iPrincipal 
) const
inlineprotected

Definition at line 128 of file OutputModule.h.

References genParticles_cff::map, and AlCaHLTBitMon_QueryRunRegistry::string.

130  {}
bool edm::OutputModule::prePrefetchSelection ( StreamID  id,
EventPrincipal const &  ep,
ModuleCallingContext const *  mcc 
)
private

Definition at line 220 of file OutputModule.cc.

References MillePedeFileConverter_cfg::e, moduleDescription_, alignCSCRings::s, selectors_, edm::OccurrenceForOutput::setConsumer(), and wantAllEvents_.

220  {
221  if (wantAllEvents_)
222  return true;
223  auto& s = selectors_[id.value()];
225  e.setConsumer(this);
226  return s.wantEvent(e);
227  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:176
std::vector< detail::TriggerResultsBasedEventSelector > selectors_
Definition: OutputModule.h:179
void edm::OutputModule::prevalidate ( ConfigurationDescriptions )
static

Definition at line 369 of file OutputModule.cc.

References edm::kBaseType(), and AlCaHLTBitMon_QueryRunRegistry::string.

369 {}
std::string const& edm::OutputModule::processName ( ) const
inline

Definition at line 81 of file OutputModule.h.

Referenced by edm::StreamerOutputModuleBase::beginRun().

81 { return process_name_; }
std::string process_name_
Definition: OutputModule.h:173
std::vector< ProductResolverIndexAndSkipBit > edm::OutputModule::productsUsedBySelection ( ) const
private

Definition at line 208 of file OutputModule.cc.

References mps_fire::i, gen::n, alignCSCRings::s, selectors_, and edm::EDConsumerBase::uncheckedIndexFrom().

208  {
209  std::vector<ProductResolverIndexAndSkipBit> returnValue;
210  auto const& s = selectors_[0];
211  auto const n = s.numberOfTokens();
212  returnValue.reserve(n);
213 
214  for (unsigned int i = 0; i < n; ++i) {
215  returnValue.emplace_back(uncheckedIndexFrom(s.token(i)));
216  }
217  return returnValue;
218  }
ProductResolverIndexAndSkipBit uncheckedIndexFrom(EDGetToken) const
std::vector< detail::TriggerResultsBasedEventSelector > selectors_
Definition: OutputModule.h:179
void edm::OutputModule::reallyCloseFile ( )
privatevirtual

Definition at line 327 of file OutputModule.cc.

Referenced by doCloseFile().

327 {}
void edm::OutputModule::registerProductsAndCallbacks ( OutputModule const *  ,
ProductRegistry const *   
)
inlineprivate

Definition at line 217 of file OutputModule.h.

217 {}
int edm::OutputModule::remainingEvents ( ) const
inline

Accessor for remaining number of events to be written. -1 is used for unlimited.

Definition at line 76 of file OutputModule.h.

76 { return remainingEvents_; }
std::atomic< int > remainingEvents_
Definition: OutputModule.h:153
virtual void edm::OutputModule::respondToCloseInputFile ( FileBlock const &  )
inlineprivatevirtual

Definition at line 237 of file OutputModule.h.

Referenced by doRespondToCloseInputFile().

237 {}
virtual void edm::OutputModule::respondToOpenInputFile ( FileBlock const &  )
inlineprivatevirtual

Definition at line 236 of file OutputModule.h.

Referenced by doRespondToOpenInputFile().

236 {}
bool edm::OutputModule::selected ( BranchDescription const &  desc) const

Definition at line 355 of file OutputModule.cc.

References productSelector_, and edm::ProductSelector::selected().

Referenced by selectProducts().

355 { return productSelector_.selected(desc); }
bool selected(BranchDescription const &desc) const
ProductSelector productSelector_
Definition: OutputModule.h:175
ParameterSetID edm::OutputModule::selectorConfig ( ) const
inlineprotected

Definition at line 117 of file OutputModule.h.

References EnergyCorrector::c.

Referenced by edm::PoolOutputModule::whyNotFastClonable().

117 { return selector_config_id_; }
ParameterSetID selector_config_id_
Definition: OutputModule.h:183
void edm::OutputModule::selectProducts ( ProductRegistry const &  preg,
ThinnedAssociationsHelper const &  thinnedAssociationsHelper 
)

Definition at line 80 of file OutputModule.cc.

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_, edm::BranchDescription::transient(), and edm::BranchDescription::unwrappedType().

81  {
83  return;
84  productSelector_.initialize(productSelectorRules_, preg.allBranchDescriptions());
85 
86  // TODO: See if we can collapse keptProducts_ and productSelector_ into a
87  // single object. See the notes in the header for ProductSelector
88  // for more information.
89 
90  std::map<BranchID, BranchDescription const*> trueBranchIDToKeptBranchDesc;
91  std::vector<BranchDescription const*> associationDescriptions;
92  std::set<BranchID> keptProductsInEvent;
93  std::set<std::string> processesWithSelectedMergeableRunProducts;
94 
95  for (auto const& it : preg.productList()) {
96  BranchDescription const& desc = it.second;
97  if (desc.transient()) {
98  // if the class of the branch is marked transient, output nothing
99  } else if (!desc.present() && !desc.produced()) {
100  // else if the branch containing the product has been previously dropped,
101  // output nothing
102  } else if (desc.unwrappedType() == typeid(ThinnedAssociation)) {
103  associationDescriptions.push_back(&desc);
104  } else if (selected(desc)) {
105  keepThisBranch(desc, trueBranchIDToKeptBranchDesc, keptProductsInEvent);
106  insertSelectedProcesses(desc, processesWithSelectedMergeableRunProducts);
107  } else {
108  // otherwise, output nothing,
109  // and mark the fact that there is a newly dropped branch of this type.
110  hasNewlyDroppedBranch_[desc.branchType()] = true;
111  }
112  }
113 
114  setProcessesWithSelectedMergeableRunProducts(processesWithSelectedMergeableRunProducts);
115 
116  thinnedAssociationsHelper.selectAssociationProducts(associationDescriptions, keptProductsInEvent, keepAssociation_);
117 
118  for (auto association : associationDescriptions) {
119  if (keepAssociation_[association->branchID()]) {
120  keepThisBranch(*association, trueBranchIDToKeptBranchDesc, keptProductsInEvent);
121  } else {
122  hasNewlyDroppedBranch_[association->branchType()] = true;
123  }
124  }
125 
126  // Now fill in a mapping needed in the case that a branch was dropped while its EDAlias was kept.
127  ProductSelector::fillDroppedToKept(preg, trueBranchIDToKeptBranchDesc, droppedBranchIDToKeptBranchID_);
128 
129  thinnedAssociationsHelper_->updateFromParentProcess(
131  }
std::array< bool, NumBranchTypes > hasNewlyDroppedBranch_
Definition: OutputModule.h:171
void keepThisBranch(BranchDescription const &desc, std::map< BranchID, BranchDescription const * > &trueBranchIDToKeptBranchDesc, std::set< BranchID > &keptProductsInEvent)
std::map< BranchID::value_type, BranchID::value_type > droppedBranchIDToKeptBranchID_
Definition: OutputModule.h:187
static void fillDroppedToKept(ProductRegistry const &preg, std::map< BranchID, BranchDescription const * > const &trueBranchIDToKeptBranchDesc, std::map< BranchID::value_type, BranchID::value_type > &droppedBranchIDToKeptBranchID_)
std::map< BranchID, bool > keepAssociation_
Definition: OutputModule.h:192
edm::propagate_const< std::unique_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
Definition: OutputModule.h:191
bool selected(BranchDescription const &desc) const
void selectAssociationProducts(std::vector< BranchDescription const * > const &associationDescriptions, std::set< BranchID > const &keptProductsInEvent, std::map< BranchID, bool > &keepAssociation) const
ThinnedAssociationsHelper const * thinnedAssociationsHelper() const
ProductSelector productSelector_
Definition: OutputModule.h:175
bool initialized() const
void initialize(ProductSelectorRules const &rules, std::vector< BranchDescription const * > const &branchDescriptions)
ProductSelectorRules productSelectorRules_
Definition: OutputModule.h:174
void insertSelectedProcesses(BranchDescription const &desc, std::set< std::string > &processes)
virtual void setProcessesWithSelectedMergeableRunProducts(std::set< std::string > const &)
Definition: OutputModule.h:239
void edm::OutputModule::setEventSelectionInfo ( std::map< std::string, std::vector< std::pair< std::string, int >>> const &  outputModulePathPositions,
bool  anyProductProduced 
)
protected

Definition at line 374 of file OutputModule.cc.

References description(), edm::getParameterSet(), edm::detail::registerProperSelectionInfo(), and selector_config_id_.

376  {
378  description().moduleLabel(),
379  outputModulePathPositions,
380  anyProductProduced);
381  }
ParameterSet const & getParameterSet(ParameterSetID const &id)
ParameterSetID registerProperSelectionInfo(edm::ParameterSet const &iInitial, std::string const &iLabel, std::map< std::string, std::vector< std::pair< std::string, int > > > const &outputModulePathPositions, bool anyProductProduced)
ModuleDescription const & description() const
ParameterSetID selector_config_id_
Definition: OutputModule.h:183
void edm::OutputModule::setModuleDescription ( ModuleDescription const &  md)
inlineprivate

Definition at line 250 of file OutputModule.h.

250 { moduleDescription_ = md; }
ModuleDescription moduleDescription_
Definition: OutputModule.h:176
virtual void edm::OutputModule::setProcessesWithSelectedMergeableRunProducts ( std::set< std::string > const &  )
inlineprivatevirtual

Definition at line 239 of file OutputModule.h.

Referenced by selectProducts().

239 {}
SharedResourcesAcquirer& edm::OutputModule::sharedResourcesAcquirer ( )
inline

Definition at line 99 of file OutputModule.h.

99 { return resourceAcquirer_; }
SharedResourcesAcquirer resourceAcquirer_
Definition: OutputModule.h:194
virtual bool edm::OutputModule::shouldWeCloseFile ( ) const
inlineprivatevirtual

Ask the OutputModule if we should end the current file.

Definition at line 224 of file OutputModule.h.

References TriggerAnalyzer::write().

224 { return false; }
ThinnedAssociationsHelper const * edm::OutputModule::thinnedAssociationsHelper ( ) const

Definition at line 349 of file OutputModule.cc.

References thinnedAssociationsHelper_.

349  {
350  return thinnedAssociationsHelper_.get();
351  }
edm::propagate_const< std::unique_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
Definition: OutputModule.h:191
bool edm::OutputModule::wantAllEvents ( ) const
inline
static bool edm::OutputModule::wantsGlobalLuminosityBlocks ( )
inlinestatic

Definition at line 93 of file OutputModule.h.

93 { return true; }
static bool edm::OutputModule::wantsGlobalRuns ( )
inlinestatic

Definition at line 92 of file OutputModule.h.

92 { return true; }
static bool edm::OutputModule::wantsStreamLuminosityBlocks ( )
inlinestatic

Definition at line 95 of file OutputModule.h.

95 { return false; };
static bool edm::OutputModule::wantsStreamRuns ( )
inlinestatic

Definition at line 94 of file OutputModule.h.

94 { return false; }
std::string edm::OutputModule::workerType ( ) const
inlineprivate

Definition at line 208 of file OutputModule.h.

208 { return "WorkerT<OutputModule>"; }
virtual void edm::OutputModule::write ( EventForOutput const &  )
privatepure virtual
virtual void edm::OutputModule::writeLuminosityBlock ( LuminosityBlockForOutput const &  )
privatepure virtual
virtual void edm::OutputModule::writeRun ( RunForOutput const &  )
privatepure virtual

Friends And Related Function Documentation

template<typename T >
friend class maker::ModuleHolderT
friend

Definition at line 57 of file OutputModule.h.

template<typename T >
friend class OutputModuleCommunicatorT
friend

Definition at line 61 of file OutputModule.h.

template<typename T >
friend class WorkerT
friend

Definition at line 59 of file OutputModule.h.

Member Data Documentation

edm::propagate_const<std::unique_ptr<BranchIDLists> > edm::OutputModule::branchIDLists_
private

Definition at line 188 of file OutputModule.h.

Referenced by branchIDLists().

std::map<BranchID::value_type, BranchID::value_type> edm::OutputModule::droppedBranchIDToKeptBranchID_
private

Definition at line 187 of file OutputModule.h.

Referenced by branchIDLists(), and selectProducts().

std::array<bool, NumBranchTypes> edm::OutputModule::hasNewlyDroppedBranch_
private

Definition at line 171 of file OutputModule.h.

Referenced by OutputModule(), and selectProducts().

std::map<BranchID, bool> edm::OutputModule::keepAssociation_
private

Definition at line 192 of file OutputModule.h.

Referenced by selectProducts().

SelectedProductsForBranchType edm::OutputModule::keptProducts_
private

Definition at line 170 of file OutputModule.h.

Referenced by keepThisBranch().

SerialTaskQueue edm::OutputModule::luminosityBlockQueue_
private

Definition at line 196 of file OutputModule.h.

int edm::OutputModule::maxEvents_
private

Definition at line 152 of file OutputModule.h.

Referenced by configure().

ModuleDescription edm::OutputModule::moduleDescription_
private
BranchIDLists const* edm::OutputModule::origBranchIDLists_
private

Definition at line 189 of file OutputModule.h.

Referenced by branchIDLists(), and configure().

std::string edm::OutputModule::process_name_
private

Definition at line 173 of file OutputModule.h.

Referenced by doPreallocate(), and OutputModule().

ProductSelector edm::OutputModule::productSelector_
private

Definition at line 175 of file OutputModule.h.

Referenced by selected(), and selectProducts().

ProductSelectorRules edm::OutputModule::productSelectorRules_
private

Definition at line 174 of file OutputModule.h.

Referenced by selectProducts().

std::atomic<int> edm::OutputModule::remainingEvents_
private

Definition at line 153 of file OutputModule.h.

Referenced by configure(), and doEvent().

SharedResourcesAcquirer edm::OutputModule::resourceAcquirer_
private

Definition at line 194 of file OutputModule.h.

Referenced by doBeginJob().

SerialTaskQueue edm::OutputModule::runQueue_
private

Definition at line 195 of file OutputModule.h.

ParameterSet edm::OutputModule::selectEvents_
private

Definition at line 182 of file OutputModule.h.

Referenced by doPreallocate(), and OutputModule().

ParameterSetID edm::OutputModule::selector_config_id_
private

Definition at line 183 of file OutputModule.h.

Referenced by OutputModule(), and setEventSelectionInfo().

std::vector<detail::TriggerResultsBasedEventSelector> edm::OutputModule::selectors_
private
edm::propagate_const<std::unique_ptr<ThinnedAssociationsHelper> > edm::OutputModule::thinnedAssociationsHelper_
private

Definition at line 191 of file OutputModule.h.

Referenced by selectProducts(), and thinnedAssociationsHelper().

bool edm::OutputModule::wantAllEvents_
private

Definition at line 178 of file OutputModule.h.

Referenced by needToRunSelection(), OutputModule(), and prePrefetchSelection().