LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Classes | |
struct | Config |
Public Types | |
using | Parameters = fhicl::WrappedTable< Config, Config::KeysToIgnore > |
using | ModuleType = OutputModule |
using | WorkerType = OutputWorker |
Public Member Functions | |
RootOutput (Parameters const &) | |
void | postSelectProducts () override |
void | beginJob () override |
void | endJob () override |
void | event (EventPrincipal const &) override |
void | beginSubRun (SubRunPrincipal const &) override |
void | endSubRun (SubRunPrincipal const &) override |
void | beginRun (RunPrincipal const &) override |
void | endRun (RunPrincipal const &) override |
int | maxEvents () const |
int | remainingEvents () const |
bool | fileIsOpen () const |
OutputFileStatus | fileStatus () const |
bool | selected (BranchDescription const &) const |
SelectionsArray const & | keptProducts () const |
std::array< bool, NumBranchTypes > const & | hasNewlyDroppedBranch () const |
BranchChildren const & | branchChildren () const |
void | selectProducts (ProductList const &) |
void | registerProducts (MasterProductRegistry &, ProductDescriptions &, ModuleDescription const &) |
bool | modifiesEvent () const |
std::string const & | processName () const |
bool | wantAllEvents () const |
bool | wantEvent (Event const &e) |
fhicl::ParameterSetID | selectorConfig () const |
art::Handle< art::TriggerResults > | getTriggerResults (Event const &e) const |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ProductToken< T > | consumes (InputTag const &it) |
template<typename T , BranchType = InEvent> | |
void | consumesMany () |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | consumesView (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ViewToken< T > | consumesView (InputTag const &it) |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ProductToken< T > | mayConsume (InputTag const &it) |
template<typename T , BranchType = InEvent> | |
void | mayConsumeMany () |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | mayConsumeView (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ViewToken< T > | mayConsumeView (InputTag const &it) |
Static Public Member Functions | |
static cet::exempt_ptr< Consumer > | non_module_context () |
Static Public Attributes | |
static constexpr char const * | default_tmpDir {"<parent-path-of-filename>"} |
Protected Member Functions | |
CurrentProcessingContext const * | currentContext () const |
ModuleDescription const & | description () const |
detail::CachedProducts & | cachedProducts () |
void | validateConsumedProduct (BranchType const bt, ProductInfo const &pi) |
void | prepareForJob (fhicl::ParameterSet const &pset) |
void | showMissingConsumes () const |
Private Attributes | |
std::string const | catalog_ |
bool | dropAllEvents_ {false} |
bool | dropAllSubRuns_ |
std::string const | moduleLabel_ |
int | inputFileCount_ {0} |
std::unique_ptr< RootOutputFile > | rootOutputFile_ {nullptr} |
FileStatsCollector | fstats_ |
PostCloseFileRenamer | fRenamer_ {fstats_} |
std::string const | filePattern_ |
std::string | tmpDir_ |
std::string | lastClosedFileName_ {} |
int const | compressionLevel_ |
int64_t const | saveMemoryObjectThreshold_ |
int64_t const | treeMaxVirtualSize_ |
int const | splitLevel_ |
int const | basketSize_ |
DropMetaData | dropMetaData_ |
bool | dropMetaDataForDroppedData_ |
bool | fastCloningEnabled_ {true} |
bool | writeParameterSets_ |
ClosingCriteria | fileProperties_ |
ProductTable | producedResultsProducts_ {} |
RPManager | rpm_ |
Definition at line 52 of file RootOutput_module.cc.
|
inherited |
Definition at line 61 of file OutputModule.h.
Definition at line 109 of file RootOutput_module.cc.
|
inherited |
Definition at line 62 of file OutputModule.h.
|
explicit |
Definition at line 200 of file RootOutput_module.cc.
References basketSize_, catalog_, compressionLevel_, default_tmpDir, dropAllEvents_, dropAllSubRuns_, dropMetaData_, dropMetaDataForDroppedData_, fastCloningEnabled_, filePattern_, fileProperties_, fstats_, fhicl::WrappedTable< T, KeysToIgnore >::get_PSet(), moduleLabel_, art::parent_path(), art::EventObserverBase::processName(), rpm_, saveMemoryObjectThreshold_, art::detail::shouldDropEvents(), art::detail::shouldFastClone(), splitLevel_, tmpDir_, treeMaxVirtualSize_, art::detail::validateFileNamePattern(), art::EventObserverBase::wantAllEvents(), and writeParameterSets_.
|
overridevirtual |
Reimplemented from art::OutputModule.
Definition at line 554 of file RootOutput_module.cc.
References art::ResultsProducer::doBeginJob(), art::RPManager::invoke(), and rpm_.
|
overridevirtual |
Reimplemented from art::OutputModule.
Definition at line 588 of file RootOutput_module.cc.
References art::ResultsProducer::doBeginRun(), art::RPManager::for_each_RPWorker(), art::RPWorker::rp(), rpm_, and w.
|
overridevirtual |
Reimplemented from art::OutputModule.
Definition at line 573 of file RootOutput_module.cc.
References art::ResultsProducer::doBeginSubRun(), art::RPManager::for_each_RPWorker(), art::RPWorker::moduleDescription(), art::Consumer::non_module_context(), art::RPWorker::rp(), rpm_, and w.
|
inlineinherited |
Definition at line 349 of file OutputModule.h.
References art::OutputModule::branchChildren_.
Referenced by art::OutputModule::fileIsOpen(), and art::RootOutputFile::writeProductDependencies().
|
inlineprotectedinherited |
Definition at line 79 of file EventObserverBase.h.
References art::EventObserverBase::selectors_.
Referenced by art::EDAnalyzer::doEvent(), and art::OutputModule::doWriteEvent().
|
inherited |
|
inherited |
Definition at line 147 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inherited |
Definition at line 162 of file Consumer.h.
|
inherited |
|
inherited |
Definition at line 172 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inlineprotectedinherited |
Definition at line 305 of file OutputModule.h.
References art::OutputModule::current_context_.
Referenced by art::OutputModule::fileIsOpen().
|
inlineprotectedinherited |
Definition at line 311 of file OutputModule.h.
References art::OutputModule::moduleDescription_.
Referenced by art::OutputModule::doRespondToOpenInputFile(), art::OutputModule::fileIsOpen(), art::OutputModule::makePlugins_(), and startEndFile().
|
private |
Definition at line 505 of file RootOutput_module.cc.
References basketSize_, compressionLevel_, dropMetaData_, dropMetaDataForDroppedData_, fastCloningEnabled_, fileNameAtOpen(), filePattern_, fileProperties_, fstats_, inputFileCount_, art::detail::logFileAction(), art::errors::LogicError, art::FileStatsCollector::recordFileOpen(), rootOutputFile_, saveMemoryObjectThreshold_, splitLevel_, and treeMaxVirtualSize_.
Referenced by openFile().
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 450 of file RootOutput_module.cc.
References art::RPManager::for_each_RPWorker(), art::InResults, art::ModuleDescription::invalidID(), art::RPWorker::moduleDescription(), art::ModuleDescription::moduleLabel(), art::RPWorker::params(), art::ModuleDescription::processConfiguration(), producedResultsProducts_, art::ResultsProducer::registerProducts(), art::RPWorker::rp(), rpm_, art::RPWorker::setModuleDescription(), and w.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 424 of file RootOutput_module.cc.
References fstats_, and rootOutputFile_.
|
overridevirtual |
Reimplemented from art::OutputModule.
Definition at line 560 of file RootOutput_module.cc.
References art::ResultsProducer::doEndJob(), art::RPManager::invoke(), rpm_, and art::Consumer::showMissingConsumes().
|
overridevirtual |
Reimplemented from art::OutputModule.
Definition at line 594 of file RootOutput_module.cc.
References DEFINE_ART_MODULE, art::ResultsProducer::doEndRun(), art::RPManager::for_each_RPWorker(), art::RPWorker::rp(), rpm_, and w.
|
overridevirtual |
Reimplemented from art::OutputModule.
Definition at line 582 of file RootOutput_module.cc.
References art::ResultsProducer::doEndSubRun(), art::RPManager::for_each_RPWorker(), art::RPWorker::rp(), rpm_, and w.
|
overridevirtual |
Reimplemented from art::OutputModule.
Definition at line 567 of file RootOutput_module.cc.
References art::ResultsProducer::doEvent(), art::RPManager::for_each_RPWorker(), art::RPWorker::rp(), rpm_, and w.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 499 of file RootOutput_module.cc.
References fileProperties_, and art::ClosingCriteria::granularity().
|
inlineinherited |
Definition at line 104 of file OutputModule.h.
References art::OutputModule::branchChildren(), art::OutputModule::currentContext(), art::OutputModule::description(), art::OutputModule::doRegisterProducts(), art::OutputModule::fileStatus(), art::OutputModule::hasNewlyDroppedBranch(), art::OutputModule::isFileOpen(), art::OutputModule::keptProducts(), art::OutputModule::lastClosedFileName(), art::OutputModule::postSelectProducts(), art::OutputModule::registerProducts(), art::OutputModule::selected(), and art::OutputModule::selectProducts().
Referenced by art::OutputWorker::fileIsOpen().
|
private |
Definition at line 536 of file RootOutput_module.cc.
References filePattern_, fRenamer_, and art::PostCloseFileRenamer::maybeRenameFile().
Referenced by finishEndFile().
|
private |
Definition at line 529 of file RootOutput_module.cc.
References filePattern_, tmpDir_, and art::unique_filename().
Referenced by doOpenFile().
|
inherited |
Referenced by art::OutputModule::fileIsOpen().
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 438 of file RootOutput_module.cc.
References art::ResultsProducer::doClear(), fileNameAtClose(), fstats_, art::RPManager::invoke(), lastClosedFileName_, art::detail::logFileAction(), art::FileStatsCollector::recordFileClose(), rootOutputFile_, and rpm_.
|
inlineinherited |
Definition at line 61 of file EventObserverBase.h.
References art::detail::CachedProducts::getOneTriggerResults(), and art::EventObserverBase::selectors_.
Referenced by art::OutputModule::doWriteEvent().
|
inlineinherited |
Definition at line 342 of file OutputModule.h.
References art::OutputModule::hasNewlyDroppedBranch_.
Referenced by art::OutputModule::fileIsOpen(), startEndFile(), write(), writeRun(), and writeSubRun().
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 486 of file RootOutput_module.cc.
References isFileOpen(), and rootOutputFile_.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 480 of file RootOutput_module.cc.
References rootOutputFile_.
Referenced by incrementInputFileNumber(), openFile(), postSelectProducts(), requestsToCloseFile(), respondToCloseInputFile(), respondToOpenInputFile(), and setFileStatus().
|
inlineinherited |
Definition at line 336 of file OutputModule.h.
References art::OutputModule::keptProducts_.
Referenced by art::OutputModule::fileIsOpen(), and art::RootOutputFile::selectProducts().
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 544 of file RootOutput_module.cc.
References lastClosedFileName_, and art::errors::LogicError.
|
inlineinherited |
|
inherited |
|
inherited |
Definition at line 190 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inherited |
Definition at line 205 of file Consumer.h.
|
inherited |
|
inherited |
Definition at line 215 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inlineinherited |
Definition at line 25 of file EventObserverBase.h.
|
staticinherited |
Definition at line 76 of file Consumer.cc.
Referenced by beginSubRun(), art::OutputModule::doBeginRun(), art::OutputModule::doBeginSubRun(), art::OutputModule::doEndRun(), art::OutputModule::doEndSubRun(), art::ProducingService::doPostReadEvent(), art::ProducingService::doPostReadRun(), art::ProducingService::doPostReadSubRun(), art::OutputModule::doWriteEvent(), art::ProcessPackage< L >::postScheduleSignal(), art::BeginEndPackage< Level::Run >::Begin::postScheduleSignal(), art::BeginEndPackage< Level::Run >::End::postScheduleSignal(), art::BeginEndPackage< Level::SubRun >::Begin::postScheduleSignal(), art::BeginEndPackage< Level::SubRun >::End::postScheduleSignal(), art::ProcessPackage< L >::preScheduleSignal(), art::BeginEndPackage< Level::Run >::Begin::preScheduleSignal(), art::BeginEndPackage< Level::SubRun >::Begin::preScheduleSignal(), art::EventProcessor::readEvent(), art::EventProcessor::readRun(), art::EmptyEvent::readRun_(), art::EventProcessor::readSubRun(), and art::EmptyEvent::readSubRun_().
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 249 of file RootOutput_module.cc.
References doOpenFile(), isFileOpen(), and respondToOpenInputFile().
|
overridevirtual |
Reimplemented from art::OutputModule.
Definition at line 261 of file RootOutput_module.cc.
References isFileOpen(), and rootOutputFile_.
|
protectedinherited |
Definition at line 89 of file Consumer.cc.
References fhicl::ParameterSet::get_if_present().
Referenced by art::EDProducer::doBeginJob(), art::EDFilter::doBeginJob(), and art::EDAnalyzer::doBeginJob().
|
inlineinherited |
Definition at line 41 of file EventObserverBase.h.
References art::EventObserverBase::process_name_.
Referenced by art::FileDumperOutput::printPrincipal(), and RootOutput().
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 297 of file RootOutput_module.cc.
References art::ResultsProducer::doReadResults(), art::RPManager::for_each_RPWorker(), art::RPWorker::rp(), rpm_, and w.
|
inherited |
Definition at line 105 of file OutputModule.cc.
References art::OutputModule::doRegisterProducts().
Referenced by art::OutputModule::fileIsOpen().
|
inlineinherited |
Definition at line 323 of file OutputModule.h.
References art::OutputModule::remainingEvents_.
Referenced by respondToOpenInputFile().
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 493 of file RootOutput_module.cc.
References isFileOpen(), and rootOutputFile_.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 303 of file RootOutput_module.cc.
References isFileOpen(), and rootOutputFile_.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 269 of file RootOutput_module.cc.
References fastCloningEnabled_, fb(), art::FileBlock::fileName(), fstats_, inputFileCount_, isFileOpen(), art::FileStatsCollector::recordInputFile(), art::OutputModule::remainingEvents(), and rootOutputFile_.
Referenced by openFile().
|
inlineinherited |
Definition at line 329 of file OutputModule.h.
References art::OutputModule::groupSelector_.
Referenced by art::OutputModule::doSelectProducts(), and art::OutputModule::fileIsOpen().
|
inlineinherited |
Definition at line 56 of file EventObserverBase.h.
References art::EventObserverBase::selector_config_id_.
Referenced by art::RootOutputFile::writeOne().
|
inherited |
Definition at line 98 of file OutputModule.cc.
References art::OutputModule::doSelectProducts(), and art::OutputModule::postSelectProducts().
Referenced by art::OutputModule::fileIsOpen(), and art::OutputWorker::selectProducts().
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 473 of file RootOutput_module.cc.
References isFileOpen(), and rootOutputFile_.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 343 of file RootOutput_module.cc.
References rootOutputFile_.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 324 of file RootOutput_module.cc.
References rootOutputFile_.
|
protectedinherited |
Definition at line 125 of file Consumer.cc.
Referenced by art::EDProducer::doEndJob(), art::EDFilter::doEndJob(), art::EDAnalyzer::doEndJob(), and endJob().
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 359 of file RootOutput_module.cc.
References art::OutputModule::description(), art::ResultsProducer::doWriteResults(), art::RPManager::for_each_RPWorker(), art::OutputModule::hasNewlyDroppedBranch(), art::InResults, art::ProductMetaData::instance(), art::ModuleDescription::processConfiguration(), producedResultsProducts_, rootOutputFile_, art::RPWorker::rp(), rpm_, and w.
|
protectedinherited |
Definition at line 101 of file Consumer.cc.
References art::errors::ProductRegistrationFailure.
|
inlineinherited |
Definition at line 46 of file EventObserverBase.h.
References art::EventObserverBase::wantAllEvents_.
Referenced by art::EDAnalyzer::doEvent(), art::OutputModule::doEvent(), art::OutputModule::doWriteEvent(), RootOutput(), and art::OutputWorker::wantAllEvents().
|
inlineinherited |
Definition at line 51 of file EventObserverBase.h.
References art::EventObserverBase::selectors_, and art::detail::CachedProducts::wantEvent().
Referenced by art::EDAnalyzer::doEvent(), art::OutputModule::doEvent(), and art::OutputModule::doWriteEvent().
|
overrideprivatevirtual |
Implements art::OutputModule.
Definition at line 311 of file RootOutput_module.cc.
References art::Principal::addToProcessHistory(), dropAllEvents_, fstats_, art::OutputModule::hasNewlyDroppedBranch(), art::EventPrincipal::id(), art::InEvent, art::FileStatsCollector::recordEvent(), and rootOutputFile_.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 386 of file RootOutput_module.cc.
References rootOutputFile_.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 374 of file RootOutput_module.cc.
References rootOutputFile_.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 380 of file RootOutput_module.cc.
References rootOutputFile_.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 404 of file RootOutput_module.cc.
References rootOutputFile_, and writeParameterSets_.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 418 of file RootOutput_module.cc.
References rootOutputFile_.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 392 of file RootOutput_module.cc.
References rootOutputFile_.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 398 of file RootOutput_module.cc.
References rootOutputFile_.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 432 of file RootOutput_module.cc.
References rootOutputFile_.
|
overrideprivatevirtual |
Reimplemented from art::OutputModule.
Definition at line 412 of file RootOutput_module.cc.
References rootOutputFile_.
|
overrideprivatevirtual |
Implements art::OutputModule.
Definition at line 349 of file RootOutput_module.cc.
References art::Principal::addToProcessHistory(), fstats_, art::OutputModule::hasNewlyDroppedBranch(), art::RunPrincipal::id(), art::InRun, art::FileStatsCollector::recordRun(), and rootOutputFile_.
|
overrideprivatevirtual |
Implements art::OutputModule.
Definition at line 330 of file RootOutput_module.cc.
References art::Principal::addToProcessHistory(), dropAllSubRuns_, fstats_, art::OutputModule::hasNewlyDroppedBranch(), art::SubRunPrincipal::id(), art::InSubRun, art::FileStatsCollector::recordSubRun(), and rootOutputFile_.
|
private |
Definition at line 181 of file RootOutput_module.cc.
Referenced by doOpenFile(), and RootOutput().
|
private |
Definition at line 164 of file RootOutput_module.cc.
Referenced by RootOutput().
|
private |
Definition at line 177 of file RootOutput_module.cc.
Referenced by doOpenFile(), and RootOutput().
|
static |
Definition at line 54 of file RootOutput_module.cc.
Referenced by RootOutput().
|
private |
Definition at line 165 of file RootOutput_module.cc.
Referenced by RootOutput(), and write().
|
private |
Definition at line 166 of file RootOutput_module.cc.
Referenced by RootOutput(), and writeSubRun().
|
private |
Definition at line 182 of file RootOutput_module.cc.
Referenced by doOpenFile(), and RootOutput().
|
private |
Definition at line 183 of file RootOutput_module.cc.
Referenced by doOpenFile(), and RootOutput().
|
private |
Definition at line 187 of file RootOutput_module.cc.
Referenced by doOpenFile(), respondToOpenInputFile(), and RootOutput().
|
private |
Definition at line 172 of file RootOutput_module.cc.
Referenced by doOpenFile(), fileNameAtClose(), fileNameAtOpen(), and RootOutput().
|
private |
Definition at line 193 of file RootOutput_module.cc.
Referenced by doOpenFile(), fileGranularity(), and RootOutput().
|
private |
Definition at line 171 of file RootOutput_module.cc.
Referenced by fileNameAtClose().
|
private |
Definition at line 170 of file RootOutput_module.cc.
Referenced by doOpenFile(), doWriteFileCatalogMetadata(), finishEndFile(), respondToOpenInputFile(), RootOutput(), write(), writeRun(), and writeSubRun().
|
private |
Definition at line 168 of file RootOutput_module.cc.
Referenced by doOpenFile(), and respondToOpenInputFile().
|
private |
Definition at line 174 of file RootOutput_module.cc.
Referenced by finishEndFile(), and lastClosedFileName().
|
private |
Definition at line 167 of file RootOutput_module.cc.
Referenced by RootOutput().
|
private |
Definition at line 196 of file RootOutput_module.cc.
Referenced by doRegisterProducts(), and startEndFile().
|
private |
Definition at line 169 of file RootOutput_module.cc.
Referenced by doOpenFile(), doWriteFileCatalogMetadata(), finishEndFile(), incrementInputFileNumber(), isFileOpen(), postSelectProducts(), requestsToCloseFile(), respondToCloseInputFile(), respondToOpenInputFile(), setFileStatus(), setRunAuxiliaryRangeSetID(), setSubRunAuxiliaryRangeSetID(), startEndFile(), write(), writeEventHistory(), writeFileFormatVersion(), writeFileIndex(), writeParameterSetRegistry(), writeParentageRegistry(), writeProcessConfigurationRegistry(), writeProcessHistoryRegistry(), writeProductDependencies(), writeProductDescriptionRegistry(), writeRun(), and writeSubRun().
|
private |
Definition at line 197 of file RootOutput_module.cc.
Referenced by beginJob(), beginRun(), beginSubRun(), doRegisterProducts(), endJob(), endRun(), endSubRun(), event(), finishEndFile(), readResults(), RootOutput(), and startEndFile().
|
private |
Definition at line 178 of file RootOutput_module.cc.
Referenced by doOpenFile(), and RootOutput().
|
private |
Definition at line 180 of file RootOutput_module.cc.
Referenced by doOpenFile(), and RootOutput().
|
private |
Definition at line 173 of file RootOutput_module.cc.
Referenced by fileNameAtOpen(), and RootOutput().
|
private |
Definition at line 179 of file RootOutput_module.cc.
Referenced by doOpenFile(), and RootOutput().
|
private |
Definition at line 192 of file RootOutput_module.cc.
Referenced by RootOutput(), and writeParameterSetRegistry().