Classes | |
class | CommonEventFields |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::core::OutputModuleCore | |
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 | |
void | initializeNTuple (edm::EventForOutput const &e) |
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 | writeProvenance () |
void | writeRun (edm::RunForOutput const &) override |
Private Attributes | |
class NanoAODRNTupleOutputModule::CommonEventFields | m_commonFields |
std::string | m_compressionAlgorithm |
int | m_compressionLevel |
EventStringOutputFields | m_evstrings |
std::unique_ptr< TFile > | m_file |
std::string | m_fileName |
edm::JobReport::Token | m_jrToken |
std::string | m_logicalFileName |
LumiNTuple | m_lumi |
std::vector< std::pair< std::string, edm::EDGetToken > > | m_nanoMetadata |
std::unique_ptr< RNTupleWriter > | m_ntuple |
edm::ProcessHistoryRegistry | m_processHistoryRegistry |
RunNTuple | m_run |
TableCollectionSet | m_tables |
std::vector< TriggerOutputFields > | m_triggers |
bool | m_writeProvenance |
Additional Inherited Members | |
Public Types inherited from edm::one::OutputModuleBase | |
typedef OutputModuleBase | ModuleType |
Public Types inherited from edm::core::OutputModuleCore | |
typedef OutputModuleCore | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::one::OutputModuleBase | |
void | configure (OutputModuleDescription const &desc) |
void | doBeginJob () |
bool | doEvent (EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *) |
void | doPreallocate (PreallocationConfiguration const &) |
Protected Member Functions inherited from edm::core::OutputModuleCore | |
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) |
Protected Member Functions inherited from edm::EDConsumerBase | |
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 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 () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
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) |
Protected Attributes inherited from edm::core::OutputModuleCore | |
std::atomic< int > | remainingEvents_ |
Definition at line 42 of file NanoAODRNTupleOutputModule.cc.
NanoAODRNTupleOutputModule::NanoAODRNTupleOutputModule | ( | edm::ParameterSet const & | pset | ) |
Definition at line 99 of file NanoAODRNTupleOutputModule.cc.
|
override |
Definition at line 109 of file NanoAODRNTupleOutputModule.cc.
|
static |
Definition at line 256 of file NanoAODRNTupleOutputModule.cc.
References edm::ConfigurationDescriptions::addDefault(), EgammaPostProcessor_cfi::dataSet, submitPVResolutionJobs::desc, edm::core::OutputModuleCore::fillDescription(), runTheMatrix::keep, edm::ParameterSetDescription::setAllowAnything(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 180 of file NanoAODRNTupleOutputModule.cc.
References TableCollectionSet::add(), EventStringOutputFields::createFields(), NanoAODRNTupleOutputModule::CommonEventFields::createFields(), TableCollectionSet::createFields(), Exception, patZpeak::handle, iEvent, edm::InEvent, runTheMatrix::keep, edm::core::OutputModuleCore::keptProducts(), m_commonFields, m_evstrings, m_file, m_ntuple, m_tables, m_triggers, ReggeGribovPartonMC_EposLHC_2760GeV_PbPb_cfi::model, eostools::move(), AlcaSiPixelAliHarvester0T_cff::options, EventStringOutputFields::registerToken(), and unpackBuffers-CaloStage2::token.
Referenced by write().
|
overrideprivatevirtual |
Reimplemented from edm::core::OutputModuleCore.
Definition at line 138 of file NanoAODRNTupleOutputModule.cc.
References m_ntuple.
|
overrideprivatevirtual |
Reimplemented from edm::core::OutputModuleCore.
Definition at line 140 of file NanoAODRNTupleOutputModule.cc.
References edm::createGlobalIdentifier(), edm::core::OutputModuleCore::description(), cms::Digest::digest(), Exception, edm::InRun, runTheMatrix::keep, edm::core::OutputModuleCore::keptProducts(), m_compressionAlgorithm, m_compressionLevel, m_file, m_fileName, m_jrToken, m_logicalFileName, m_nanoMetadata, m_run, HerwigMaxPtPartonFilter_cfi::moduleLabel, RunNTuple::registerToken(), AlCaHLTBitMon_QueryRunRegistry::string, and cms::MD5Result::toString().
|
overrideprivatevirtual |
Reimplemented from edm::core::OutputModuleCore.
Definition at line 231 of file NanoAODRNTupleOutputModule.cc.
References LumiNTuple::finalizeWrite(), RunNTuple::finalizeWrite(), m_file, m_jrToken, m_lumi, m_ntuple, m_run, m_writeProvenance, edm::JobReport::outputFileClosed(), and writeProvenance().
|
overrideprivatevirtual |
Implements edm::core::OutputModuleCore.
Definition at line 213 of file NanoAODRNTupleOutputModule.cc.
References edm::JobReport::eventWrittenToFile(), EventStringOutputFields::fill(), NanoAODRNTupleOutputModule::CommonEventFields::fill(), TableCollectionSet::fill(), iEvent, initializeNTuple(), m_commonFields, m_evstrings, m_jrToken, m_ntuple, m_processHistoryRegistry, m_tables, m_triggers, and edm::ProcessHistoryRegistry::registerProcessHistory().
|
overrideprivatevirtual |
Implements edm::core::OutputModuleCore.
Definition at line 111 of file NanoAODRNTupleOutputModule.cc.
References LumiNTuple::fill(), edm::LuminosityBlockForOutput::id(), m_file, m_jrToken, m_lumi, m_processHistoryRegistry, edm::OccurrenceForOutput::processHistory(), edm::ProcessHistoryRegistry::registerProcessHistory(), edm::JobReport::reportLumiSection(), edm::LuminosityBlockID::run(), and edm::LuminosityBlockID::value().
|
private |
Definition at line 246 of file NanoAODRNTupleOutputModule.cc.
References PSetNTuple::fill(), MetadataNTuple::fill(), PSetNTuple::finalizeWrite(), MetadataNTuple::finalizeWrite(), edm::pset::Registry::instance(), m_file, and m_processHistoryRegistry.
Referenced by reallyCloseFile().
|
overrideprivatevirtual |
Implements edm::core::OutputModuleCore.
Definition at line 118 of file NanoAODRNTupleOutputModule.cc.
References Exception, RunNTuple::fill(), edm::OccurrenceForOutput::getByToken(), edm::RunForOutput::id(), m_file, m_jrToken, m_nanoMetadata, m_processHistoryRegistry, m_run, AlCaHLTBitMon_ParallelJobs::p, edm::OccurrenceForOutput::processHistory(), edm::ProcessHistoryRegistry::registerProcessHistory(), edm::JobReport::reportRunNumber(), edm::RunID::run(), and nanoaod::UniqueString::str().
|
private |
Referenced by initializeNTuple(), and write().
|
private |
Definition at line 62 of file NanoAODRNTupleOutputModule.cc.
Referenced by openFile().
|
private |
Definition at line 63 of file NanoAODRNTupleOutputModule.cc.
Referenced by openFile().
|
private |
Definition at line 72 of file NanoAODRNTupleOutputModule.cc.
Referenced by initializeNTuple(), and write().
|
private |
Definition at line 68 of file NanoAODRNTupleOutputModule.cc.
Referenced by initializeNTuple(), openFile(), reallyCloseFile(), writeLuminosityBlock(), writeProvenance(), and writeRun().
|
private |
Definition at line 60 of file NanoAODRNTupleOutputModule.cc.
Referenced by openFile().
|
private |
Definition at line 66 of file NanoAODRNTupleOutputModule.cc.
Referenced by openFile(), reallyCloseFile(), write(), writeLuminosityBlock(), and writeRun().
|
private |
Definition at line 61 of file NanoAODRNTupleOutputModule.cc.
Referenced by openFile().
|
private |
Definition at line 93 of file NanoAODRNTupleOutputModule.cc.
Referenced by reallyCloseFile(), and writeLuminosityBlock().
|
private |
Definition at line 96 of file NanoAODRNTupleOutputModule.cc.
Referenced by openFile(), and writeRun().
|
private |
Definition at line 69 of file NanoAODRNTupleOutputModule.cc.
Referenced by initializeNTuple(), isFileOpen(), reallyCloseFile(), and write().
|
private |
Definition at line 65 of file NanoAODRNTupleOutputModule.cc.
Referenced by write(), writeLuminosityBlock(), writeProvenance(), and writeRun().
|
private |
Definition at line 94 of file NanoAODRNTupleOutputModule.cc.
Referenced by openFile(), reallyCloseFile(), and writeRun().
|
private |
Definition at line 70 of file NanoAODRNTupleOutputModule.cc.
Referenced by initializeNTuple(), and write().
|
private |
Definition at line 71 of file NanoAODRNTupleOutputModule.cc.
Referenced by initializeNTuple(), and write().
|
private |
Definition at line 64 of file NanoAODRNTupleOutputModule.cc.
Referenced by reallyCloseFile().