CMS 3D CMS Logo

OutputModuleBase.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_global_OutputModuleBase_h
2 #define FWCore_Framework_global_OutputModuleBase_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : OutputModuleBase
7 //
16 //
17 //
18 
19 // system include files
20 #include <array>
21 #include <memory>
22 #include <string>
23 #include <vector>
24 #include <map>
25 #include <atomic>
26 #include <mutex>
27 #include <set>
28 
29 // user include files
34 
44 
45 // forward declarations
46 namespace edm {
47 
48  class MergeableRunProductMetadata;
49  class ModuleCallingContext;
50  class PreallocationConfiguration;
51  class ActivityRegistry;
52  class ThinnedAssociationsHelper;
53 
54  template <typename T>
56 
57  namespace maker {
58  template <typename T>
59  class ModuleHolderT;
60  }
61 
62  namespace global {
63 
65  public:
66  template <typename U>
68  template <typename T>
69  friend class ::edm::WorkerT;
70  template <typename T>
71  friend class ::edm::OutputModuleCommunicatorT;
73 
74  explicit OutputModuleBase(ParameterSet const& pset);
75  ~OutputModuleBase() override;
76 
77  OutputModuleBase(OutputModuleBase const&) = delete; // Disallow copying and moving
78  OutputModuleBase& operator=(OutputModuleBase const&) = delete; // Disallow copying and moving
79 
82  int maxEvents() const { return maxEvents_; }
83 
86  int remainingEvents() const { return remainingEvents_; }
87 
88  bool selected(BranchDescription const& desc) const;
89 
91  std::string const& processName() const { return process_name_; }
93  std::array<bool, NumBranchTypes> const& hasNewlyDroppedBranch() const { return hasNewlyDroppedBranch_; }
94 
96  static void fillDescriptions(ConfigurationDescriptions& descriptions);
97  static const std::string& baseType();
99 
100  bool wantAllEvents() const { return wantAllEvents_; }
101 
102  BranchIDLists const* branchIDLists() const;
103 
105 
107 
108  //Output modules always need writeRun and writeLumi to be called
109  bool wantsGlobalRuns() const { return true; }
110  bool wantsGlobalLuminosityBlocks() const { return true; }
111 
112  virtual bool wantsProcessBlocks() const = 0;
113  virtual bool wantsInputProcessBlocks() const = 0;
114  virtual bool wantsStreamRuns() const = 0;
115  virtual bool wantsStreamLuminosityBlocks() const = 0;
116 
117  protected:
118  ModuleDescription const& description() const;
119 
121 
123 
124  void doBeginJob();
125  void doEndJob();
126 
127  void doBeginStream(StreamID id);
128  void doEndStream(StreamID id);
129 
131  //For now this is a placeholder
133  ModuleCallingContext const& iModuleCallingContext,
134  Principal const& iPrincipal) const {}
135 
140  bool doEndRun(RunTransitionInfo const&, ModuleCallingContext const*);
143 
145  std::map<std::string, std::vector<std::pair<std::string, int>>> const& outputModulePathPositions,
146  bool anyProductProduced);
147 
149 
150  std::map<BranchID::value_type, BranchID::value_type> const& droppedBranchIDToKeptBranchID() {
152  }
153 
154  private:
156  std::atomic<int> remainingEvents_;
157 
158  // TODO: Give OutputModule
159  // an interface (protected?) that supplies client code with the
160  // needed functionality *without* giving away implementation
161  // details ... don't just return a reference to keptProducts_, because
162  // we are looking to have the flexibility to change the
163  // implementation of keptProducts_ without modifying clients. When this
164  // change is made, we'll have a one-time-only task of modifying
165  // clients (classes derived from OutputModule) to use the
166  // newly-introduced interface.
167  // TODO: Consider using shared pointers here?
168 
169  // keptProducts_ are pointers to the BranchDescription objects describing
170  // the branches we are to write.
171  //
172  // We do not own the BranchDescriptions to which we point.
174  std::array<bool, NumBranchTypes> hasNewlyDroppedBranch_;
175 
180 
182  std::vector<detail::TriggerResultsBasedEventSelector> selectors_;
184  // ID of the ParameterSet that configured the event selector
185  // subsystem.
187 
188  // needed because of possible EDAliases.
189  // filled in only if key and value are different.
190  std::map<BranchID::value_type, BranchID::value_type> droppedBranchIDToKeptBranchID_;
193 
195  std::map<BranchID, bool> keepAssociation_;
196 
197  //------------------------------------------------------------------
198  // private member functions
199  //------------------------------------------------------------------
200 
202 
206  void doOpenFile(FileBlock const& fb);
210 
211  std::string workerType() const { return "WorkerT<edm::global::OutputModuleBase>"; }
212 
214  void doCloseFile();
215 
217 
218  bool needToRunSelection() const;
219  std::vector<ProductResolverIndexAndSkipBit> productsUsedBySelection() const;
221 
222  // Do the end-of-file tasks; this is only called internally, after
223  // the appropriate tests have been done.
224  virtual void reallyCloseFile();
225 
227  virtual bool shouldWeCloseFile() const { return false; }
228 
229  virtual void write(EventForOutput const&) = 0;
230  virtual void beginJob() {}
231  virtual void endJob() {}
232  virtual void writeLuminosityBlock(LuminosityBlockForOutput const&) = 0;
233  virtual void writeRun(RunForOutput const&) = 0;
234  virtual void openFile(FileBlock const&) {}
235  virtual bool isFileOpen() const { return true; }
236 
237  virtual void preallocStreams(unsigned int) {}
238  virtual void preallocLumis(unsigned int) {}
239  virtual void preallocate(PreallocationConfiguration const&) {}
240  virtual void doBeginStream_(StreamID) {}
241  virtual void doEndStream_(StreamID) {}
242  virtual void doStreamBeginRun_(StreamID, RunForOutput const&, EventSetup const&) {}
243  virtual void doStreamEndRun_(StreamID, RunForOutput const&, EventSetup const&) {}
244  virtual void doStreamEndRunSummary_(StreamID, RunForOutput const&, EventSetup const&) {}
248 
249  virtual void doBeginRun_(RunForOutput const&) {}
250  virtual void doBeginRunSummary_(RunForOutput const&, EventSetup const&) {}
251  virtual void doEndRun_(RunForOutput const&) {}
252  virtual void doEndRunSummary_(RunForOutput const&, EventSetup const&) {}
257  virtual void doRespondToOpenInputFile_(FileBlock const&) {}
258  virtual void doRespondToCloseInputFile_(FileBlock const&) {}
259 
260  virtual void setProcessesWithSelectedMergeableRunProducts(std::set<std::string> const&) {}
261 
262  bool hasAcquire() const { return false; }
263  bool hasAccumulator() const { return false; }
264 
266  std::map<BranchID, BranchDescription const*>& trueBranchIDToKeptBranchDesc,
267  std::set<BranchID>& keptProductsInEvent);
268 
270 
271  bool limitReached() const { return remainingEvents_ == 0; }
272  };
273  } // namespace global
274 } // namespace edm
275 #endif
edm::EventTransitionInfo
Definition: TransitionInfoTypes.h:26
edm::global::OutputModuleBase::doRegisterThinnedAssociations
void doRegisterThinnedAssociations(ProductRegistry const &, ThinnedAssociationsHelper &)
Definition: OutputModuleBase.h:209
edm::StreamID
Definition: StreamID.h:30
edm::global::OutputModuleBase::doBeginRun_
virtual void doBeginRun_(RunForOutput const &)
Definition: OutputModuleBase.h:249
edm::global::OutputModuleBase::branchIDLists
BranchIDLists const * branchIDLists() const
Definition: OutputModuleBase.cc:334
edm::global::OutputModuleBase::productSelectorRules_
ProductSelectorRules productSelectorRules_
Definition: OutputModuleBase.h:177
edm::global::OutputModuleBase::doEndLuminosityBlock
bool doEndLuminosityBlock(LumiTransitionInfo const &, ModuleCallingContext const *)
Definition: OutputModuleBase.cc:303
edm::global::OutputModuleBase::doEndProcessBlock
void doEndProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)
Definition: OutputModuleBase.h:138
edm::global::OutputModuleBase::setProcessesWithSelectedMergeableRunProducts
virtual void setProcessesWithSelectedMergeableRunProducts(std::set< std::string > const &)
Definition: OutputModuleBase.h:260
edm::global::OutputModuleBase::doStreamEndRun_
virtual void doStreamEndRun_(StreamID, RunForOutput const &, EventSetup const &)
Definition: OutputModuleBase.h:243
edm::global::OutputModuleBase::needToRunSelection
bool needToRunSelection() const
Definition: OutputModuleBase.cc:225
edm::global::OutputModuleBase::updateBranchIDListsWithKeptAliases
void updateBranchIDListsWithKeptAliases()
Definition: OutputModuleBase.cc:136
ActivityRegistry
edm::LumiTransitionInfo
Definition: TransitionInfoTypes.h:42
edm::global::OutputModuleBase::doAccessInputProcessBlock
void doAccessInputProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)
Definition: OutputModuleBase.h:137
edm::global::OutputModuleBase::reallyCloseFile
virtual void reallyCloseFile()
Definition: OutputModuleBase.cc:332
propagate_const.h
edm::global::OutputModuleBase::description
ModuleDescription const & description() const
Definition: OutputModuleBase.cc:345
edm::global::OutputModuleBase::selector_config_id_
ParameterSetID selector_config_id_
Definition: OutputModuleBase.h:186
WaitingTaskHolder.h
edm::global::OutputModuleBase::prePrefetchSelection
bool prePrefetchSelection(StreamID id, EventPrincipal const &, ModuleCallingContext const *)
Definition: OutputModuleBase.cc:239
edm::global::OutputModuleBase::configure
void configure(OutputModuleDescription const &desc)
Definition: OutputModuleBase.cc:77
edm::global::OutputModuleBase
Definition: OutputModuleBase.h:64
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::global::OutputModuleBase::selectorConfig
ParameterSetID selectorConfig() const
Definition: OutputModuleBase.h:120
edm::global::OutputModuleBase::doBeginRunSummary_
virtual void doBeginRunSummary_(RunForOutput const &, EventSetup const &)
Definition: OutputModuleBase.h:250
edm::global::OutputModuleBase::remainingEvents
int remainingEvents() const
Definition: OutputModuleBase.h:86
edm::global::OutputModuleBase::shouldWeCloseFile
virtual bool shouldWeCloseFile() const
Ask the OutputModule if we should end the current file.
Definition: OutputModuleBase.h:227
BranchID.h
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::LuminosityBlockPrincipal
Definition: LuminosityBlockPrincipal.h:31
edm::global::OutputModuleBase::fillDescriptions
static void fillDescriptions(ConfigurationDescriptions &descriptions)
Definition: OutputModuleBase.cc:349
edm::Principal
Definition: Principal.h:56
edm::global::OutputModuleBase::doStreamBeginRun_
virtual void doStreamBeginRun_(StreamID, RunForOutput const &, EventSetup const &)
Definition: OutputModuleBase.h:242
edm::RunTransitionInfo
Definition: TransitionInfoTypes.h:64
edm::global::OutputModuleBase::doBeginProcessBlock
void doBeginProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)
Definition: OutputModuleBase.h:136
edm::global::OutputModuleBase::droppedBranchIDToKeptBranchID
std::map< BranchID::value_type, BranchID::value_type > const & droppedBranchIDToKeptBranchID()
Definition: OutputModuleBase.h:150
getAllTriggerNames.h
edm::ProcessBlockPrincipal
Definition: ProcessBlockPrincipal.h:22
edm::global::OutputModuleBase::doEndLuminosityBlock_
virtual void doEndLuminosityBlock_(LuminosityBlockForOutput const &)
Definition: OutputModuleBase.h:255
edm::ModuleDescription
Definition: ModuleDescription.h:21
edm::global::OutputModuleBase::~OutputModuleBase
~OutputModuleBase() override
Definition: OutputModuleBase.cc:202
edm::global::OutputModuleBase::doEndRun
bool doEndRun(RunTransitionInfo const &, ModuleCallingContext const *)
Definition: OutputModuleBase.cc:281
edm::LuminosityBlockForOutput
Definition: LuminosityBlockForOutput.h:40
edm::ProductRegistry
Definition: ProductRegistry.h:37
ModuleDescription.h
edm::FileBlock
Definition: FileBlock.h:20
edm::global::OutputModuleBase::preallocate
virtual void preallocate(PreallocationConfiguration const &)
Definition: OutputModuleBase.h:239
edm::global::OutputModuleBase::wantsProcessBlocks
virtual bool wantsProcessBlocks() const =0
edm::RunForOutput
Definition: RunForOutput.h:39
edm::EDConsumerBase
Definition: EDConsumerBase.h:71
edm::global::OutputModuleBase::moduleDescription_
ModuleDescription moduleDescription_
Definition: OutputModuleBase.h:179
edm::propagate_const
Definition: propagate_const.h:32
edm::global::OutputModuleBase::endJob
virtual void endJob()
Definition: OutputModuleBase.h:231
edm::global::OutputModuleBase::doEndLuminosityBlockSummary_
virtual void doEndLuminosityBlockSummary_(LuminosityBlockForOutput const &, EventSetup const &)
Definition: OutputModuleBase.h:256
edm::global::OutputModuleBase::origBranchIDLists_
BranchIDLists const * origBranchIDLists_
Definition: OutputModuleBase.h:192
edm::EventPrincipal
Definition: EventPrincipal.h:46
edm::global::OutputModuleBase::hasAccumulator
bool hasAccumulator() const
Definition: OutputModuleBase.h:263
edm::global::OutputModuleBase::productsUsedBySelection
std::vector< ProductResolverIndexAndSkipBit > productsUsedBySelection() const
Definition: OutputModuleBase.cc:227
edm::global::OutputModuleBase::maxEvents
int maxEvents() const
Definition: OutputModuleBase.h:82
edm::ActivityRegistry
Definition: ActivityRegistry.h:134
edm::MergeableRunProductMetadata
Definition: MergeableRunProductMetadata.h:52
edm::global::OutputModuleBase::moduleDescription
const ModuleDescription & moduleDescription() const
Definition: OutputModuleBase.h:106
edm::global::OutputModuleBase::keptProducts_
SelectedProductsForBranchType keptProducts_
Definition: OutputModuleBase.h:173
edm::global::OutputModuleBase::beginJob
virtual void beginJob()
Definition: OutputModuleBase.h:230
edm::global::OutputModuleBase::operator=
OutputModuleBase & operator=(OutputModuleBase const &)=delete
edm::global::OutputModuleBase::doPreallocate
void doPreallocate(PreallocationConfiguration const &)
Definition: OutputModuleBase.cc:204
edm::Hash< ParameterSetType >
edm::global::OutputModuleBase::doBeginStream
void doBeginStream(StreamID id)
edm::global::OutputModuleBase::workerType
std::string workerType() const
Definition: OutputModuleBase.h:211
edm::global::OutputModuleBase::doWriteProcessBlock
void doWriteProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)
Definition: OutputModuleBase.h:203
edm::maker::ModuleHolderT
Definition: EDAnalyzer.h:25
edm::global::OutputModuleBase::doBeginLuminosityBlockSummary_
virtual void doBeginLuminosityBlockSummary_(LuminosityBlockForOutput const &, EventSetup const &)
Definition: OutputModuleBase.h:254
edm::global::OutputModuleBase::doEndStream
void doEndStream(StreamID id)
edm::global::OutputModuleBase::preallocStreams
virtual void preallocStreams(unsigned int)
Definition: OutputModuleBase.h:237
edm::BranchIDLists
std::vector< BranchIDList > BranchIDLists
Definition: BranchIDList.h:19
edm::global::OutputModuleBase::openFile
virtual void openFile(FileBlock const &)
Definition: OutputModuleBase.h:234
edm::global::OutputModuleBase::keepThisBranch
void keepThisBranch(BranchDescription const &desc, std::map< BranchID, BranchDescription const * > &trueBranchIDToKeptBranchDesc, std::set< BranchID > &keptProductsInEvent)
Definition: OutputModuleBase.cc:155
edm::global::OutputModuleBase::wantsInputProcessBlocks
virtual bool wantsInputProcessBlocks() const =0
edm::global::OutputModuleBase::doEndRun_
virtual void doEndRun_(RunForOutput const &)
Definition: OutputModuleBase.h:251
edm::ProductSelector
Definition: ProductSelector.h:26
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
edm::ProductSelectorRules
Definition: ProductSelectorRules.h:24
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::global::OutputModuleBase::doOpenFile
void doOpenFile(FileBlock const &fb)
Definition: OutputModuleBase.cc:317
edm::ThinnedAssociationsHelper
Definition: ThinnedAssociationsHelper.h:37
edm::global::OutputModuleBase::hasAcquire
bool hasAcquire() const
Definition: OutputModuleBase.h:262
edm::ParameterSet
Definition: ParameterSet.h:47
edm::global::OutputModuleBase::doBeginStream_
virtual void doBeginStream_(StreamID)
Definition: OutputModuleBase.h:240
EDConsumerBase.h
edm::WaitingTaskHolder
Definition: WaitingTaskHolder.h:32
edm::global::OutputModuleBase::doRespondToCloseInputFile_
virtual void doRespondToCloseInputFile_(FileBlock const &)
Definition: OutputModuleBase.h:258
ProductSelector.h
edm::global::OutputModuleBase::limitReached
bool limitReached() const
Definition: OutputModuleBase.h:271
edm::global::OutputModuleBase::doStreamBeginLuminosityBlock_
virtual void doStreamBeginLuminosityBlock_(StreamID, LuminosityBlockForOutput const &, EventSetup const &)
Definition: OutputModuleBase.h:245
edm::global::OutputModuleBase::doEndRunSummary_
virtual void doEndRunSummary_(RunForOutput const &, EventSetup const &)
Definition: OutputModuleBase.h:252
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
edm::global::OutputModuleBase::setEventSelectionInfo
void setEventSelectionInfo(std::map< std::string, std::vector< std::pair< std::string, int >>> const &outputModulePathPositions, bool anyProductProduced)
edm::global::OutputModuleBase::keepAssociation_
std::map< BranchID, bool > keepAssociation_
Definition: OutputModuleBase.h:195
edm::global::OutputModuleBase::preActionBeforeRunEventAsync
void preActionBeforeRunEventAsync(WaitingTaskHolder iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
Definition: OutputModuleBase.h:132
edm::EventSetup
Definition: EventSetup.h:58
BranchIDList.h
edm::global::OutputModuleBase::processName
std::string const & processName() const
Definition: OutputModuleBase.h:91
edm::global::OutputModuleBase::selectProducts
void selectProducts(ProductRegistry const &preg, ThinnedAssociationsHelper const &)
Definition: OutputModuleBase.cc:82
edm::global::OutputModuleBase::process_name_
std::string process_name_
Definition: OutputModuleBase.h:176
edm::global::OutputModuleBase::doRespondToOpenInputFile_
virtual void doRespondToOpenInputFile_(FileBlock const &)
Definition: OutputModuleBase.h:257
edm::global::OutputModuleBase::maxEvents_
int maxEvents_
Definition: OutputModuleBase.h:155
edm::global::OutputModuleBase::doWriteRun
void doWriteRun(RunPrincipal const &rp, ModuleCallingContext const *, MergeableRunProductMetadata const *)
Definition: OutputModuleBase.cc:288
edm::global::OutputModuleBase::baseType
static const std::string & baseType()
Definition: OutputModuleBase.cc:363
edm::global::OutputModuleBase::selectEvents_
ParameterSet selectEvents_
Definition: OutputModuleBase.h:183
edm::global::OutputModuleBase::wantAllEvents
bool wantAllEvents() const
Definition: OutputModuleBase.h:100
edm::EventForOutput
Definition: EventForOutput.h:50
edm::PreallocationConfiguration
Definition: PreallocationConfiguration.h:27
edm::global::OutputModuleBase::registerProductsAndCallbacks
void registerProductsAndCallbacks(OutputModuleBase const *, ProductRegistry const *)
Definition: OutputModuleBase.h:216
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
edm::SelectedProductsForBranchType
std::array< SelectedProducts, NumBranchTypes > SelectedProductsForBranchType
Definition: SelectedProducts.h:13
edm::global::OutputModuleBase::doRespondToOpenInputFile
void doRespondToOpenInputFile(FileBlock const &fb)
Definition: OutputModuleBase.cc:319
edm::global::OutputModuleBase::wantsGlobalRuns
bool wantsGlobalRuns() const
Definition: OutputModuleBase.h:109
edm::global::OutputModuleBase::droppedBranchIDToKeptBranchID_
std::map< BranchID::value_type, BranchID::value_type > droppedBranchIDToKeptBranchID_
Definition: OutputModuleBase.h:190
edm::global::OutputModuleBase::wantsGlobalLuminosityBlocks
bool wantsGlobalLuminosityBlocks() const
Definition: OutputModuleBase.h:110
Frameworkfwd.h
edm::global::OutputModuleBase::doBeginLuminosityBlock
bool doBeginLuminosityBlock(LumiTransitionInfo const &, ModuleCallingContext const *)
Definition: OutputModuleBase.cc:296
edm::global::OutputModuleBase::productSelector_
ProductSelector productSelector_
Definition: OutputModuleBase.h:178
edm::global::OutputModuleBase::doCloseFile
void doCloseFile()
Tell the OutputModule that is must end the current file.
Definition: OutputModuleBase.cc:326
edm::global::OutputModuleBase::ModuleType
OutputModuleBase ModuleType
Definition: OutputModuleBase.h:72
edm::global::OutputModuleBase::fillDescription
static void fillDescription(ParameterSetDescription &desc)
Definition: OutputModuleBase.cc:355
ParameterSetfwd.h
edm::global::OutputModuleBase::OutputModuleBase
OutputModuleBase(ParameterSet const &pset)
Definition: OutputModuleBase.cc:43
edm::global::OutputModuleBase::thinnedAssociationsHelper_
edm::propagate_const< std::unique_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
Definition: OutputModuleBase.h:194
edm::global::OutputModuleBase::writeRun
virtual void writeRun(RunForOutput const &)=0
edm::global::OutputModuleBase::writeLuminosityBlock
virtual void writeLuminosityBlock(LuminosityBlockForOutput const &)=0
edm::global::OutputModuleBase::hasNewlyDroppedBranch_
std::array< bool, NumBranchTypes > hasNewlyDroppedBranch_
Definition: OutputModuleBase.h:174
edm::global::OutputModuleBase::remainingEvents_
std::atomic< int > remainingEvents_
Definition: OutputModuleBase.h:156
edm::global::OutputModuleBase::doEndJob
void doEndJob()
Definition: OutputModuleBase.cc:223
edm::global::OutputModuleBase::doStreamEndLuminosityBlock_
virtual void doStreamEndLuminosityBlock_(StreamID, LuminosityBlockForOutput const &, EventSetup const &)
Definition: OutputModuleBase.h:246
edm::BranchDescription
Definition: BranchDescription.h:32
edm::global::OutputModuleBase::selected
bool selected(BranchDescription const &desc) const
Definition: OutputModuleBase.cc:347
edm::global::OutputModuleBase::doEndStream_
virtual void doEndStream_(StreamID)
Definition: OutputModuleBase.h:241
edm::global::OutputModuleBase::isFileOpen
virtual bool isFileOpen() const
Definition: OutputModuleBase.h:235
genParticles_cff.map
map
Definition: genParticles_cff.py:11
edm::OutputModuleDescription
Definition: OutputModuleDescription.h:17
edm::global::OutputModuleBase::doBeginJob
void doBeginJob()
Definition: OutputModuleBase.cc:221
edm::RunPrincipal
Definition: RunPrincipal.h:34
edm::global::OutputModuleBase::doStreamEndLuminosityBlockSummary_
virtual void doStreamEndLuminosityBlockSummary_(StreamID, LuminosityBlockForOutput const &, EventSetup const &)
Definition: OutputModuleBase.h:247
edm::global::OutputModuleBase::branchIDLists_
edm::propagate_const< std::unique_ptr< BranchIDLists > > branchIDLists_
Definition: OutputModuleBase.h:191
edm::global::OutputModuleBase::keptProducts
SelectedProductsForBranchType const & keptProducts() const
Definition: OutputModuleBase.h:92
edm::global::OutputModuleBase::prevalidate
static void prevalidate(ConfigurationDescriptions &)
Definition: OutputModuleBase.cc:360
edm::global::OutputModuleBase::doBeginLuminosityBlock_
virtual void doBeginLuminosityBlock_(LuminosityBlockForOutput const &)
Definition: OutputModuleBase.h:253
edm::global::OutputModuleBase::wantAllEvents_
bool wantAllEvents_
Definition: OutputModuleBase.h:181
edm::global::OutputModuleBase::wantsStreamRuns
virtual bool wantsStreamRuns() const =0
edm::global::OutputModuleBase::doRespondToCloseInputFile
void doRespondToCloseInputFile(FileBlock const &fb)
Definition: OutputModuleBase.cc:324
edm::global::OutputModuleBase::thinnedAssociationsHelper
ThinnedAssociationsHelper const * thinnedAssociationsHelper() const
Definition: OutputModuleBase.cc:341
edm::global::OutputModuleBase::doBeginRun
bool doBeginRun(RunTransitionInfo const &, ModuleCallingContext const *)
Definition: OutputModuleBase.cc:274
edm::global::OutputModuleBase::hasNewlyDroppedBranch
std::array< bool, NumBranchTypes > const & hasNewlyDroppedBranch() const
Definition: OutputModuleBase.h:93
edm::global::OutputModuleBase::setModuleDescription
void setModuleDescription(ModuleDescription const &md)
Definition: OutputModuleBase.h:269
edm::global::OutputModuleBase::preallocLumis
virtual void preallocLumis(unsigned int)
Definition: OutputModuleBase.h:238
benchmark_cfg.fb
fb
Definition: benchmark_cfg.py:14
edm::global::OutputModuleBase::selectors_
std::vector< detail::TriggerResultsBasedEventSelector > selectors_
Definition: OutputModuleBase.h:182
SelectedProducts.h
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
TriggerResultsBasedEventSelector.h
edm::global::OutputModuleBase::wantsStreamLuminosityBlocks
virtual bool wantsStreamLuminosityBlocks() const =0
edm::global::OutputModuleBase::doWriteLuminosityBlock
void doWriteLuminosityBlock(LuminosityBlockPrincipal const &lbp, ModuleCallingContext const *)
Definition: OutputModuleBase.cc:310
ProductSelectorRules.h
edm::global::OutputModuleBase::write
virtual void write(EventForOutput const &)=0
edm::OutputModuleCommunicatorT
Definition: OutputModuleBase.h:55
edm::global::OutputModuleBase::doStreamEndRunSummary_
virtual void doStreamEndRunSummary_(StreamID, RunForOutput const &, EventSetup const &)
Definition: OutputModuleBase.h:244
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29
edm::global::OutputModuleBase::doEvent
bool doEvent(EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *)
Definition: OutputModuleBase.cc:250