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...
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<> >
 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  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...

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.
template<typename T >
void printProcessHistoryID (const std::string &label, const T &object)
 Print the processHistoryID from the object.
template<typename T >
void printProcessMap (const T &mappable, const std::string description)
 Print data from a map-like class.

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 
) [inline]

Print the processHistoryID from the object.

Template Parameters:
T Type of the object
Parameters:
label Label for the object
object Object to print processHistoryID from

Definition at line 93 of file InputUtilities.hh.

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

Print data from a map-like class.

Template Parameters:
T Type of the class
Parameters:
mappable Map-like class to print
description Description of the map-like class

Definition at line 115 of file InputUtilities.hh.

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

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

Template Parameters:
T The type of the data being read
Parameters:
infile A pointer to the TBufferFile being read
className Name of the class to retrieve (must be in ROOT dictionary)
callerName Name of the calling class, for logging purposes
Returns:
Pointer to object of type T

Definition at line 59 of file InputUtilities.hh.


Generated on 27 Jan 2018 for artdaq by  doxygen 1.6.1