![]() |
![]() |
Classes | |
class | CommonEventBranches |
class | CommonLumiBranches |
class | CommonRunBranches |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
![]() | |
static const std::string & | baseType () |
static void | fillDescription (ParameterSetDescription &desc, std::vector< std::string > const &iDefaultOutputCommands=ProductSelectorRules::defaultSelectionStrings()) |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Private Member Functions | |
bool | isFileOpen () const override |
void | openFile (edm::FileBlock const &) override |
void | reallyCloseFile () override |
void | write (edm::EventForOutput const &e) override |
void | writeLuminosityBlock (edm::LuminosityBlockForOutput const &) override |
void | writeRun (edm::RunForOutput const &) override |
Static Private Attributes | |
static constexpr int | m_firstFlush {1000} |
Additional Inherited Members | |
![]() | |
typedef OutputModuleBase | ModuleType |
![]() | |
typedef OutputModuleCore | ModuleType |
![]() | |
typedef ProductLabels | Labels |
![]() | |
void | configure (OutputModuleDescription const &desc) |
void | doBeginJob () |
bool | doEvent (EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *) |
void | doPreallocate (PreallocationConfiguration const &) |
![]() | |
void | configure (OutputModuleDescription const &desc) |
ModuleDescription const & | description () const |
void | doAccessInputProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *) |
void | doBeginJob_ () |
bool | doBeginLuminosityBlock (LumiTransitionInfo const &, ModuleCallingContext const *) |
void | doBeginProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *) |
bool | doBeginRun (RunTransitionInfo const &, ModuleCallingContext const *) |
void | doEndJob () |
bool | doEndLuminosityBlock (LumiTransitionInfo const &, ModuleCallingContext const *) |
void | doEndProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *) |
bool | doEndRun (RunTransitionInfo const &, ModuleCallingContext const *) |
bool | doEvent_ (EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *) |
void | doPreallocate_ (PreallocationConfiguration const &) |
std::map< BranchID::value_type, BranchID::value_type > const & | droppedBranchIDToKeptBranchID () |
virtual void | preallocLumis (unsigned int) |
ParameterSetID | selectorConfig () const |
void | setEventSelectionInfo (std::map< std::string, std::vector< std::pair< std::string, int >>> const &outputModulePathPositions, bool anyProductProduced) |
![]() | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
![]() | |
std::atomic< int > | remainingEvents_ |
Definition at line 50 of file NanoAODOutputModule.cc.
NanoAODOutputModule::NanoAODOutputModule | ( | edm::ParameterSet const & | pset | ) |
Definition at line 147 of file NanoAODOutputModule.cc.
|
override |
Definition at line 159 of file NanoAODOutputModule.cc.
|
static |
Definition at line 386 of file NanoAODOutputModule.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, edm::core::OutputModuleCore::fillDescription(), keep, edm::ParameterSetDescription::setAllowAnything(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivatevirtual |
Reimplemented from edm::core::OutputModuleCore.
Definition at line 272 of file NanoAODOutputModule.cc.
References m_file.
|
overrideprivatevirtual |
Reimplemented from edm::core::OutputModuleCore.
Definition at line 274 of file NanoAODOutputModule.cc.
References NanoAODOutputModule::CommonEventBranches::branch(), NanoAODOutputModule::CommonLumiBranches::branch(), NanoAODOutputModule::CommonRunBranches::branch(), edm::createGlobalIdentifier(), edm::core::OutputModuleCore::description(), cms::Digest::digest(), Exception, edm::InEvent, edm::InLumi, edm::InRun, keep, edm::core::OutputModuleCore::keptProducts(), m_commonBranches, m_commonLumiBranches, m_commonRunBranches, m_compressionAlgorithm, m_compressionLevel, m_evstrings, m_fakeName, m_file, m_fileName, m_jrToken, m_logicalFileName, m_lumiTables, m_lumiTree, m_metaDataTree, m_nanoMetadata, m_parameterSetsTree, m_runFlatTables, m_runTables, m_runTree, m_tables, m_tree, m_triggers, m_triggers_areSorted, m_writeProvenance, edm::poolNames::metaDataTreeName(), edm::poolNames::parameterSetsTreeName(), AlCaHLTBitMon_QueryRunRegistry::string, and cms::MD5Result::toString().
|
overrideprivatevirtual |
Reimplemented from edm::core::OutputModuleCore.
Definition at line 362 of file NanoAODOutputModule.cc.
References edm::fillParameterSetBranch(), edm::fillProcessHistoryBranch(), m_file, m_jrToken, m_lumiTree, m_metaDataTree, m_parameterSetsTree, m_processHistoryRegistry, m_runTree, m_tree, m_writeProvenance, and edm::JobReport::outputFileClosed().
|
overrideprivatevirtual |
Implements edm::core::OutputModuleCore.
Definition at line 161 of file NanoAODOutputModule.cc.
References a, b, edm::EventID::event(), patZpeak::events, edm::JobReport::eventWrittenToFile(), NanoAODOutputModule::CommonEventBranches::fill(), spr::find(), edm::EventForOutput::id(), m_autoFlush, m_commonBranches, m_eventsSinceFlush, m_evstrings, m_firstFlush, m_jrToken, m_processHistoryRegistry, m_tables, m_tree, m_triggers, m_triggers_areSorted, AlCaHLTBitMon_ParallelJobs::p, edm::OccurrenceForOutput::processHistory(), TriggerOutputBranches::processName(), edm::ProcessHistoryRegistry::registerProcessHistory(), edm::EventID::run(), and submitPVValidationJobs::t.
|
overrideprivatevirtual |
Implements edm::core::OutputModuleCore.
Definition at line 226 of file NanoAODOutputModule.cc.
References NanoAODOutputModule::CommonLumiBranches::fill(), edm::LuminosityBlockForOutput::id(), m_commonLumiBranches, m_jrToken, m_lumiTables, m_lumiTree, m_processHistoryRegistry, edm::OccurrenceForOutput::processHistory(), edm::ProcessHistoryRegistry::registerProcessHistory(), edm::JobReport::reportLumiSection(), edm::LuminosityBlockID::run(), submitPVValidationJobs::t, and edm::LuminosityBlockID::value().
|
overrideprivatevirtual |
Implements edm::core::OutputModuleCore.
Definition at line 240 of file NanoAODOutputModule.cc.
References NanoAODOutputModule::CommonRunBranches::fill(), edm::OccurrenceForOutput::getByToken(), edm::RunForOutput::id(), m_commonRunBranches, m_file, m_jrToken, m_nanoMetadata, m_processHistoryRegistry, m_runFlatTables, m_runTables, m_runTree, AlCaHLTBitMon_ParallelJobs::p, edm::OccurrenceForOutput::processHistory(), edm::ProcessHistoryRegistry::registerProcessHistory(), edm::JobReport::reportRunNumber(), edm::RunID::run(), and submitPVValidationJobs::t.
|
private |
Definition at line 72 of file NanoAODOutputModule.cc.
Referenced by write().
|
private |
Referenced by openFile(), and write().
|
private |
Referenced by openFile(), and writeLuminosityBlock().
|
private |
Referenced by openFile(), and writeRun().
|
private |
Definition at line 69 of file NanoAODOutputModule.cc.
Referenced by openFile().
|
private |
Definition at line 67 of file NanoAODOutputModule.cc.
Referenced by openFile().
|
private |
Definition at line 68 of file NanoAODOutputModule.cc.
Referenced by write().
|
private |
Definition at line 127 of file NanoAODOutputModule.cc.
Referenced by openFile(), and write().
|
private |
Definition at line 71 of file NanoAODOutputModule.cc.
Referenced by openFile().
|
private |
Definition at line 75 of file NanoAODOutputModule.cc.
Referenced by isFileOpen(), openFile(), reallyCloseFile(), and writeRun().
|
private |
Definition at line 65 of file NanoAODOutputModule.cc.
Referenced by openFile().
|
staticprivate |
Definition at line 78 of file NanoAODOutputModule.cc.
Referenced by write().
|
private |
Definition at line 74 of file NanoAODOutputModule.cc.
Referenced by openFile(), reallyCloseFile(), write(), writeLuminosityBlock(), and writeRun().
|
private |
Definition at line 66 of file NanoAODOutputModule.cc.
Referenced by openFile().
|
private |
Definition at line 130 of file NanoAODOutputModule.cc.
Referenced by openFile(), and writeLuminosityBlock().
|
private |
Definition at line 76 of file NanoAODOutputModule.cc.
Referenced by openFile(), reallyCloseFile(), and writeLuminosityBlock().
|
private |
Definition at line 76 of file NanoAODOutputModule.cc.
Referenced by openFile(), and reallyCloseFile().
|
private |
Definition at line 133 of file NanoAODOutputModule.cc.
Referenced by openFile(), and writeRun().
|
private |
Definition at line 76 of file NanoAODOutputModule.cc.
Referenced by openFile(), and reallyCloseFile().
|
private |
Definition at line 73 of file NanoAODOutputModule.cc.
Referenced by reallyCloseFile(), write(), writeLuminosityBlock(), and writeRun().
|
private |
Definition at line 131 of file NanoAODOutputModule.cc.
Referenced by openFile(), and writeRun().
|
private |
Definition at line 129 of file NanoAODOutputModule.cc.
Referenced by openFile(), and writeRun().
|
private |
Definition at line 76 of file NanoAODOutputModule.cc.
Referenced by openFile(), reallyCloseFile(), and writeRun().
|
private |
Definition at line 124 of file NanoAODOutputModule.cc.
Referenced by openFile(), and write().
|
private |
Definition at line 76 of file NanoAODOutputModule.cc.
Referenced by openFile(), reallyCloseFile(), and write().
|
private |
Definition at line 125 of file NanoAODOutputModule.cc.
Referenced by openFile(), and write().
|
private |
Definition at line 126 of file NanoAODOutputModule.cc.
Referenced by openFile(), and write().
|
private |
Definition at line 70 of file NanoAODOutputModule.cc.
Referenced by openFile(), and reallyCloseFile().