CMS 3D CMS Logo

OutputModuleBase.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_one_OutputModuleBase_h
2 #define FWCore_Framework_one_OutputModuleBase_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : OutputModuleBase
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Wed, 31 Jul 2013 15:37:16 GMT
19 //
20 
21 // system include files
22 #include <array>
23 #include <memory>
24 #include <string>
25 #include <vector>
26 #include <map>
27 #include <atomic>
28 #include <set>
29 
30 // user include files
35 
46 
47 // forward declarations
48 namespace edm {
49 
50  class MergeableRunProductMetadata;
51  class ModuleCallingContext;
52  class PreallocationConfiguration;
53  class ActivityRegistry;
54  class ThinnedAssociationsHelper;
55  class SubProcessParentageHelper;
56 
57  template <typename T>
58  class OutputModuleCommunicatorT;
59 
60  namespace maker {
61  template <typename T>
62  class ModuleHolderT;
63  }
64 
65  namespace one {
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 
98  static void fillDescription(
100  std::vector<std::string> const& iDefaultOutputCommands = ProductSelectorRules::defaultSelectionStrings());
101  static void fillDescriptions(ConfigurationDescriptions& descriptions);
102  static const std::string& baseType();
104 
105  //Output modules always need writeRun and writeLumi to be called
106  virtual bool wantsProcessBlocks() const = 0;
107  virtual bool wantsInputProcessBlocks() const = 0;
108  virtual bool wantsGlobalRuns() const = 0;
109  virtual bool wantsGlobalLuminosityBlocks() const = 0;
110  bool wantsStreamRuns() const { return false; }
111  bool wantsStreamLuminosityBlocks() const { return false; };
112 
113  virtual SerialTaskQueue* globalRunsQueue() { return nullptr; }
114  virtual SerialTaskQueue* globalLuminosityBlocksQueue() { return nullptr; }
116 
117  bool wantAllEvents() const { return wantAllEvents_; }
118 
119  BranchIDLists const* branchIDLists();
120 
122 
124 
126 
127  protected:
128  ModuleDescription const& description() const;
129 
131 
133  virtual void preallocLumis(unsigned int);
134 
135  void doBeginJob();
136  void doEndJob();
142  bool doEndRun(RunTransitionInfo const&, ModuleCallingContext const*);
145 
147  std::map<std::string, std::vector<std::pair<std::string, int>>> const& outputModulePathPositions,
148  bool anyProductProduced);
149 
151 
152  std::map<BranchID::value_type, BranchID::value_type> const& droppedBranchIDToKeptBranchID() {
154  }
155 
156  private:
158  std::atomic<int> remainingEvents_;
159 
160  // TODO: Give OutputModule
161  // an interface (protected?) that supplies client code with the
162  // needed functionality *without* giving away implementation
163  // details ... don't just return a reference to keptProducts_, because
164  // we are looking to have the flexibility to change the
165  // implementation of keptProducts_ without modifying clients. When this
166  // change is made, we'll have a one-time-only task of modifying
167  // clients (classes derived from OutputModule) to use the
168  // newly-introduced interface.
169  // TODO: Consider using shared pointers here?
170 
171  // keptProducts_ are pointers to the BranchDescription objects describing
172  // the branches we are to write.
173  //
174  // We do not own the BranchDescriptions to which we point.
176  std::array<bool, NumBranchTypes> hasNewlyDroppedBranch_;
177 
182 
184  std::vector<detail::TriggerResultsBasedEventSelector> selectors_;
186  // ID of the ParameterSet that configured the event selector
187  // subsystem.
189 
190  // needed because of possible EDAliases.
191  // filled in only if key and value are different.
192  std::map<BranchID::value_type, BranchID::value_type> droppedBranchIDToKeptBranchID_;
195 
197 
199  std::map<BranchID, bool> keepAssociation_;
200 
204 
205  //------------------------------------------------------------------
206  // private member functions
207  //------------------------------------------------------------------
208 
210 
214  void doOpenFile(FileBlock const& fb);
218 
219  std::string workerType() const { return "WorkerT<edm::one::OutputModuleBase>"; }
220 
222  void doCloseFile();
223 
225 
226  bool needToRunSelection() const;
227  std::vector<ProductResolverIndexAndSkipBit> productsUsedBySelection() const;
229 
230  // Do the end-of-file tasks; this is only called internally, after
231  // the appropriate tests have been done.
232  virtual void reallyCloseFile();
233 
235  virtual bool shouldWeCloseFile() const { return false; }
236 
237  virtual void write(EventForOutput const&) = 0;
239  ModuleCallingContext const& iModuleCallingContext,
240  Principal const& iPrincipal) const {}
241 
242  virtual void beginJob() {}
243  virtual void endJob() {}
244  virtual void writeLuminosityBlock(LuminosityBlockForOutput const&) = 0;
245  virtual void writeRun(RunForOutput const&) = 0;
246  virtual void openFile(FileBlock const&) {}
247  virtual bool isFileOpen() const { return true; }
248 
249  virtual void doBeginRun_(RunForOutput const&) {}
250  virtual void doEndRun_(RunForOutput const&) {}
253  virtual void doRespondToOpenInputFile_(FileBlock const&) {}
254  virtual void doRespondToCloseInputFile_(FileBlock const&) {}
255 
256  virtual void setProcessesWithSelectedMergeableRunProducts(std::set<std::string> const&) {}
257 
258  bool hasAcquire() const { return false; }
259  bool hasAccumulator() const { return false; }
260 
262  std::map<BranchID, BranchDescription const*>& trueBranchIDToKeptBranchDesc,
263  std::set<BranchID>& keptProductsInEvent);
264 
266 
267  bool limitReached() const { return remainingEvents_ == 0; }
268  };
269  } // namespace one
270 } // namespace edm
271 #endif
edm::one::OutputModuleBase::keptProducts_
SelectedProductsForBranchType keptProducts_
Definition: OutputModuleBase.h:175
edm::EventTransitionInfo
Definition: TransitionInfoTypes.h:26
edm::one::OutputModuleBase::remainingEvents
int remainingEvents() const
Definition: OutputModuleBase.h:89
edm::one::OutputModuleBase::moduleDescription
const ModuleDescription & moduleDescription() const
Definition: OutputModuleBase.h:125
edm::StreamID
Definition: StreamID.h:30
edm::one::OutputModuleBase::setModuleDescription
void setModuleDescription(ModuleDescription const &md)
Definition: OutputModuleBase.h:265
edm::SharedResourcesAcquirer
Definition: SharedResourcesAcquirer.h:34
edm::one::OutputModuleBase::maxEvents
int maxEvents() const
Definition: OutputModuleBase.h:85
edm::one::OutputModuleBase::doRegisterThinnedAssociations
void doRegisterThinnedAssociations(ProductRegistry const &, ThinnedAssociationsHelper &)
Definition: OutputModuleBase.h:217
edm::one::OutputModuleBase::ModuleType
OutputModuleBase ModuleType
Definition: OutputModuleBase.h:75
edm::one::OutputModuleBase::doBeginRun_
virtual void doBeginRun_(RunForOutput const &)
Definition: OutputModuleBase.h:249
SiPixelPI::one
Definition: SiPixelPayloadInspectorHelper.h:39
edm::one::OutputModuleBase::doBeginJob
void doBeginJob()
Definition: OutputModuleBase.cc:211
edm::one::OutputModuleBase::subProcessParentageHelper
SubProcessParentageHelper const * subProcessParentageHelper() const
Definition: OutputModuleBase.h:123
edm::SubProcessParentageHelper
Definition: SubProcessParentageHelper.h:21
edm::one::OutputModuleBase::isFileOpen
virtual bool isFileOpen() const
Definition: OutputModuleBase.h:247
edm::one::OutputModuleBase::moduleDescription_
ModuleDescription moduleDescription_
Definition: OutputModuleBase.h:181
edm::one::OutputModuleBase::globalLuminosityBlocksQueue
virtual SerialTaskQueue * globalLuminosityBlocksQueue()
Definition: OutputModuleBase.h:114
edm::one::OutputModuleBase::productSelector_
ProductSelector productSelector_
Definition: OutputModuleBase.h:180
edm::one::OutputModuleBase::doBeginLuminosityBlock
bool doBeginLuminosityBlock(LumiTransitionInfo const &, ModuleCallingContext const *)
Definition: OutputModuleBase.cc:280
ActivityRegistry
edm::one::OutputModuleBase::doEndLuminosityBlock_
virtual void doEndLuminosityBlock_(LuminosityBlockForOutput const &)
Definition: OutputModuleBase.h:252
edm::one::OutputModuleBase::doEvent
bool doEvent(EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *)
Definition: OutputModuleBase.cc:243
edm::LumiTransitionInfo
Definition: TransitionInfoTypes.h:42
edm::ProductSelectorRules::defaultSelectionStrings
static const std::vector< std::string > & defaultSelectionStrings()
Definition: ProductSelectorRules.cc:197
propagate_const.h
WaitingTaskHolder.h
edm::one::OutputModuleBase::prevalidate
static void prevalidate(ConfigurationDescriptions &)
Definition: OutputModuleBase.cc:356
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::one::OutputModuleBase::needToRunSelection
bool needToRunSelection() const
Definition: OutputModuleBase.cc:218
edm::one::OutputModuleBase::maxEvents_
int maxEvents_
Definition: OutputModuleBase.h:157
edm::one::OutputModuleBase::runQueue_
SerialTaskQueue runQueue_
Definition: OutputModuleBase.h:202
edm::one::OutputModuleBase::doWriteProcessBlock
void doWriteProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)
Definition: OutputModuleBase.h:211
edm::one::OutputModuleBase::doRespondToOpenInputFile
void doRespondToOpenInputFile(FileBlock const &fb)
Definition: OutputModuleBase.cc:304
edm::one::OutputModuleBase::remainingEvents_
std::atomic< int > remainingEvents_
Definition: OutputModuleBase.h:158
edm::one::OutputModuleBase::selectProducts
void selectProducts(ProductRegistry const &preg, ThinnedAssociationsHelper const &)
Definition: OutputModuleBase.cc:85
BranchID.h
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::LuminosityBlockPrincipal
Definition: LuminosityBlockPrincipal.h:31
edm::one::OutputModuleBase::wantsGlobalRuns
virtual bool wantsGlobalRuns() const =0
edm::Principal
Definition: Principal.h:56
edm::SerialTaskQueue
Definition: SerialTaskQueue.h:67
edm::one::OutputModuleBase::fillDescriptions
static void fillDescriptions(ConfigurationDescriptions &descriptions)
Definition: OutputModuleBase.cc:344
edm::one::OutputModuleBase::doBeginLuminosityBlock_
virtual void doBeginLuminosityBlock_(LuminosityBlockForOutput const &)
Definition: OutputModuleBase.h:251
edm::one::OutputModuleBase::doBeginProcessBlock
void doBeginProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)
Definition: OutputModuleBase.h:138
edm::one::OutputModuleBase::thinnedAssociationsHelper
ThinnedAssociationsHelper const * thinnedAssociationsHelper() const
Definition: OutputModuleBase.cc:336
edm::RunTransitionInfo
Definition: TransitionInfoTypes.h:64
getAllTriggerNames.h
edm::ProcessBlockPrincipal
Definition: ProcessBlockPrincipal.h:22
edm::one::OutputModuleBase::baseType
static const std::string & baseType()
Definition: OutputModuleBase.cc:359
edm::one::OutputModuleBase::doBeginRun
bool doBeginRun(RunTransitionInfo const &, ModuleCallingContext const *)
Definition: OutputModuleBase.cc:258
edm::ModuleDescription
Definition: ModuleDescription.h:21
edm::one::OutputModuleBase::OutputModuleBase
OutputModuleBase(ParameterSet const &pset)
Definition: OutputModuleBase.cc:45
edm::one::OutputModuleBase::sharedResourcesAcquirer
SharedResourcesAcquirer & sharedResourcesAcquirer()
Definition: OutputModuleBase.h:115
edm::one::OutputModuleBase::doRespondToCloseInputFile_
virtual void doRespondToCloseInputFile_(FileBlock const &)
Definition: OutputModuleBase.h:254
edm::LuminosityBlockForOutput
Definition: LuminosityBlockForOutput.h:40
edm::ProductRegistry
Definition: ProductRegistry.h:37
ModuleDescription.h
edm::one::OutputModuleBase::doEndJob
void doEndJob()
Definition: OutputModuleBase.cc:216
edm::FileBlock
Definition: FileBlock.h:20
SharedResourcesAcquirer.h
edm::RunForOutput
Definition: RunForOutput.h:39
edm::EDConsumerBase
Definition: EDConsumerBase.h:71
edm::propagate_const
Definition: propagate_const.h:32
edm::one::OutputModuleBase::preActionBeforeRunEventAsync
virtual void preActionBeforeRunEventAsync(WaitingTaskHolder iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
Definition: OutputModuleBase.h:238
edm::one::OutputModuleBase::beginJob
virtual void beginJob()
Definition: OutputModuleBase.h:242
edm::EventPrincipal
Definition: EventPrincipal.h:46
edm::one::OutputModuleBase::selectorConfig
ParameterSetID selectorConfig() const
Definition: OutputModuleBase.h:130
edm::one::OutputModuleBase::endJob
virtual void endJob()
Definition: OutputModuleBase.h:243
edm::one::OutputModuleBase::keepAssociation_
std::map< BranchID, bool > keepAssociation_
Definition: OutputModuleBase.h:199
edm::one::OutputModuleBase::writeRun
virtual void writeRun(RunForOutput const &)=0
edm::one::OutputModuleBase::subProcessParentageHelper_
SubProcessParentageHelper const * subProcessParentageHelper_
Definition: OutputModuleBase.h:196
edm::one::OutputModuleBase::productSelectorRules_
ProductSelectorRules productSelectorRules_
Definition: OutputModuleBase.h:179
edm::ActivityRegistry
Definition: ActivityRegistry.h:134
edm::one::OutputModuleBase::droppedBranchIDToKeptBranchID_
std::map< BranchID::value_type, BranchID::value_type > droppedBranchIDToKeptBranchID_
Definition: OutputModuleBase.h:192
edm::MergeableRunProductMetadata
Definition: MergeableRunProductMetadata.h:52
edm::one::OutputModuleBase::wantAllEvents
bool wantAllEvents() const
Definition: OutputModuleBase.h:117
edm::Hash< ParameterSetType >
edm::one::OutputModuleBase::doPreallocate
void doPreallocate(PreallocationConfiguration const &)
Definition: OutputModuleBase.cc:193
edm::maker::ModuleHolderT
Definition: EDAnalyzer.h:25
edm::one::OutputModuleBase::setProcessesWithSelectedMergeableRunProducts
virtual void setProcessesWithSelectedMergeableRunProducts(std::set< std::string > const &)
Definition: OutputModuleBase.h:256
edm::one::OutputModuleBase
Definition: OutputModuleBase.h:67
edm::one::OutputModuleBase::fillDescription
static void fillDescription(ParameterSetDescription &desc, std::vector< std::string > const &iDefaultOutputCommands=ProductSelectorRules::defaultSelectionStrings())
Definition: OutputModuleBase.cc:350
edm::one::OutputModuleBase::doRespondToOpenInputFile_
virtual void doRespondToOpenInputFile_(FileBlock const &)
Definition: OutputModuleBase.h:253
edm::one::OutputModuleBase::doCloseFile
void doCloseFile()
Tell the OutputModule that is must end the current file.
Definition: OutputModuleBase.cc:308
edm::one::OutputModuleBase::~OutputModuleBase
~OutputModuleBase() override
Definition: OutputModuleBase.cc:186
edm::one::OutputModuleBase::doWriteLuminosityBlock
void doWriteLuminosityBlock(LuminosityBlockPrincipal const &lbp, ModuleCallingContext const *)
Definition: OutputModuleBase.cc:295
edm::one::OutputModuleBase::wantsGlobalLuminosityBlocks
virtual bool wantsGlobalLuminosityBlocks() const =0
edm::one::OutputModuleBase::origBranchIDLists_
BranchIDLists const * origBranchIDLists_
Definition: OutputModuleBase.h:194
edm::one::OutputModuleBase::doAccessInputProcessBlock
void doAccessInputProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)
Definition: OutputModuleBase.h:139
edm::BranchIDLists
std::vector< BranchIDList > BranchIDLists
Definition: BranchIDList.h:19
edm::one::OutputModuleBase::doEndProcessBlock
void doEndProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)
Definition: OutputModuleBase.h:140
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::one::OutputModuleBase::process_name_
std::string process_name_
Definition: OutputModuleBase.h:178
edm::one::OutputModuleBase::selectEvents_
ParameterSet selectEvents_
Definition: OutputModuleBase.h:185
edm::ThinnedAssociationsHelper
Definition: ThinnedAssociationsHelper.h:37
edm::one::OutputModuleBase::doEndLuminosityBlock
bool doEndLuminosityBlock(LumiTransitionInfo const &, ModuleCallingContext const *)
Definition: OutputModuleBase.cc:287
edm::ParameterSet
Definition: ParameterSet.h:47
edm::one::OutputModuleBase::branchIDLists_
edm::propagate_const< std::unique_ptr< BranchIDLists > > branchIDLists_
Definition: OutputModuleBase.h:193
EDConsumerBase.h
edm::WaitingTaskHolder
Definition: WaitingTaskHolder.h:32
edm::one::OutputModuleBase::resourcesAcquirer_
SharedResourcesAcquirer resourcesAcquirer_
Definition: OutputModuleBase.h:201
edm::one::OutputModuleBase::openFile
virtual void openFile(FileBlock const &)
Definition: OutputModuleBase.h:246
edm::one::OutputModuleBase::keptProducts
SelectedProductsForBranchType const & keptProducts() const
Definition: OutputModuleBase.h:95
edm::one::OutputModuleBase::branchIDLists
BranchIDLists const * branchIDLists()
Definition: OutputModuleBase.cc:316
edm::one::OutputModuleBase::wantsProcessBlocks
virtual bool wantsProcessBlocks() const =0
edm::one::OutputModuleBase::registerProductsAndCallbacks
void registerProductsAndCallbacks(OutputModuleBase const *, ProductRegistry const *)
Definition: OutputModuleBase.h:224
ProductSelector.h
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
edm::one::OutputModuleBase::doOpenFile
void doOpenFile(FileBlock const &fb)
Definition: OutputModuleBase.cc:302
edm::one::OutputModuleBase::luminosityBlockQueue_
SerialTaskQueue luminosityBlockQueue_
Definition: OutputModuleBase.h:203
BranchIDList.h
edm::one::OutputModuleBase::selector_config_id_
ParameterSetID selector_config_id_
Definition: OutputModuleBase.h:188
edm::one::OutputModuleBase::processName
std::string const & processName() const
Definition: OutputModuleBase.h:94
edm::one::OutputModuleBase::keepThisBranch
void keepThisBranch(BranchDescription const &desc, std::map< BranchID, BranchDescription const * > &trueBranchIDToKeptBranchDesc, std::set< BranchID > &keptProductsInEvent)
Definition: OutputModuleBase.cc:139
edm::one::OutputModuleBase::preallocLumis
virtual void preallocLumis(unsigned int)
Definition: OutputModuleBase.cc:209
edm::EventForOutput
Definition: EventForOutput.h:50
edm::PreallocationConfiguration
Definition: PreallocationConfiguration.h:27
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
edm::one::OutputModuleBase::description
ModuleDescription const & description() const
Definition: OutputModuleBase.cc:340
edm::SelectedProductsForBranchType
std::array< SelectedProducts, NumBranchTypes > SelectedProductsForBranchType
Definition: SelectedProducts.h:13
edm::one::OutputModuleBase::doWriteRun
void doWriteRun(RunPrincipal const &rp, ModuleCallingContext const *, MergeableRunProductMetadata const *)
Definition: OutputModuleBase.cc:272
edm::one::OutputModuleBase::createAcquirer
virtual SharedResourcesAcquirer createAcquirer()
Definition: OutputModuleBase.cc:188
Frameworkfwd.h
edm::one::OutputModuleBase::selectors_
std::vector< detail::TriggerResultsBasedEventSelector > selectors_
Definition: OutputModuleBase.h:184
edm::one::OutputModuleBase::configure
void configure(OutputModuleDescription const &desc)
Definition: OutputModuleBase.cc:79
edm::one::OutputModuleBase::writeLuminosityBlock
virtual void writeLuminosityBlock(LuminosityBlockForOutput const &)=0
edm::one::OutputModuleBase::hasAcquire
bool hasAcquire() const
Definition: OutputModuleBase.h:258
edm::one::OutputModuleBase::wantsStreamLuminosityBlocks
bool wantsStreamLuminosityBlocks() const
Definition: OutputModuleBase.h:111
edm::one::OutputModuleBase::shouldWeCloseFile
virtual bool shouldWeCloseFile() const
Ask the OutputModule if we should end the current file.
Definition: OutputModuleBase.h:235
edm::one::OutputModuleBase::droppedBranchIDToKeptBranchID
std::map< BranchID::value_type, BranchID::value_type > const & droppedBranchIDToKeptBranchID()
Definition: OutputModuleBase.h:152
edm::one::OutputModuleBase::hasNewlyDroppedBranch
std::array< bool, NumBranchTypes > const & hasNewlyDroppedBranch() const
Definition: OutputModuleBase.h:96
edm::one::OutputModuleBase::productsUsedBySelection
std::vector< ProductResolverIndexAndSkipBit > productsUsedBySelection() const
Definition: OutputModuleBase.cc:220
edm::one::OutputModuleBase::hasAccumulator
bool hasAccumulator() const
Definition: OutputModuleBase.h:259
ParameterSetfwd.h
edm::one::OutputModuleBase::wantAllEvents_
bool wantAllEvents_
Definition: OutputModuleBase.h:183
edm::one::OutputModuleBase::operator=
OutputModuleBase & operator=(OutputModuleBase const &)=delete
edm::one::OutputModuleBase::prePrefetchSelection
bool prePrefetchSelection(StreamID id, EventPrincipal const &, ModuleCallingContext const *)
Definition: OutputModuleBase.cc:232
edm::BranchDescription
Definition: BranchDescription.h:32
edm::one::OutputModuleBase::doEndRun_
virtual void doEndRun_(RunForOutput const &)
Definition: OutputModuleBase.h:250
edm::one::OutputModuleBase::write
virtual void write(EventForOutput const &)=0
edm::one::OutputModuleBase::doEndRun
bool doEndRun(RunTransitionInfo const &, ModuleCallingContext const *)
Definition: OutputModuleBase.cc:265
genParticles_cff.map
map
Definition: genParticles_cff.py:11
edm::OutputModuleDescription
Definition: OutputModuleDescription.h:17
edm::RunPrincipal
Definition: RunPrincipal.h:34
edm::one::OutputModuleBase::limitReached
bool limitReached() const
Definition: OutputModuleBase.h:267
edm::one::OutputModuleBase::reallyCloseFile
virtual void reallyCloseFile()
Definition: OutputModuleBase.cc:314
edm::one::OutputModuleBase::wantsInputProcessBlocks
virtual bool wantsInputProcessBlocks() const =0
edm::one::OutputModuleBase::globalRunsQueue
virtual SerialTaskQueue * globalRunsQueue()
Definition: OutputModuleBase.h:113
edm::one::OutputModuleBase::workerType
std::string workerType() const
Definition: OutputModuleBase.h:219
edm::one::OutputModuleBase::selected
bool selected(BranchDescription const &desc) const
Definition: OutputModuleBase.cc:342
benchmark_cfg.fb
fb
Definition: benchmark_cfg.py:14
edm::one::OutputModuleBase::wantsStreamRuns
bool wantsStreamRuns() const
Definition: OutputModuleBase.h:110
edm::one::OutputModuleBase::doRespondToCloseInputFile
void doRespondToCloseInputFile(FileBlock const &fb)
Definition: OutputModuleBase.cc:306
SelectedProducts.h
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
TriggerResultsBasedEventSelector.h
edm::one::OutputModuleBase::thinnedAssociationsHelper_
edm::propagate_const< std::unique_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
Definition: OutputModuleBase.h:198
ProductSelectorRules.h
edm::one::OutputModuleBase::hasNewlyDroppedBranch_
std::array< bool, NumBranchTypes > hasNewlyDroppedBranch_
Definition: OutputModuleBase.h:176
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29
edm::one::OutputModuleBase::setEventSelectionInfo
void setEventSelectionInfo(std::map< std::string, std::vector< std::pair< std::string, int >>> const &outputModulePathPositions, bool anyProductProduced)
Definition: OutputModuleBase.cc:361