artdaq  v3_01_00
art::RootDAQOutFile Class Reference

An output module which allows specifying the output filename exactly. Used for testing (file -> /dev/null, etc) More...

#include <artdaq/ArtModules/RootDAQOutput/RootDAQOutFile.h>

Classes

struct  OutputItem
 

Public Types

enum  ClosureRequestMode { MaxEvents, MaxSize, Unset }
 Possible modes for when to close a file More...
 
using RootOutputTreePtrArray = std::array< std::unique_ptr< RootOutputTree >, NumBranchTypes >
 
using OutputItemList = std::vector< OutputItem >
 
using OutputItemListArray = std::array< OutputItemList, NumBranchTypes >
 

Public Member Functions

 RootDAQOutFile (OutputModule *, std::string const &fileName, ClosingCriteria const &fileSwitchCriteria, int const compressionLevel, int64_t const saveMemoryObjectThreshold, int64_t const treeMaxVirtualSize, int const splitLevel, int const basketSize, DropMetaData dropMetaData, bool dropMetaDataForDroppedData, bool fastCloning)
 
void writeOne (EventPrincipal const &)
 
void writeSubRun (SubRunPrincipal const &)
 
void writeRun (RunPrincipal const &)
 
void writeFileFormatVersion ()
 
void writeFileIndex ()
 
void writeEventHistory ()
 
void writeProcessConfigurationRegistry ()
 
void writeProcessHistoryRegistry ()
 
void writeParameterSetRegistry ()
 
void writeProductDescriptionRegistry ()
 
void writeParentageRegistry ()
 
void writeBranchIDListRegistry ()
 
void writeProductDependencies ()
 
void writeFileCatalogMetadata (FileStatsCollector const &stats, FileCatalogMetadata::collection_type const &, FileCatalogMetadata::collection_type const &)
 
void writeResults (ResultsPrincipal &resp)
 
void setRunAuxiliaryRangeSetID (RangeSet const &)
 
void setSubRunAuxiliaryRangeSetID (RangeSet const &)
 
void finishEndFile ()
 
void beginInputFile (FileBlock const &, bool fastClone)
 
void incrementInputFileNumber ()
 
void respondToCloseInputFile (FileBlock const &)
 
bool requestsToCloseFile ()
 
void setFileStatus (OutputFileStatus const ofs)
 
void selectProducts (FileBlock const &)
 
std::string const & currentFileName () const
 
bool maxEventsPerFileReached (FileIndex::EntryNumber_t const maxEventsPerFile) const
 
bool maxSizeReached (unsigned const maxFileSize) const
 
template<BranchType BT>
std::enable_if_t
<!RangeSetsSupported< BT >
::value, art::EDProduct const * > 
getProduct (art::OutputHandle const &oh, art::RangeSet const &, std::string const &wrappedName)
 
template<BranchType BT>
std::enable_if_t
< RangeSetsSupported< BT >
::value, art::EDProduct const * > 
getProduct (art::OutputHandle const &oh, art::RangeSet const &prunedProductRS, std::string const &wrappedName)
 

Detailed Description

An output module which allows specifying the output filename exactly. Used for testing (file -> /dev/null, etc)

Definition at line 65 of file RootDAQOutFile.h.

Member Enumeration Documentation

Possible modes for when to close a file

Definition at line 71 of file RootDAQOutFile.h.


The documentation for this class was generated from the following files: