artdaq  v3_02_00
art Namespace Reference

Namespace used for classes that interact directly with art. More...

Classes

class  ArtdaqInput
 This template class provides a unified interface for reading data into art. More...
 
class  BinaryFileOutput
 The BinaryFileOutput module streams art Events to a binary file, bypassing ROOT. More...
 
class  BinaryNetOutput
 An art::OutputModule which sends Fragments using DataSenderManager. This module produces output identical to that of a BoardReader, for use in systems which have multiple layers of EventBuilders. More...
 
struct  Source_generator< ArtdaqInput< NetMonWrapper > >
 Trait definition (must precede source typedef). More...
 
class  NetMonWrapper
 This class wraps NetMonTransportService so that it can act as an ArtdaqInput template class. More...
 
struct  Source_generator< artdaq::detail::SharedMemoryReader< artdaq::Fragment::MakeSystemTypeMap > >
 Specialize an art source trait to tell art that we don't care about source.fileNames and don't want the files services to be used. More...
 
class  RootDAQOut
 
class  RootDAQOutFile
 An output module which allows specifying the output filename exactly. Used for testing (file -> /dev/null, etc) More...
 
class  RootNetOutput
 An art::OutputModule which sends events using DataSenderManager. This module is designed for transporting Fragment-wrapped art::Events after they have been read into art, for example between the EventBuilder and the Aggregator. More...
 
struct  Source_generator< ArtdaqInput< artdaq::TransferWrapper > >
 Trait definition (must precede source typedef). More...
 
class  TransferOutput
 An art::OutputModule which sends events using DataSenderManager. This module is designed for transporting Fragment-wrapped art::Events after they have been read into art, for example between the EventBuilder and the Aggregator. More...
 
struct  ServicesSchedulerConfig
 
struct  ServicesConfig
 
struct  AnalyzersConfig
 
struct  ProducersConfig
 Artdaq does not provide any producers. More...
 
struct  FiltersConfig
 
struct  PhysicsConfig
 
struct  RootOutputConfig
 
struct  OutputsConfig
 
struct  SourceConfig
 
struct  Config
 

Typedefs

typedef art::Source
< ArtdaqInput< NetMonWrapper > > 
NetMonInput
 NetMonInput is an art::Source using an ArtdaqInput-wrapped NetMonWrapper.
 
typedef art::Source
< ArtdaqInput
< artdaq::TransferWrapper > > 
TransferInput
 TransferInput is an art::Source using the artdaq::TransferWrapper class as the data source.
 

Functions

template<typename T >
T * ReadObjectAny (const std::unique_ptr< TBufferFile > &infile, const std::string &className, const std::string &callerName)
 ReadObjectAny reads data from a TBufferFile and casts it to the given type. More...
 
template<typename T >
void printProcessHistoryID (const std::string &label, const T &object)
 Print the processHistoryID from the object. More...
 
template<typename T >
void printProcessMap (const T &mappable, const std::string description)
 Print data from a map-like class. More...
 

Detailed Description

Namespace used for classes that interact directly with art.

Function Documentation

template<typename T >
void art::printProcessHistoryID ( const std::string &  label,
const T &  object 
)

Print the processHistoryID from the object.

Template Parameters
TType of the object
Parameters
labelLabel for the object
objectObject to print processHistoryID from

Definition at line 92 of file InputUtilities.hh.

template<typename T >
void art::printProcessMap ( const T &  mappable,
const std::string  description 
)

Print data from a map-like class.

Template Parameters
TType of the class
Parameters
mappableMap-like class to print
descriptionDescription of the map-like class

Definition at line 114 of file InputUtilities.hh.

template<typename T >
T* art::ReadObjectAny ( const std::unique_ptr< TBufferFile > &  infile,
const std::string &  className,
const std::string &  callerName 
)

ReadObjectAny reads data from a TBufferFile and casts it to the given type.

Template Parameters
TThe type of the data being read
Parameters
infileA pointer to the TBufferFile being read
classNameName of the class to retrieve (must be in ROOT dictionary)
callerNameName of the calling class, for logging purposes
Returns
Pointer to object of type T

Definition at line 58 of file InputUtilities.hh.