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