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::global::OutputModuleBase Class Referenceabstract

#include <OutputModuleBase.h>

Inheritance diagram for edm::global::OutputModuleBase:
edm::EDConsumerBase edm::global::OutputModule< T > edm::global::outputmodule::InputFileWatcher edm::global::OutputModule<> edm::AsciiOutputModule

Public Types

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

Public Member Functions

BranchIDLists const * branchIDLists () const
 
std::array< bool, NumBranchTypes > const & hasNewlyDroppedBranch () const
 
SelectedProductsForBranchType const & keptProducts () const
 
int maxEvents () const
 
const ModuleDescriptionmoduleDescription () const
 
OutputModuleBaseoperator= (OutputModuleBase const &)=delete
 
 OutputModuleBase (ParameterSet const &pset)
 
 OutputModuleBase (OutputModuleBase const &)=delete
 
std::string const & processName () const
 
int remainingEvents () const
 
bool selected (BranchDescription const &desc) const
 
void selectProducts (ProductRegistry const &preg, ThinnedAssociationsHelper const &)
 
ThinnedAssociationsHelper const * thinnedAssociationsHelper () const
 
bool wantAllEvents () const
 
bool wantsGlobalLuminosityBlocks () const
 
bool wantsGlobalRuns () const
 
virtual bool wantsStreamLuminosityBlocks () const =0
 
virtual bool wantsStreamRuns () const =0
 
 ~OutputModuleBase () override
 
- 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)
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 

Protected Member Functions

void configure (OutputModuleDescription const &desc)
 
ModuleDescription const & description () const
 
void doBeginJob ()
 
bool doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *)
 
bool doBeginRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *)
 
void doBeginStream (StreamID id)
 
void doEndJob ()
 
bool doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *)
 
bool doEndRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *)
 
void doEndStream (StreamID id)
 
bool doEvent (EventPrincipal const &ep, EventSetup const &c, ActivityRegistry *, ModuleCallingContext const *)
 
void doPreallocate (PreallocationConfiguration const &)
 
void doStreamBeginLuminosityBlock (StreamID id, LuminosityBlockPrincipal &ep, EventSetup const &c, ModuleCallingContext const *)
 
void doStreamBeginRun (StreamID id, RunPrincipal &ep, EventSetup const &c, ModuleCallingContext const *)
 
void doStreamEndLuminosityBlock (StreamID id, LuminosityBlockPrincipal &ep, EventSetup const &c, ModuleCallingContext const *)
 
void doStreamEndRun (StreamID id, RunPrincipal &ep, EventSetup const &c, ModuleCallingContext const *)
 
std::map< BranchID::value_type, BranchID::value_type > const & droppedBranchIDToKeptBranchID ()
 
void preActionBeforeRunEventAsync (WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
 
ParameterSetID selectorConfig () const
 
void setEventSelectionInfo (std::map< std::string, std::vector< std::pair< std::string, int > > > const &outputModulePathPositions, bool anyProductProduced)
 
- 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 doBeginLuminosityBlock_ (LuminosityBlockForOutput const &)
 
virtual void doBeginLuminosityBlockSummary_ (LuminosityBlockForOutput const &, EventSetup const &)
 
virtual void doBeginRun_ (RunForOutput const &)
 
virtual void doBeginRunSummary_ (RunForOutput const &, EventSetup const &)
 
virtual void doBeginStream_ (StreamID)
 
void doCloseFile ()
 Tell the OutputModule that is must end the current file. More...
 
virtual void doEndLuminosityBlock_ (LuminosityBlockForOutput const &)
 
virtual void doEndLuminosityBlockSummary_ (LuminosityBlockForOutput const &, EventSetup const &)
 
virtual void doEndRun_ (RunForOutput const &)
 
virtual void doEndRunSummary_ (RunForOutput const &, EventSetup const &)
 
virtual void doEndStream_ (StreamID)
 
void doOpenFile (FileBlock const &fb)
 
void doRegisterThinnedAssociations (ProductRegistry const &, ThinnedAssociationsHelper &)
 
void doRespondToCloseInputFile (FileBlock const &fb)
 
virtual void doRespondToCloseInputFile_ (FileBlock const &)
 
void doRespondToOpenInputFile (FileBlock const &fb)
 
virtual void doRespondToOpenInputFile_ (FileBlock const &)
 
virtual void doStreamBeginLuminosityBlock_ (StreamID, LuminosityBlockForOutput const &, EventSetup const &)
 
virtual void doStreamBeginRun_ (StreamID, RunForOutput const &, EventSetup const &)
 
virtual void doStreamEndLuminosityBlock_ (StreamID, LuminosityBlockForOutput const &, EventSetup const &)
 
virtual void doStreamEndLuminosityBlockSummary_ (StreamID, LuminosityBlockForOutput const &, EventSetup const &)
 
virtual void doStreamEndRun_ (StreamID, RunForOutput const &, EventSetup const &)
 
virtual void doStreamEndRunSummary_ (StreamID, RunForOutput const &, EventSetup const &)
 
void doWriteLuminosityBlock (LuminosityBlockPrincipal const &lbp, ModuleCallingContext const *)
 
void doWriteRun (RunPrincipal const &rp, ModuleCallingContext const *, MergeableRunProductMetadata const *)
 
virtual void endJob ()
 
bool hasAccumulator () const
 
bool hasAcquire () const
 
virtual bool isFileOpen () const
 
void keepThisBranch (BranchDescription const &desc, std::map< BranchID, BranchDescription const * > &trueBranchIDToKeptBranchDesc, std::set< BranchID > &keptProductsInEvent)
 
bool limitReached () const
 
bool needToRunSelection () const
 
virtual void openFile (FileBlock const &)
 
virtual void preallocate (PreallocationConfiguration const &)
 
virtual void preallocLumis (unsigned int)
 
virtual void preallocStreams (unsigned int)
 
bool prePrefetchSelection (StreamID id, EventPrincipal const &, ModuleCallingContext const *)
 
std::vector< ProductResolverIndexAndSkipBitproductsUsedBySelection () const
 
virtual void reallyCloseFile ()
 
void registerProductsAndCallbacks (OutputModuleBase const *, ProductRegistry const *)
 
void setModuleDescription (ModuleDescription const &md)
 
virtual void setProcessesWithSelectedMergeableRunProducts (std::set< std::string > const &)
 
virtual bool shouldWeCloseFile () const
 Ask the OutputModule if we should end the current file. More...
 
void updateBranchIDListsWithKeptAliases ()
 
std::string workerType () const
 
virtual void write (EventForOutput const &)=0
 
virtual void writeLuminosityBlock (LuminosityBlockForOutput const &)=0
 
virtual void writeRun (RunForOutput const &)=0
 

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_
 
int maxEvents_
 
ModuleDescription moduleDescription_
 
BranchIDLists const * origBranchIDLists_
 
std::string process_name_
 
ProductSelector productSelector_
 
ProductSelectorRules productSelectorRules_
 
std::atomic< int > remainingEvents_
 
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 ::edm::OutputModuleCommunicatorT
 
template<typename T >
class ::edm::WorkerT
 
template<typename U >
class edm::maker::ModuleHolderT
 

Detailed Description

Definition at line 63 of file OutputModuleBase.h.

Member Typedef Documentation

Definition at line 68 of file OutputModuleBase.h.

Constructor & Destructor Documentation

OutputModuleBase::OutputModuleBase ( ParameterSet const &  pset)
explicit

Definition at line 43 of file OutputModuleBase.cc.

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

43  :
44  maxEvents_(-1),
46  keptProducts_(),
48  process_name_(),
49  productSelectorRules_(pset, "outputCommands", "OutputModule"),
52  wantAllEvents_(false),
53  selectors_(),
57  origBranchIDLists_(nullptr),
58  thinnedAssociationsHelper_(new ThinnedAssociationsHelper) {
59 
60  hasNewlyDroppedBranch_.fill(false);
61 
63  process_name_ = tns->getProcessName();
64 
66  pset.getUntrackedParameterSet("SelectEvents", ParameterSet());
67 
68  selectEvents_.registerIt(); // Just in case this PSet is not registered
69 
71 
72  //need to set wantAllEvents_ in constructor
73  // we will make the remaining selectors once we know how many streams
74  selectors_.resize(1);
78  selectors_[0],
80 
81  }
BranchIDLists const * origBranchIDLists_
std::vector< BranchIDList > BranchIDLists
Definition: BranchIDList.h:19
ParameterSetID id() const
std::map< BranchID::value_type, BranchID::value_type > droppedBranchIDToKeptBranchID_
std::vector< detail::TriggerResultsBasedEventSelector > selectors_
SelectedProductsForBranchType keptProducts_
std::array< bool, NumBranchTypes > hasNewlyDroppedBranch_
ModuleDescription moduleDescription_
edm::propagate_const< std::unique_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
edm::propagate_const< std::unique_ptr< BranchIDLists > > branchIDLists_
bool configureEventSelector(edm::ParameterSet const &iPSet, std::string const &iProcessName, std::vector< std::string > const &iAllTriggerNames, edm::detail::TriggerResultsBasedEventSelector &oSelector, ConsumesCollector &&iC)
ProductSelectorRules productSelectorRules_
std::atomic< int > remainingEvents_
std::vector< std::string > const & getAllTriggerNames()
ParameterSet const & registerIt()
OutputModuleBase::~OutputModuleBase ( )
override

Definition at line 206 of file OutputModuleBase.cc.

206 { }
edm::global::OutputModuleBase::OutputModuleBase ( OutputModuleBase const &  )
delete

Member Function Documentation

const std::string & OutputModuleBase::baseType ( )
static

Definition at line 410 of file OutputModuleBase.cc.

References edm::global::kBaseType().

410  {
411  return kBaseType;
412  }
static const std::string kBaseType("EDAnalyzer")
virtual void edm::global::OutputModuleBase::beginJob ( void  )
inlineprivatevirtual

Definition at line 245 of file OutputModuleBase.h.

Referenced by doBeginJob().

245 {}
BranchIDLists const * OutputModuleBase::branchIDLists ( ) const

Definition at line 368 of file OutputModuleBase.cc.

References branchIDLists_, droppedBranchIDToKeptBranchID_, edm::propagate_const< T >::get(), and origBranchIDLists_.

368  {
369  if(!droppedBranchIDToKeptBranchID_.empty()) {
370  return branchIDLists_.get();
371  }
372  return origBranchIDLists_;
373  }
BranchIDLists const * origBranchIDLists_
std::map< BranchID::value_type, BranchID::value_type > droppedBranchIDToKeptBranchID_
edm::propagate_const< std::unique_ptr< BranchIDLists > > branchIDLists_
element_type const * get() const
void OutputModuleBase::configure ( OutputModuleDescription const &  desc)
protected
ModuleDescription const & OutputModuleBase::description ( ) const
protected

Definition at line 381 of file OutputModuleBase.cc.

References moduleDescription_.

Referenced by setEventSelectionInfo().

381  {
382  return moduleDescription_;
383  }
ModuleDescription moduleDescription_
void OutputModuleBase::doBeginJob ( )
protected

Definition at line 229 of file OutputModuleBase.cc.

References beginJob().

229  {
230  this->beginJob();
231  }
bool OutputModuleBase::doBeginLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
protected

Definition at line 319 of file OutputModuleBase.cc.

References doBeginLuminosityBlock_(), moduleDescription_, and edm::OccurrenceForOutput::setConsumer().

321  {
322  LuminosityBlockForOutput lb(lbp, moduleDescription_, mcc, false);
323  lb.setConsumer(this);
325  return true;
326  }
ModuleDescription moduleDescription_
virtual void doBeginLuminosityBlock_(LuminosityBlockForOutput const &)
virtual void edm::global::OutputModuleBase::doBeginLuminosityBlock_ ( LuminosityBlockForOutput const &  )
inlineprivatevirtual

Definition at line 268 of file OutputModuleBase.h.

Referenced by doBeginLuminosityBlock().

268 {}
virtual void edm::global::OutputModuleBase::doBeginLuminosityBlockSummary_ ( LuminosityBlockForOutput const &  ,
EventSetup const &   
)
inlineprivatevirtual

Definition at line 269 of file OutputModuleBase.h.

269 {}
bool OutputModuleBase::doBeginRun ( RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
protected

Definition at line 290 of file OutputModuleBase.cc.

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

292  {
293  RunForOutput r(rp, moduleDescription_, mcc, false);
294  r.setConsumer(this);
295  doBeginRun_(r);
296  return true;
297  }
ModuleDescription moduleDescription_
virtual void doBeginRun_(RunForOutput const &)
virtual void edm::global::OutputModuleBase::doBeginRun_ ( RunForOutput const &  )
inlineprivatevirtual

Definition at line 264 of file OutputModuleBase.h.

Referenced by doBeginRun().

264 {}
virtual void edm::global::OutputModuleBase::doBeginRunSummary_ ( RunForOutput const &  ,
EventSetup const &   
)
inlineprivatevirtual

Definition at line 265 of file OutputModuleBase.h.

265 {}
void edm::global::OutputModuleBase::doBeginStream ( StreamID  id)
protected
virtual void edm::global::OutputModuleBase::doBeginStream_ ( StreamID  )
inlineprivatevirtual

Definition at line 255 of file OutputModuleBase.h.

255 {}
void OutputModuleBase::doCloseFile ( )
private

Tell the OutputModule that is must end the current file.

Definition at line 358 of file OutputModuleBase.cc.

References isFileOpen(), and reallyCloseFile().

358  {
359  if(isFileOpen()) {
360  reallyCloseFile();
361  }
362  }
virtual bool isFileOpen() const
void OutputModuleBase::doEndJob ( )
protected

Definition at line 233 of file OutputModuleBase.cc.

References endJob().

233  {
234  endJob();
235  }
bool OutputModuleBase::doEndLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
protected

Definition at line 329 of file OutputModuleBase.cc.

References doEndLuminosityBlock_(), moduleDescription_, and edm::OccurrenceForOutput::setConsumer().

331  {
332  LuminosityBlockForOutput lb(lbp, moduleDescription_, mcc, true);
333  lb.setConsumer(this);
335  return true;
336  }
ModuleDescription moduleDescription_
virtual void doEndLuminosityBlock_(LuminosityBlockForOutput const &)
virtual void edm::global::OutputModuleBase::doEndLuminosityBlock_ ( LuminosityBlockForOutput const &  )
inlineprivatevirtual

Definition at line 270 of file OutputModuleBase.h.

Referenced by doEndLuminosityBlock().

270 {}
virtual void edm::global::OutputModuleBase::doEndLuminosityBlockSummary_ ( LuminosityBlockForOutput const &  ,
EventSetup const &   
)
inlineprivatevirtual

Definition at line 271 of file OutputModuleBase.h.

271 {}
bool OutputModuleBase::doEndRun ( RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
protected

Definition at line 300 of file OutputModuleBase.cc.

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

302  {
303  RunForOutput r(rp, moduleDescription_, mcc, true);
304  r.setConsumer(this);
305  doEndRun_(r);
306  return true;
307  }
ModuleDescription moduleDescription_
virtual void doEndRun_(RunForOutput const &)
virtual void edm::global::OutputModuleBase::doEndRun_ ( RunForOutput const &  )
inlineprivatevirtual

Definition at line 266 of file OutputModuleBase.h.

Referenced by doEndRun().

266 {}
virtual void edm::global::OutputModuleBase::doEndRunSummary_ ( RunForOutput const &  ,
EventSetup const &   
)
inlineprivatevirtual

Definition at line 267 of file OutputModuleBase.h.

267 {}
void edm::global::OutputModuleBase::doEndStream ( StreamID  id)
protected
virtual void edm::global::OutputModuleBase::doEndStream_ ( StreamID  )
inlineprivatevirtual

Definition at line 256 of file OutputModuleBase.h.

256 {}
bool OutputModuleBase::doEvent ( EventPrincipal const &  ep,
EventSetup const &  c,
ActivityRegistry act,
ModuleCallingContext const *  mcc 
)
protected

Definition at line 263 of file OutputModuleBase.cc.

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

266  {
267 
268  {
270  e.setConsumer(this);
271  EventSignalsSentry sentry(act,mcc);
272  write(e);
273  }
274 
275  auto remainingEvents = remainingEvents_.load();
276  bool keepTrying = remainingEvents > 0;
277  while(keepTrying) {
278  auto newValue = remainingEvents - 1;
279  keepTrying = !remainingEvents_.compare_exchange_strong(remainingEvents, newValue);
280  if(keepTrying) {
281  // the exchange failed because the value was changed by another thread.
282  // remainingEvents was changed to be the new value of remainingEvents_;
283  keepTrying = remainingEvents > 0;
284  }
285  }
286  return true;
287  }
ModuleDescription moduleDescription_
std::atomic< int > remainingEvents_
virtual void write(EventForOutput const &)=0
void OutputModuleBase::doOpenFile ( FileBlock const &  fb)
private

Definition at line 345 of file OutputModuleBase.cc.

References openFile().

345  {
346  openFile(fb);
347  }
virtual void openFile(FileBlock const &)
void OutputModuleBase::doPreallocate ( PreallocationConfiguration const &  iPC)
protected

Definition at line 208 of file OutputModuleBase.cc.

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

208  {
209  auto nstreams = iPC.numberOfStreams();
210  selectors_.resize(nstreams);
211 
212  bool seenFirst = false;
213  for(auto& s : selectors_) {
214  if(seenFirst) {
218  s,
220  } else {
221  seenFirst = true;
222  }
223  }
224  preallocStreams(nstreams);
225  preallocLumis(iPC.numberOfLuminosityBlocks());
226  preallocate(iPC);
227  }
virtual void preallocate(PreallocationConfiguration const &)
virtual void preallocStreams(unsigned int)
std::vector< detail::TriggerResultsBasedEventSelector > selectors_
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)
virtual void preallocLumis(unsigned int)
std::vector< std::string > const & getAllTriggerNames()
void edm::global::OutputModuleBase::doRegisterThinnedAssociations ( ProductRegistry const &  ,
ThinnedAssociationsHelper  
)
inlineprivate

Definition at line 222 of file OutputModuleBase.h.

223  { }
void OutputModuleBase::doRespondToCloseInputFile ( FileBlock const &  fb)
private

Definition at line 354 of file OutputModuleBase.cc.

References doRespondToCloseInputFile_().

354  {
356  }
virtual void doRespondToCloseInputFile_(FileBlock const &)
virtual void edm::global::OutputModuleBase::doRespondToCloseInputFile_ ( FileBlock const &  )
inlineprivatevirtual

Reimplemented in edm::global::outputmodule::InputFileWatcher.

Definition at line 273 of file OutputModuleBase.h.

Referenced by doRespondToCloseInputFile().

273 {}
void OutputModuleBase::doRespondToOpenInputFile ( FileBlock const &  fb)
private
virtual void edm::global::OutputModuleBase::doRespondToOpenInputFile_ ( FileBlock const &  )
inlineprivatevirtual

Reimplemented in edm::global::outputmodule::InputFileWatcher.

Definition at line 272 of file OutputModuleBase.h.

Referenced by doRespondToOpenInputFile().

272 {}
void edm::global::OutputModuleBase::doStreamBeginLuminosityBlock ( StreamID  id,
LuminosityBlockPrincipal ep,
EventSetup const &  c,
ModuleCallingContext const *   
)
protected
virtual void edm::global::OutputModuleBase::doStreamBeginLuminosityBlock_ ( StreamID  ,
LuminosityBlockForOutput const &  ,
EventSetup const &   
)
inlineprivatevirtual

Definition at line 260 of file OutputModuleBase.h.

260 {}
void edm::global::OutputModuleBase::doStreamBeginRun ( StreamID  id,
RunPrincipal ep,
EventSetup const &  c,
ModuleCallingContext const *   
)
protected
virtual void edm::global::OutputModuleBase::doStreamBeginRun_ ( StreamID  ,
RunForOutput const &  ,
EventSetup const &   
)
inlineprivatevirtual

Definition at line 257 of file OutputModuleBase.h.

257 {}
void edm::global::OutputModuleBase::doStreamEndLuminosityBlock ( StreamID  id,
LuminosityBlockPrincipal ep,
EventSetup const &  c,
ModuleCallingContext const *   
)
protected
virtual void edm::global::OutputModuleBase::doStreamEndLuminosityBlock_ ( StreamID  ,
LuminosityBlockForOutput const &  ,
EventSetup const &   
)
inlineprivatevirtual

Definition at line 261 of file OutputModuleBase.h.

261 {}
virtual void edm::global::OutputModuleBase::doStreamEndLuminosityBlockSummary_ ( StreamID  ,
LuminosityBlockForOutput const &  ,
EventSetup const &   
)
inlineprivatevirtual

Definition at line 262 of file OutputModuleBase.h.

262 {}
void edm::global::OutputModuleBase::doStreamEndRun ( StreamID  id,
RunPrincipal ep,
EventSetup const &  c,
ModuleCallingContext const *   
)
protected
virtual void edm::global::OutputModuleBase::doStreamEndRun_ ( StreamID  ,
RunForOutput const &  ,
EventSetup const &   
)
inlineprivatevirtual

Definition at line 258 of file OutputModuleBase.h.

258 {}
virtual void edm::global::OutputModuleBase::doStreamEndRunSummary_ ( StreamID  ,
RunForOutput const &  ,
EventSetup const &   
)
inlineprivatevirtual

Definition at line 259 of file OutputModuleBase.h.

259 {}
void OutputModuleBase::doWriteLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
ModuleCallingContext const *  mcc 
)
private

Definition at line 338 of file OutputModuleBase.cc.

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

339  {
340  LuminosityBlockForOutput lb(lbp, moduleDescription_, mcc, true);
341  lb.setConsumer(this);
343  }
ModuleDescription moduleDescription_
virtual void writeLuminosityBlock(LuminosityBlockForOutput const &)=0
void OutputModuleBase::doWriteRun ( RunPrincipal const &  rp,
ModuleCallingContext const *  mcc,
MergeableRunProductMetadata const *  mrpm 
)
private

Definition at line 310 of file OutputModuleBase.cc.

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

312  {
313  RunForOutput r(rp, moduleDescription_, mcc, true, mrpm);
314  r.setConsumer(this);
315  writeRun(r);
316  }
ModuleDescription moduleDescription_
virtual void writeRun(RunForOutput const &)=0
std::map<BranchID::value_type, BranchID::value_type> const& edm::global::OutputModuleBase::droppedBranchIDToKeptBranchID ( )
inlineprotected

Definition at line 163 of file OutputModuleBase.h.

163  {
165  }
std::map< BranchID::value_type, BranchID::value_type > droppedBranchIDToKeptBranchID_
virtual void edm::global::OutputModuleBase::endJob ( void  )
inlineprivatevirtual

Definition at line 246 of file OutputModuleBase.h.

Referenced by doEndJob().

246 {}
void OutputModuleBase::fillDescription ( ParameterSetDescription desc)
static

Definition at line 398 of file OutputModuleBase.cc.

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

398  {
399  ProductSelectorRules::fillDescription(desc, "outputCommands");
401  }
static void fillDescription(ParameterSetDescription &desc, char const *parameterName, std::vector< std::string > const &defaultStrings=defaultSelectionStrings())
static void fillDescription(ParameterSetDescription &desc)
void OutputModuleBase::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 391 of file OutputModuleBase.cc.

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

391  {
393  desc.setUnknown();
394  descriptions.addDefault(desc);
395  }
bool edm::global::OutputModuleBase::hasAccumulator ( ) const
inlineprivate

Definition at line 278 of file OutputModuleBase.h.

278 { return false; }
bool edm::global::OutputModuleBase::hasAcquire ( ) const
inlineprivate

Definition at line 277 of file OutputModuleBase.h.

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

Definition at line 89 of file OutputModuleBase.h.

References fillDescriptions(), and AlCaHLTBitMon_QueryRunRegistry::string.

89 {return hasNewlyDroppedBranch_;}
std::array< bool, NumBranchTypes > hasNewlyDroppedBranch_
virtual bool edm::global::OutputModuleBase::isFileOpen ( ) const
inlineprivatevirtual

Definition at line 250 of file OutputModuleBase.h.

Referenced by doCloseFile().

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

Definition at line 160 of file OutputModuleBase.cc.

References edm::BranchDescription::branchID(), edm::BranchDescription::branchType(), edm::ProductSelector::checkForDuplicateKeptBranch(), 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(), and edm::BranchDescription::unwrappedTypeID().

Referenced by selectProducts().

162  {
163 
165  trueBranchIDToKeptBranchDesc);
166 
167  EDGetToken token;
168  switch (desc.branchType()) {
169  case InEvent:
170  {
171  if(desc.produced()) {
172  keptProductsInEvent.insert(desc.originalBranchID());
173  } else {
174  keptProductsInEvent.insert(desc.branchID());
175  }
176  token = consumes(TypeToGet{desc.unwrappedTypeID(),PRODUCT_TYPE},
177  InputTag{desc.moduleLabel(),
178  desc.productInstanceName(),
179  desc.processName()});
180  break;
181  }
182  case InLumi:
183  {
184  token = consumes<InLumi>(TypeToGet{desc.unwrappedTypeID(),PRODUCT_TYPE},
185  InputTag(desc.moduleLabel(),
186  desc.productInstanceName(),
187  desc.processName()));
188  break;
189  }
190  case InRun:
191  {
192  token = consumes<InRun>(TypeToGet{desc.unwrappedTypeID(),PRODUCT_TYPE},
193  InputTag(desc.moduleLabel(),
194  desc.productInstanceName(),
195  desc.processName()));
196  break;
197  }
198  default:
199  assert(false);
200  break;
201  }
202  // Now put it in the list of selected branches.
203  keptProducts_[desc.branchType()].push_back(std::make_pair(&desc, token));
204  }
SelectedProductsForBranchType keptProducts_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
static void checkForDuplicateKeptBranch(BranchDescription const &desc, std::map< BranchID, BranchDescription const * > &trueBranchIDToKeptBranchDesc)
SelectedProductsForBranchType const& edm::global::OutputModuleBase::keptProducts ( ) const
inline

Definition at line 88 of file OutputModuleBase.h.

88 {return keptProducts_;}
SelectedProductsForBranchType keptProducts_
bool edm::global::OutputModuleBase::limitReached ( ) const
inlineprivate

Definition at line 288 of file OutputModuleBase.h.

288 {return remainingEvents_ == 0;}
std::atomic< int > remainingEvents_
int edm::global::OutputModuleBase::maxEvents ( ) const
inline

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

Definition at line 78 of file OutputModuleBase.h.

const ModuleDescription& edm::global::OutputModuleBase::moduleDescription ( ) const
inline

Definition at line 102 of file OutputModuleBase.h.

102  {
103  return moduleDescription_;
104  }
ModuleDescription moduleDescription_
bool OutputModuleBase::needToRunSelection ( ) const
private

Definition at line 237 of file OutputModuleBase.cc.

References wantAllEvents_.

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

Definition at line 147 of file OutputModuleBase.h.

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

147 {}
virtual void edm::global::OutputModuleBase::preallocate ( PreallocationConfiguration const &  )
inlineprivatevirtual

Definition at line 254 of file OutputModuleBase.h.

Referenced by doPreallocate().

254 {}
virtual void edm::global::OutputModuleBase::preallocLumis ( unsigned  int)
inlineprivatevirtual

Definition at line 253 of file OutputModuleBase.h.

Referenced by doPreallocate().

253 {}
virtual void edm::global::OutputModuleBase::preallocStreams ( unsigned  int)
inlineprivatevirtual

Definition at line 252 of file OutputModuleBase.h.

Referenced by doPreallocate().

252 {}
bool OutputModuleBase::prePrefetchSelection ( StreamID  id,
EventPrincipal const &  ep,
ModuleCallingContext const *  mcc 
)
private

Definition at line 254 of file OutputModuleBase.cc.

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

254  {
255  if(wantAllEvents_) return true;
256  auto& s = selectors_[id.value()];
258  e.setConsumer(this);
259  return s.wantEvent(e);
260  }
std::vector< detail::TriggerResultsBasedEventSelector > selectors_
ModuleDescription moduleDescription_
void OutputModuleBase::prevalidate ( ConfigurationDescriptions )
static

Definition at line 404 of file OutputModuleBase.cc.

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

404  {
405  }
std::string const& edm::global::OutputModuleBase::processName ( ) const
inline

Definition at line 87 of file OutputModuleBase.h.

87 {return process_name_;}
std::vector< ProductResolverIndexAndSkipBit > OutputModuleBase::productsUsedBySelection ( ) const
private

Definition at line 242 of file OutputModuleBase.cc.

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

242  {
243  std::vector<ProductResolverIndexAndSkipBit> returnValue;
244  auto const& s = selectors_[0];
245  auto const n = s.numberOfTokens();
246  returnValue.reserve(n);
247 
248  for(unsigned int i=0; i< n;++i) {
249  returnValue.emplace_back(uncheckedIndexFrom(s.token(i)));
250  }
251  return returnValue;
252  }
std::vector< detail::TriggerResultsBasedEventSelector > selectors_
ProductResolverIndexAndSkipBit uncheckedIndexFrom(EDGetToken) const
void OutputModuleBase::reallyCloseFile ( )
privatevirtual

Definition at line 364 of file OutputModuleBase.cc.

Referenced by doCloseFile().

364  {
365  }
void edm::global::OutputModuleBase::registerProductsAndCallbacks ( OutputModuleBase const *  ,
ProductRegistry const *   
)
inlineprivate

Definition at line 230 of file OutputModuleBase.h.

230 {}
int edm::global::OutputModuleBase::remainingEvents ( ) const
inline

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

Definition at line 82 of file OutputModuleBase.h.

Referenced by doEvent().

82 {return remainingEvents_;}
std::atomic< int > remainingEvents_
bool OutputModuleBase::selected ( BranchDescription const &  desc) const

Definition at line 386 of file OutputModuleBase.cc.

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

Referenced by selectProducts(), and edm::AsciiOutputModule::write().

386  {
387  return productSelector_.selected(desc);
388  }
bool selected(BranchDescription const &desc) const
ParameterSetID edm::global::OutputModuleBase::selectorConfig ( ) const
inlineprotected

Definition at line 117 of file OutputModuleBase.h.

References EnergyCorrector::c.

117 { return selector_config_id_; }
void OutputModuleBase::selectProducts ( ProductRegistry const &  preg,
ThinnedAssociationsHelper const &  thinnedAssociationsHelper 
)

Definition at line 88 of file OutputModuleBase.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().

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

Definition at line 415 of file OutputModuleBase.cc.

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

416  {
418  description().moduleLabel(),
419  outputModulePathPositions,
420  anyProductProduced);
421  }
ModuleDescription const & description() const
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)
void edm::global::OutputModuleBase::setModuleDescription ( ModuleDescription const &  md)
inlineprivate

Definition at line 284 of file OutputModuleBase.h.

284  {
285  moduleDescription_ = md;
286  }
ModuleDescription moduleDescription_
virtual void edm::global::OutputModuleBase::setProcessesWithSelectedMergeableRunProducts ( std::set< std::string > const &  )
inlineprivatevirtual

Definition at line 275 of file OutputModuleBase.h.

Referenced by selectProducts().

275 {}
virtual bool edm::global::OutputModuleBase::shouldWeCloseFile ( ) const
inlineprivatevirtual

Ask the OutputModule if we should end the current file.

Definition at line 242 of file OutputModuleBase.h.

References TriggerAnalyzer::write().

242 {return false;}
ThinnedAssociationsHelper const * OutputModuleBase::thinnedAssociationsHelper ( ) const

Definition at line 376 of file OutputModuleBase.cc.

References thinnedAssociationsHelper_.

376  {
377  return thinnedAssociationsHelper_.get();
378  }
edm::propagate_const< std::unique_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
void OutputModuleBase::updateBranchIDListsWithKeptAliases ( )
private

Definition at line 142 of file OutputModuleBase.cc.

References branchIDLists_, droppedBranchIDToKeptBranchID_, and origBranchIDLists_.

Referenced by doRespondToOpenInputFile().

142  {
143  if(!droppedBranchIDToKeptBranchID_.empty()) {
144  // Make a private copy of the BranchIDLists.
146  // Check for branches dropped while an EDAlias was kept.
147  for(BranchIDList& branchIDList : *branchIDLists_) {
148  for(BranchID::value_type& branchID : branchIDList) {
149  // Replace BranchID of each dropped branch with that of the kept
150  // alias, so the alias branch will have the product ID of the original branch.
151  std::map<BranchID::value_type, BranchID::value_type>::const_iterator iter = droppedBranchIDToKeptBranchID_.find(branchID);
152  if(iter != droppedBranchIDToKeptBranchID_.end()) {
153  branchID = iter->second;
154  }
155  }
156  }
157  }
158  }
BranchIDLists const * origBranchIDLists_
std::map< BranchID::value_type, BranchID::value_type > droppedBranchIDToKeptBranchID_
unsigned int value_type
Definition: BranchID.h:16
edm::propagate_const< std::unique_ptr< BranchIDLists > > branchIDLists_
std::vector< BranchID::value_type > BranchIDList
Definition: BranchIDList.h:18
bool edm::global::OutputModuleBase::wantAllEvents ( ) const
inline

Definition at line 96 of file OutputModuleBase.h.

bool edm::global::OutputModuleBase::wantsGlobalLuminosityBlocks ( ) const
inline

Definition at line 108 of file OutputModuleBase.h.

References heppy_report::description.

108 {return true;}
bool edm::global::OutputModuleBase::wantsGlobalRuns ( ) const
inline

Definition at line 107 of file OutputModuleBase.h.

107 {return true;}
virtual bool edm::global::OutputModuleBase::wantsStreamLuminosityBlocks ( ) const
pure virtual
virtual bool edm::global::OutputModuleBase::wantsStreamRuns ( ) const
pure virtual
std::string edm::global::OutputModuleBase::workerType ( ) const
inlineprivate

Definition at line 225 of file OutputModuleBase.h.

225 {return "WorkerT<edm::global::OutputModuleBase>";}
virtual void edm::global::OutputModuleBase::write ( EventForOutput const &  )
privatepure virtual

Implemented in edm::AsciiOutputModule.

Referenced by doEvent(), and pkg.AbstractPkg::generate().

virtual void edm::global::OutputModuleBase::writeLuminosityBlock ( LuminosityBlockForOutput const &  )
privatepure virtual

Implemented in edm::AsciiOutputModule.

Referenced by doWriteLuminosityBlock().

virtual void edm::global::OutputModuleBase::writeRun ( RunForOutput const &  )
privatepure virtual

Implemented in edm::AsciiOutputModule.

Referenced by doWriteRun().

Friends And Related Function Documentation

template<typename T >
friend class ::edm::OutputModuleCommunicatorT
friend

Definition at line 67 of file OutputModuleBase.h.

template<typename T >
friend class ::edm::WorkerT
friend

Definition at line 66 of file OutputModuleBase.h.

template<typename U >
friend class edm::maker::ModuleHolderT
friend

Definition at line 65 of file OutputModuleBase.h.

Member Data Documentation

edm::propagate_const<std::unique_ptr<BranchIDLists> > edm::global::OutputModuleBase::branchIDLists_
private

Definition at line 205 of file OutputModuleBase.h.

Referenced by branchIDLists(), and updateBranchIDListsWithKeptAliases().

std::map<BranchID::value_type, BranchID::value_type> edm::global::OutputModuleBase::droppedBranchIDToKeptBranchID_
private
std::array<bool, NumBranchTypes> edm::global::OutputModuleBase::hasNewlyDroppedBranch_
private

Definition at line 188 of file OutputModuleBase.h.

Referenced by OutputModuleBase(), and selectProducts().

std::map<BranchID, bool> edm::global::OutputModuleBase::keepAssociation_
private

Definition at line 209 of file OutputModuleBase.h.

Referenced by selectProducts().

SelectedProductsForBranchType edm::global::OutputModuleBase::keptProducts_
private

Definition at line 187 of file OutputModuleBase.h.

Referenced by keepThisBranch().

int edm::global::OutputModuleBase::maxEvents_
private

Definition at line 169 of file OutputModuleBase.h.

Referenced by configure().

ModuleDescription edm::global::OutputModuleBase::moduleDescription_
private
BranchIDLists const* edm::global::OutputModuleBase::origBranchIDLists_
private
std::string edm::global::OutputModuleBase::process_name_
private

Definition at line 190 of file OutputModuleBase.h.

Referenced by doPreallocate(), and OutputModuleBase().

ProductSelector edm::global::OutputModuleBase::productSelector_
private

Definition at line 192 of file OutputModuleBase.h.

Referenced by selected(), and selectProducts().

ProductSelectorRules edm::global::OutputModuleBase::productSelectorRules_
private

Definition at line 191 of file OutputModuleBase.h.

Referenced by selectProducts().

std::atomic<int> edm::global::OutputModuleBase::remainingEvents_
private

Definition at line 170 of file OutputModuleBase.h.

Referenced by configure(), and doEvent().

ParameterSet edm::global::OutputModuleBase::selectEvents_
private

Definition at line 197 of file OutputModuleBase.h.

Referenced by doPreallocate(), and OutputModuleBase().

ParameterSetID edm::global::OutputModuleBase::selector_config_id_
private

Definition at line 200 of file OutputModuleBase.h.

Referenced by OutputModuleBase(), and setEventSelectionInfo().

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

Definition at line 208 of file OutputModuleBase.h.

Referenced by selectProducts(), and thinnedAssociationsHelper().

bool edm::global::OutputModuleBase::wantAllEvents_
private

Definition at line 195 of file OutputModuleBase.h.

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