CMS 3D CMS Logo

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