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
 
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)
 
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, EventSetup const &c, ModuleCallingContext const *mcc)
 
bool doBeginRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc)
 
void doEndJob ()
 
bool doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *mcc)
 
bool doEndRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc)
 
bool doEvent (EventPrincipal const &ep, EventSetup 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 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 53 of file OutputModule.h.

Member Typedef Documentation

Definition at line 58 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_.

40  :
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 
57  hasNewlyDroppedBranch_.fill(false);
58 
60  process_name_ = tns->getProcessName();
61 
63  pset.getUntrackedParameterSet("SelectEvents", ParameterSet());
64 
65  selectEvents_.registerIt(); // Just in case this PSet is not registered
66 
68  selectors_.resize(1);
69  //need to set wantAllEvents_ in constructor
70  // we will make the remaining selectors once we know how many streams
74  selectors_[0],
76 
79 
80  }
std::array< bool, NumBranchTypes > hasNewlyDroppedBranch_
Definition: OutputModule.h:166
std::map< BranchID::value_type, BranchID::value_type > droppedBranchIDToKeptBranchID_
Definition: OutputModule.h:182
std::vector< BranchIDList > BranchIDLists
Definition: BranchIDList.h:19
ParameterSet selectEvents_
Definition: OutputModule.h:177
ModuleDescription moduleDescription_
Definition: OutputModule.h:171
ParameterSetID id() const
edm::propagate_const< std::unique_ptr< BranchIDLists > > branchIDLists_
Definition: OutputModule.h:183
edm::propagate_const< std::unique_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
Definition: OutputModule.h:186
BranchIDLists const * origBranchIDLists_
Definition: OutputModule.h:184
std::string process_name_
Definition: OutputModule.h:168
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:174
SelectedProductsForBranchType keptProducts_
Definition: OutputModule.h:165
ProductSelector productSelector_
Definition: OutputModule.h:170
std::vector< std::string > const & getAllTriggerNames()
ProductSelectorRules productSelectorRules_
Definition: OutputModule.h:169
std::atomic< int > remainingEvents_
Definition: OutputModule.h:148
ParameterSet const & registerIt()
ParameterSetID selector_config_id_
Definition: OutputModule.h:178
edm::OutputModule::~OutputModule ( )
override

Definition at line 194 of file OutputModule.cc.

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

Member Function Documentation

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

Definition at line 432 of file OutputModule.cc.

References edm::kBaseType().

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

Definition at line 223 of file OutputModule.h.

Referenced by doBeginJob().

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

Definition at line 228 of file OutputModule.h.

Referenced by doBeginLuminosityBlock().

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

Definition at line 225 of file OutputModule.h.

Referenced by doBeginRun().

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

Definition at line 378 of file OutputModule.cc.

References branchIDLists_, droppedBranchIDToKeptBranchID_, and origBranchIDLists_.

378  {
379  if(!droppedBranchIDToKeptBranchID_.empty()) {
380  // Make a private copy of the BranchIDLists.
382  // Check for branches dropped while an EDAlias was kept.
383  for(BranchIDList& branchIDList : *branchIDLists_) {
384  for(BranchID::value_type& branchID : branchIDList) {
385  // 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.
386  std::map<BranchID::value_type, BranchID::value_type>::const_iterator iter = droppedBranchIDToKeptBranchID_.find(branchID);
387  if(iter != droppedBranchIDToKeptBranchID_.end()) {
388  branchID = iter->second;
389  }
390  }
391  }
392  return branchIDLists_.get();
393  }
394  return origBranchIDLists_;
395  }
std::map< BranchID::value_type, BranchID::value_type > droppedBranchIDToKeptBranchID_
Definition: OutputModule.h:182
edm::propagate_const< std::unique_ptr< BranchIDLists > > branchIDLists_
Definition: OutputModule.h:183
BranchIDLists const * origBranchIDLists_
Definition: OutputModule.h:184
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 82 of file OutputModule.cc.

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

82  {
83  remainingEvents_ = maxEvents_ = desc.maxEvents_;
84  origBranchIDLists_ = desc.branchIDLists_;
85  }
BranchIDLists const * origBranchIDLists_
Definition: OutputModule.h:184
std::atomic< int > remainingEvents_
Definition: OutputModule.h:148
ModuleDescription const & edm::OutputModule::description ( ) const
protected

Definition at line 403 of file OutputModule.cc.

References moduleDescription_.

Referenced by setEventSelectionInfo().

403  {
404  return moduleDescription_;
405  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:171
void edm::OutputModule::doBeginJob ( )
protected

Definition at line 214 of file OutputModule.cc.

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

214  {
215  std::vector<std::string> res = {SharedResourcesRegistry::kLegacyModuleResourceName};
217 
218  this->beginJob();
219  }
SharedResourcesAcquirer resourceAcquirer_
Definition: OutputModule.h:189
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:223
bool edm::OutputModule::doBeginLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
protected

Definition at line 327 of file OutputModule.cc.

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

329  {
330  FDEBUG(2) << "beginLuminosityBlock called\n";
331  LuminosityBlockForOutput lb(lbp, moduleDescription_, mcc,false);
332  lb.setConsumer(this);
334  return true;
335  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:171
#define FDEBUG(lev)
Definition: DebugMacros.h:20
virtual void beginLuminosityBlock(LuminosityBlockForOutput const &)
Definition: OutputModule.h:228
bool edm::OutputModule::doBeginRun ( RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
protected

Definition at line 295 of file OutputModule.cc.

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

297  {
298  FDEBUG(2) << "beginRun called\n";
299  RunForOutput r(rp, moduleDescription_, mcc,false);
300  r.setConsumer(this);
301  beginRun(r);
302  return true;
303  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:171
virtual void beginRun(RunForOutput const &)
Definition: OutputModule.h:225
#define FDEBUG(lev)
Definition: DebugMacros.h:20
void edm::OutputModule::doCloseFile ( )
private

Tell the OutputModule that is must end the current file.

Definition at line 368 of file OutputModule.cc.

References isFileOpen(), and reallyCloseFile().

368  {
369  if(isFileOpen()) {
370  reallyCloseFile();
371  }
372  }
virtual void reallyCloseFile()
virtual bool isFileOpen() const
Definition: OutputModule.h:240
void edm::OutputModule::doEndJob ( )
protected

Definition at line 221 of file OutputModule.cc.

References endJob().

221  {
222  endJob();
223  }
virtual void endJob()
Definition: OutputModule.h:224
bool edm::OutputModule::doEndLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
protected

Definition at line 338 of file OutputModule.cc.

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

340  {
341  FDEBUG(2) << "endLuminosityBlock called\n";
342  LuminosityBlockForOutput lb(lbp, moduleDescription_, mcc,true);
343  lb.setConsumer(this);
344  endLuminosityBlock(lb);
345  return true;
346  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:171
#define FDEBUG(lev)
Definition: DebugMacros.h:20
virtual void endLuminosityBlock(LuminosityBlockForOutput const &)
Definition: OutputModule.h:229
bool edm::OutputModule::doEndRun ( RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
protected

Definition at line 306 of file OutputModule.cc.

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

308  {
309  FDEBUG(2) << "endRun called\n";
310  RunForOutput r(rp, moduleDescription_, mcc,true);
311  r.setConsumer(this);
312  endRun(r);
313  return true;
314  }
virtual void endRun(RunForOutput const &)
Definition: OutputModule.h:226
ModuleDescription moduleDescription_
Definition: OutputModule.h:171
#define FDEBUG(lev)
Definition: DebugMacros.h:20
bool edm::OutputModule::doEvent ( EventPrincipal const &  ep,
EventSetup const &  c,
ActivityRegistry act,
ModuleCallingContext const *  mcc 
)
protected

Definition at line 259 of file OutputModule.cc.

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

262  {
263 
264  FDEBUG(2) << "writeEvent called\n";
265 
266  {
268  e.setConsumer(this);
269  EventSignalsSentry sentry(act,mcc);
270  write(e);
271  }
272  if(remainingEvents_ > 0) {
274  }
275  return true;
276  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:171
#define FDEBUG(lev)
Definition: DebugMacros.h:20
std::atomic< int > remainingEvents_
Definition: OutputModule.h:148
virtual void write(EventForOutput const &)=0
void edm::OutputModule::doOpenFile ( FileBlock const &  fb)
private

Definition at line 356 of file OutputModule.cc.

References openFile().

356  {
357  openFile(fb);
358  }
virtual void openFile(FileBlock const &)
Definition: OutputModule.h:231
void edm::OutputModule::doPreallocate ( PreallocationConfiguration const &  iPC)
protected

Definition at line 196 of file OutputModule.cc.

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

196  {
197  auto nstreams = iPC.numberOfStreams();
198  selectors_.resize(nstreams);
199 
200  bool seenFirst = false;
201  for(auto& s : selectors_) {
202  if(seenFirst) {
206  s,
208  }
209  seenFirst = true;
210  }
211  }
ParameterSet selectEvents_
Definition: OutputModule.h:177
std::string process_name_
Definition: OutputModule.h:168
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:174
std::vector< std::string > const & getAllTriggerNames()
void edm::OutputModule::doRegisterThinnedAssociations ( ProductRegistry const &  ,
ThinnedAssociationsHelper  
)
inlineprivate

Definition at line 201 of file OutputModule.h.

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

Definition at line 364 of file OutputModule.cc.

References respondToCloseInputFile().

364  {
366  }
virtual void respondToCloseInputFile(FileBlock const &)
Definition: OutputModule.h:233
void edm::OutputModule::doRespondToOpenInputFile ( FileBlock const &  fb)
private

Definition at line 360 of file OutputModule.cc.

References respondToOpenInputFile().

360  {
362  }
virtual void respondToOpenInputFile(FileBlock const &)
Definition: OutputModule.h:232
void edm::OutputModule::doWriteLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
ModuleCallingContext const *  mcc 
)
private

Definition at line 348 of file OutputModule.cc.

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

349  {
350  FDEBUG(2) << "writeLuminosityBlock called\n";
351  LuminosityBlockForOutput lb(lbp, moduleDescription_, mcc,true);
352  lb.setConsumer(this);
354  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:171
virtual void writeLuminosityBlock(LuminosityBlockForOutput const &)=0
#define FDEBUG(lev)
Definition: DebugMacros.h:20
void edm::OutputModule::doWriteRun ( RunPrincipal const &  rp,
ModuleCallingContext const *  mcc,
MergeableRunProductMetadata const *  mrpm 
)
private

Definition at line 317 of file OutputModule.cc.

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

319  {
320  FDEBUG(2) << "writeRun called\n";
321  RunForOutput r(rp, moduleDescription_, mcc,true, mrpm);
322  r.setConsumer(this);
323  writeRun(r);
324  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:171
#define FDEBUG(lev)
Definition: DebugMacros.h:20
virtual void writeRun(RunForOutput const &)=0
std::map<BranchID::value_type, BranchID::value_type> const& edm::OutputModule::droppedBranchIDToKeptBranchID ( )
inlineprotected

Definition at line 141 of file OutputModule.h.

141  {
143  }
std::map< BranchID::value_type, BranchID::value_type > droppedBranchIDToKeptBranchID_
Definition: OutputModule.h:182
virtual void edm::OutputModule::endJob ( void  )
inlineprivatevirtual

Definition at line 224 of file OutputModule.h.

Referenced by doEndJob().

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

Definition at line 229 of file OutputModule.h.

Referenced by doEndLuminosityBlock().

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

Definition at line 226 of file OutputModule.h.

Referenced by doEndRun().

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

Definition at line 420 of file OutputModule.cc.

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

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

420  {
421  ProductSelectorRules::fillDescription(desc, "outputCommands",defaultOutputCommands);
423  }
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 413 of file OutputModule.cc.

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

413  {
415  desc.setUnknown();
416  descriptions.addDefault(desc);
417  }
Trig edm::OutputModule::getTriggerResults ( EDGetTokenT< TriggerResults > const &  token,
EventForOutput const &  e 
) const
protected

Definition at line 226 of file OutputModule.cc.

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

226  {
227  //This cast is safe since we only call const functions of the EventForOutputafter this point
228  Trig result;
229  e.getByToken<TriggerResults>(token, result);
230  return result;
231  }
detail::TriggerResultsBasedEventSelector::handle_t Trig
Definition: OutputModule.h:51
SerialTaskQueue* edm::OutputModule::globalLuminosityBlocksQueue ( )
inline

Definition at line 92 of file OutputModule.h.

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

Definition at line 91 of file OutputModule.h.

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

Definition at line 238 of file OutputModule.h.

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

Definition at line 237 of file OutputModule.h.

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

Definition at line 240 of file OutputModule.h.

Referenced by doCloseFile().

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

Definition at line 141 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().

143  {
144 
146  trueBranchIDToKeptBranchDesc);
147 
148  EDGetToken token;
149 
150  std::vector<std::string> missingDictionaries;
151  if (!checkDictionary(missingDictionaries, desc.className(), desc.unwrappedType())) {
152  std::string context("Calling OutputModule::keepThisBranch, checking dictionaries for kept types");
153  throwMissingDictionariesException(missingDictionaries, context);
154  }
155 
156  switch (desc.branchType()) {
157  case InEvent:
158  {
159  if(desc.produced()) {
160  keptProductsInEvent.insert(desc.originalBranchID());
161  } else {
162  keptProductsInEvent.insert(desc.branchID());
163  }
164  token = consumes(TypeToGet{desc.unwrappedTypeID(),PRODUCT_TYPE},
165  InputTag{desc.moduleLabel(),
166  desc.productInstanceName(),
167  desc.processName()});
168  break;
169  }
170  case InLumi:
171  {
172  token = consumes<InLumi>(TypeToGet{desc.unwrappedTypeID(),PRODUCT_TYPE},
173  InputTag(desc.moduleLabel(),
174  desc.productInstanceName(),
175  desc.processName()));
176  break;
177  }
178  case InRun:
179  {
180  token = consumes<InRun>(TypeToGet{desc.unwrappedTypeID(),PRODUCT_TYPE},
181  InputTag(desc.moduleLabel(),
182  desc.productInstanceName(),
183  desc.processName()));
184  break;
185  }
186  default:
187  assert(false);
188  break;
189  }
190  // Now put it in the list of selected branches.
191  keptProducts_[desc.branchType()].push_back(std::make_pair(&desc, token));
192  }
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:165
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 250 of file OutputModule.h.

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

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

Definition at line 68 of file OutputModule.h.

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

Definition at line 112 of file OutputModule.h.

112  { return moduleDescription_;
113  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:171
bool edm::OutputModule::needToRunSelection ( ) const
private

Definition at line 233 of file OutputModule.cc.

References wantAllEvents_.

233  {
234  return !wantAllEvents_;
235  }
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 125 of file OutputModule.h.

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

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

Definition at line 250 of file OutputModule.cc.

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

250  {
251  if(wantAllEvents_) return true;
252  auto& s = selectors_[id.value()];
254  e.setConsumer(this);
255  return s.wantEvent(e);
256  }
ModuleDescription moduleDescription_
Definition: OutputModule.h:171
std::vector< detail::TriggerResultsBasedEventSelector > selectors_
Definition: OutputModule.h:174
void edm::OutputModule::prevalidate ( ConfigurationDescriptions )
static

Definition at line 426 of file OutputModule.cc.

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

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

Definition at line 77 of file OutputModule.h.

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

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

Definition at line 238 of file OutputModule.cc.

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

238  {
239  std::vector<ProductResolverIndexAndSkipBit> returnValue;
240  auto const& s = selectors_[0];
241  auto const n = s.numberOfTokens();
242  returnValue.reserve(n);
243 
244  for(unsigned int i=0; i< n;++i) {
245  returnValue.emplace_back(uncheckedIndexFrom(s.token(i)));
246  }
247  return returnValue;
248  }
ProductResolverIndexAndSkipBit uncheckedIndexFrom(EDGetToken) const
std::vector< detail::TriggerResultsBasedEventSelector > selectors_
Definition: OutputModule.h:174
void edm::OutputModule::reallyCloseFile ( )
privatevirtual

Definition at line 374 of file OutputModule.cc.

Referenced by doCloseFile().

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

Definition at line 213 of file OutputModule.h.

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

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

Definition at line 72 of file OutputModule.h.

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

Definition at line 233 of file OutputModule.h.

Referenced by doRespondToCloseInputFile().

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

Definition at line 232 of file OutputModule.h.

Referenced by doRespondToOpenInputFile().

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

Definition at line 408 of file OutputModule.cc.

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

Referenced by selectProducts().

408  {
409  return productSelector_.selected(desc);
410  }
bool selected(BranchDescription const &desc) const
ProductSelector productSelector_
Definition: OutputModule.h:170
ParameterSetID edm::OutputModule::selectorConfig ( ) const
inlineprotected

Definition at line 115 of file OutputModule.h.

References EnergyCorrector::c.

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

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

Definition at line 87 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().

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

Definition at line 437 of file OutputModule.cc.

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

438  {
440  description().moduleLabel(),
441  outputModulePathPositions,
442  anyProductProduced);
443  }
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:178
void edm::OutputModule::setModuleDescription ( ModuleDescription const &  md)
inlineprivate

Definition at line 246 of file OutputModule.h.

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

Definition at line 235 of file OutputModule.h.

Referenced by selectProducts().

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

Definition at line 93 of file OutputModule.h.

93  {
94  return resourceAcquirer_;
95  }
SharedResourcesAcquirer resourceAcquirer_
Definition: OutputModule.h:189
virtual bool edm::OutputModule::shouldWeCloseFile ( ) const
inlineprivatevirtual

Ask the OutputModule if we should end the current file.

Definition at line 220 of file OutputModule.h.

References TriggerAnalyzer::write().

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

Definition at line 398 of file OutputModule.cc.

References thinnedAssociationsHelper_.

398  {
399  return thinnedAssociationsHelper_.get();
400  }
edm::propagate_const< std::unique_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
Definition: OutputModule.h:186
bool edm::OutputModule::wantAllEvents ( ) const
inline
static bool edm::OutputModule::wantsGlobalLuminosityBlocks ( )
inlinestatic

Definition at line 87 of file OutputModule.h.

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

Definition at line 86 of file OutputModule.h.

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

Definition at line 89 of file OutputModule.h.

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

Definition at line 88 of file OutputModule.h.

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

Definition at line 204 of file OutputModule.h.

204 {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 55 of file OutputModule.h.

template<typename T >
friend class OutputModuleCommunicatorT
friend

Definition at line 57 of file OutputModule.h.

template<typename T >
friend class WorkerT
friend

Definition at line 56 of file OutputModule.h.

Member Data Documentation

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

Definition at line 183 of file OutputModule.h.

Referenced by branchIDLists().

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

Definition at line 182 of file OutputModule.h.

Referenced by branchIDLists(), and selectProducts().

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

Definition at line 166 of file OutputModule.h.

Referenced by OutputModule(), and selectProducts().

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

Definition at line 187 of file OutputModule.h.

Referenced by selectProducts().

SelectedProductsForBranchType edm::OutputModule::keptProducts_
private

Definition at line 165 of file OutputModule.h.

Referenced by keepThisBranch().

SerialTaskQueue edm::OutputModule::luminosityBlockQueue_
private

Definition at line 191 of file OutputModule.h.

int edm::OutputModule::maxEvents_
private

Definition at line 147 of file OutputModule.h.

Referenced by configure().

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

Definition at line 184 of file OutputModule.h.

Referenced by branchIDLists(), and configure().

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

Definition at line 168 of file OutputModule.h.

Referenced by doPreallocate(), and OutputModule().

ProductSelector edm::OutputModule::productSelector_
private

Definition at line 170 of file OutputModule.h.

Referenced by selected(), and selectProducts().

ProductSelectorRules edm::OutputModule::productSelectorRules_
private

Definition at line 169 of file OutputModule.h.

Referenced by selectProducts().

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

Definition at line 148 of file OutputModule.h.

Referenced by configure(), and doEvent().

SharedResourcesAcquirer edm::OutputModule::resourceAcquirer_
private

Definition at line 189 of file OutputModule.h.

Referenced by doBeginJob().

SerialTaskQueue edm::OutputModule::runQueue_
private

Definition at line 190 of file OutputModule.h.

ParameterSet edm::OutputModule::selectEvents_
private

Definition at line 177 of file OutputModule.h.

Referenced by doPreallocate(), and OutputModule().

ParameterSetID edm::OutputModule::selector_config_id_
private

Definition at line 178 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 186 of file OutputModule.h.

Referenced by selectProducts(), and thinnedAssociationsHelper().

bool edm::OutputModule::wantAllEvents_
private

Definition at line 173 of file OutputModule.h.

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