#include <OutputModuleBase.h>
Public Types | |
typedef OutputModuleBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions | |
static const std::string & | baseType () |
static void | fillDescription (ParameterSetDescription &desc) |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Private Attributes | |
edm::propagate_const< std::unique_ptr< BranchIDLists > > | branchIDLists_ |
std::map< BranchID::value_type, BranchID::value_type > | droppedBranchIDToKeptBranchID_ |
std::array< bool, NumBranchTypes > | hasNewlyDroppedBranch_ |
std::map< BranchID, bool > | keepAssociation_ |
SelectedProductsForBranchType | keptProducts_ |
int | maxEvents_ |
ModuleDescription | moduleDescription_ |
BranchIDLists const * | origBranchIDLists_ |
std::string | process_name_ |
ProductSelector | productSelector_ |
ProductSelectorRules | productSelectorRules_ |
LimitedTaskQueue | queue_ |
std::atomic< int > | remainingEvents_ |
ParameterSet | selectEvents_ |
ParameterSetID | selector_config_id_ |
std::vector< detail::TriggerResultsBasedEventSelector > | selectors_ |
edm::propagate_const< std::unique_ptr< ThinnedAssociationsHelper > > | thinnedAssociationsHelper_ |
bool | wantAllEvents_ |
Friends | |
template<typename T > | |
class | ::edm::OutputModuleCommunicatorT |
template<typename T > | |
class | ::edm::WorkerT |
template<typename U > | |
class | edm::maker::ModuleHolderT |
Definition at line 64 of file OutputModuleBase.h.
Definition at line 69 of file OutputModuleBase.h.
|
explicit |
Definition at line 43 of file OutputModuleBase.cc.
References edm::detail::configureEventSelector(), edm::EDConsumerBase::consumesCollector(), edm::getAllTriggerNames(), edm::ParameterSet::getUntrackedParameterSet(), hasNewlyDroppedBranch_, edm::ParameterSet::id(), process_name_, edm::ParameterSet::registerIt(), selectEvents_, selector_config_id_, selectors_, and wantAllEvents_.
|
override |
Definition at line 207 of file OutputModuleBase.cc.
|
delete |
|
static |
Definition at line 412 of file OutputModuleBase.cc.
References edm::limited::kBaseType().
|
inlineprivatevirtual |
BranchIDLists const * OutputModuleBase::branchIDLists | ( | ) | const |
Definition at line 369 of file OutputModuleBase.cc.
References branchIDLists_, droppedBranchIDToKeptBranchID_, edm::propagate_const< T >::get(), and origBranchIDLists_.
|
inline |
Definition at line 113 of file OutputModuleBase.h.
|
protected |
Definition at line 84 of file OutputModuleBase.cc.
References edm::OutputModuleDescription::branchIDLists_, edm::OutputModuleDescription::maxEvents_, maxEvents_, origBranchIDLists_, and remainingEvents_.
|
protected |
Definition at line 382 of file OutputModuleBase.cc.
References moduleDescription_.
Referenced by setEventSelectionInfo().
|
protected |
|
protected |
Definition at line 320 of file OutputModuleBase.cc.
References doBeginLuminosityBlock_(), moduleDescription_, and edm::OccurrenceForOutput::setConsumer().
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Definition at line 275 of file OutputModuleBase.h.
|
protected |
Definition at line 291 of file OutputModuleBase.cc.
References doBeginRun_(), moduleDescription_, alignCSCRings::r, and edm::OccurrenceForOutput::setConsumer().
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Definition at line 271 of file OutputModuleBase.h.
|
protected |
|
inlineprivatevirtual |
Definition at line 261 of file OutputModuleBase.h.
|
private |
Tell the OutputModule that is must end the current file.
Definition at line 359 of file OutputModuleBase.cc.
References isFileOpen(), and reallyCloseFile().
|
protected |
|
protected |
Definition at line 330 of file OutputModuleBase.cc.
References doEndLuminosityBlock_(), moduleDescription_, and edm::OccurrenceForOutput::setConsumer().
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Definition at line 277 of file OutputModuleBase.h.
|
protected |
Definition at line 301 of file OutputModuleBase.cc.
References doEndRun_(), moduleDescription_, alignCSCRings::r, and edm::OccurrenceForOutput::setConsumer().
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Definition at line 273 of file OutputModuleBase.h.
|
protected |
|
inlineprivatevirtual |
Definition at line 262 of file OutputModuleBase.h.
|
protected |
Definition at line 264 of file OutputModuleBase.cc.
References MillePedeFileConverter_cfg::e, moduleDescription_, remainingEvents(), remainingEvents_, edm::OccurrenceForOutput::setConsumer(), and write().
|
private |
Definition at line 346 of file OutputModuleBase.cc.
References openFile().
|
protected |
Definition at line 209 of file OutputModuleBase.cc.
References edm::detail::configureEventSelector(), edm::EDConsumerBase::consumesCollector(), edm::getAllTriggerNames(), edm::PreallocationConfiguration::numberOfLuminosityBlocks(), edm::PreallocationConfiguration::numberOfStreams(), preallocate(), preallocLumis(), preallocStreams(), process_name_, alignCSCRings::s, selectEvents_, and selectors_.
|
inlineprivate |
Definition at line 228 of file OutputModuleBase.h.
|
private |
Definition at line 355 of file OutputModuleBase.cc.
References doRespondToCloseInputFile_().
|
inlineprivatevirtual |
Reimplemented in edm::limited::outputmodule::InputFileWatcher.
Definition at line 279 of file OutputModuleBase.h.
Referenced by doRespondToCloseInputFile().
|
private |
Definition at line 350 of file OutputModuleBase.cc.
References doRespondToOpenInputFile_(), and updateBranchIDListsWithKeptAliases().
|
inlineprivatevirtual |
Reimplemented in edm::limited::outputmodule::InputFileWatcher.
Definition at line 278 of file OutputModuleBase.h.
Referenced by doRespondToOpenInputFile().
|
protected |
|
inlineprivatevirtual |
Definition at line 266 of file OutputModuleBase.h.
|
protected |
|
inlineprivatevirtual |
Definition at line 263 of file OutputModuleBase.h.
|
protected |
|
inlineprivatevirtual |
Definition at line 267 of file OutputModuleBase.h.
|
inlineprivatevirtual |
Definition at line 268 of file OutputModuleBase.h.
|
protected |
|
inlineprivatevirtual |
Definition at line 264 of file OutputModuleBase.h.
|
inlineprivatevirtual |
Definition at line 265 of file OutputModuleBase.h.
|
private |
Definition at line 339 of file OutputModuleBase.cc.
References moduleDescription_, edm::OccurrenceForOutput::setConsumer(), and writeLuminosityBlock().
|
private |
Definition at line 311 of file OutputModuleBase.cc.
References moduleDescription_, alignCSCRings::r, edm::OccurrenceForOutput::setConsumer(), and writeRun().
|
inlineprotected |
Definition at line 168 of file OutputModuleBase.h.
|
inlineprivatevirtual |
|
static |
Definition at line 399 of file OutputModuleBase.cc.
References edm::ParameterSetDescription::addUntracked(), edm::ProductSelectorRules::fillDescription(), and edm::EventSelector::fillDescription().
|
static |
Definition at line 392 of file OutputModuleBase.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
inlineprivate |
Definition at line 284 of file OutputModuleBase.h.
|
inlineprivate |
Definition at line 283 of file OutputModuleBase.h.
|
inline |
Definition at line 90 of file OutputModuleBase.h.
References fillDescriptions(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineprivatevirtual |
Definition at line 256 of file OutputModuleBase.h.
Referenced by doCloseFile().
|
private |
Definition at line 161 of file OutputModuleBase.cc.
References edm::BranchDescription::branchID(), edm::BranchDescription::branchType(), edm::ProductSelector::checkForDuplicateKeptBranch(), edm::EDConsumerBase::consumes(), edm::InEvent, edm::InLumi, edm::InRun, keptProducts_, edm::BranchDescription::moduleLabel(), edm::BranchDescription::originalBranchID(), edm::BranchDescription::processName(), edm::BranchDescription::produced(), edm::PRODUCT_TYPE, edm::BranchDescription::productInstanceName(), and edm::BranchDescription::unwrappedTypeID().
Referenced by selectProducts().
|
inline |
Definition at line 89 of file OutputModuleBase.h.
|
inlineprivate |
Definition at line 294 of file OutputModuleBase.h.
|
inline |
Accessor for maximum number of events to be written. -1 is used for unlimited.
Definition at line 79 of file OutputModuleBase.h.
|
inline |
Definition at line 103 of file OutputModuleBase.h.
|
private |
|
inlineprivatevirtual |
Definition at line 255 of file OutputModuleBase.h.
Referenced by Vispa.Main.Application.Application::_readCommandLineAttributes(), doOpenFile(), Vispa.Main.Application.Application::doubleClickOnFile(), Vispa.Main.Application.Application::openFileDialog(), and Vispa.Main.Application.Application::openRecentFileSlot().
|
delete |
|
inlineprotected |
Definition at line 152 of file OutputModuleBase.h.
References genParticles_cff::map, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
private |
Definition at line 255 of file OutputModuleBase.cc.
References MillePedeFileConverter_cfg::e, moduleDescription_, alignCSCRings::s, selectors_, edm::OccurrenceForOutput::setConsumer(), and wantAllEvents_.
|
static |
Definition at line 406 of file OutputModuleBase.cc.
References edm::limited::kBaseType(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 88 of file OutputModuleBase.h.
|
private |
Definition at line 243 of file OutputModuleBase.cc.
References mps_fire::i, gen::n, alignCSCRings::s, selectors_, and edm::EDConsumerBase::uncheckedIndexFrom().
|
inline |
|
privatevirtual |
|
inlineprivate |
Definition at line 236 of file OutputModuleBase.h.
|
inline |
Accessor for remaining number of events to be written. -1 is used for unlimited.
Definition at line 83 of file OutputModuleBase.h.
Referenced by doEvent().
bool OutputModuleBase::selected | ( | BranchDescription const & | desc | ) | const |
Definition at line 387 of file OutputModuleBase.cc.
References productSelector_, and edm::ProductSelector::selected().
Referenced by selectProducts().
|
inlineprotected |
Definition at line 122 of file OutputModuleBase.h.
References EnergyCorrector::c.
void OutputModuleBase::selectProducts | ( | ProductRegistry const & | preg, |
ThinnedAssociationsHelper const & | thinnedAssociationsHelper | ||
) |
Definition at line 89 of file OutputModuleBase.cc.
References edm::ProductRegistry::allBranchDescriptions(), TrackValidation_cff::association, edm::BranchDescription::branchType(), droppedBranchIDToKeptBranchID_, edm::ProductSelector::fillDroppedToKept(), hasNewlyDroppedBranch_, edm::ProductSelector::initialize(), edm::ProductSelector::initialized(), edm::insertSelectedProcesses(), keepAssociation_, keepThisBranch(), edm::BranchDescription::present(), edm::BranchDescription::produced(), edm::ProductRegistry::productList(), productSelector_, productSelectorRules_, edm::ThinnedAssociationsHelper::selectAssociationProducts(), selected(), setProcessesWithSelectedMergeableRunProducts(), thinnedAssociationsHelper_, edm::BranchDescription::transient(), and edm::BranchDescription::unwrappedType().
|
protected |
Definition at line 417 of file OutputModuleBase.cc.
References description(), edm::getParameterSet(), edm::detail::registerProperSelectionInfo(), and selector_config_id_.
|
inlineprivate |
Definition at line 290 of file OutputModuleBase.h.
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Ask the OutputModule if we should end the current file.
Definition at line 248 of file OutputModuleBase.h.
References TriggerAnalyzer::write().
ThinnedAssociationsHelper const * OutputModuleBase::thinnedAssociationsHelper | ( | ) | const |
Definition at line 377 of file OutputModuleBase.cc.
References thinnedAssociationsHelper_.
|
private |
Definition at line 143 of file OutputModuleBase.cc.
References branchIDLists_, droppedBranchIDToKeptBranchID_, and origBranchIDLists_.
Referenced by doRespondToOpenInputFile().
|
inline |
Definition at line 97 of file OutputModuleBase.h.
|
inline |
Definition at line 109 of file OutputModuleBase.h.
|
inline |
Definition at line 108 of file OutputModuleBase.h.
|
pure virtual |
Implemented in edm::limited::OutputModule< T >.
|
pure virtual |
Implemented in edm::limited::OutputModule< T >.
|
inlineprivate |
Definition at line 231 of file OutputModuleBase.h.
|
privatepure virtual |
Referenced by doEvent(), and pkg.AbstractPkg::generate().
|
privatepure virtual |
Referenced by doWriteLuminosityBlock().
|
privatepure virtual |
Referenced by doWriteRun().
|
friend |
Definition at line 68 of file OutputModuleBase.h.
|
friend |
Definition at line 67 of file OutputModuleBase.h.
|
friend |
Definition at line 66 of file OutputModuleBase.h.
|
private |
Definition at line 210 of file OutputModuleBase.h.
Referenced by branchIDLists(), and updateBranchIDListsWithKeptAliases().
|
private |
Definition at line 209 of file OutputModuleBase.h.
Referenced by branchIDLists(), selectProducts(), and updateBranchIDListsWithKeptAliases().
|
private |
Definition at line 193 of file OutputModuleBase.h.
Referenced by OutputModuleBase(), and selectProducts().
|
private |
Definition at line 214 of file OutputModuleBase.h.
Referenced by selectProducts().
|
private |
Definition at line 192 of file OutputModuleBase.h.
Referenced by keepThisBranch().
|
private |
Definition at line 174 of file OutputModuleBase.h.
Referenced by configure().
|
private |
Definition at line 198 of file OutputModuleBase.h.
Referenced by description(), doBeginLuminosityBlock(), doBeginRun(), doEndLuminosityBlock(), doEndRun(), doEvent(), doWriteLuminosityBlock(), doWriteRun(), and prePrefetchSelection().
|
private |
Definition at line 211 of file OutputModuleBase.h.
Referenced by branchIDLists(), configure(), and updateBranchIDListsWithKeptAliases().
|
private |
Definition at line 195 of file OutputModuleBase.h.
Referenced by doPreallocate(), and OutputModuleBase().
|
private |
Definition at line 197 of file OutputModuleBase.h.
Referenced by selected(), and selectProducts().
|
private |
Definition at line 196 of file OutputModuleBase.h.
Referenced by selectProducts().
|
private |
Definition at line 215 of file OutputModuleBase.h.
|
private |
Definition at line 175 of file OutputModuleBase.h.
Referenced by configure(), and doEvent().
|
private |
Definition at line 202 of file OutputModuleBase.h.
Referenced by doPreallocate(), and OutputModuleBase().
|
private |
Definition at line 205 of file OutputModuleBase.h.
Referenced by OutputModuleBase(), and setEventSelectionInfo().
|
private |
Definition at line 201 of file OutputModuleBase.h.
Referenced by doPreallocate(), OutputModuleBase(), prePrefetchSelection(), and productsUsedBySelection().
|
private |
Definition at line 213 of file OutputModuleBase.h.
Referenced by selectProducts(), and thinnedAssociationsHelper().
|
private |
Definition at line 200 of file OutputModuleBase.h.
Referenced by needToRunSelection(), OutputModuleBase(), and prePrefetchSelection().