NAIA  1.0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Member Functions | Static Public Attributes | List of all members
NAIA::Header Class Reference

Accessor class for event Header info. More...

#include <Containers/Header.h>

Inheritance diagram for NAIA::Header:
NAIA::OnDemandContainer< Header > NAIA::HeaderData

Public Member Functions

 Header ()
 
- Public Member Functions inherited from NAIA::OnDemandContainer< Header >
 OnDemandContainer ()=default
 
void LoadEvent ()
 Wrapper to call GetEntry on the underlying TBranch. More...
 
void SetTreeEntry (unsigned long long treeEntry)
 Set the TTree entry number. More...
 
void Branch (TTree *tree)
 Create the TBranch associated with this container. More...
 
void MirrorBranch (TTree *targetTree, const Header *sourceContainer)
 Create a TBranch associated with this container mirroring from an existing container. More...
 
void SetBranchAddress (TTree *tree)
 Setup reading of the data container. More...
 
void DisableIO () const
 Disables I/O for this container. It won't be written on disk and trying to read it will cause an exception. More...
 
Headeroperator-> ()
 Access operator. Use this to access container data More...
 
- Public Member Functions inherited from NAIA::HeaderData
bool CheckMask (Category cat) const
 Check if event mask contains the given event category. More...
 
void SetMaskCategory (Category cat)
 Set the event mask (used only internally) More...
 
Category Mask () const
 Get the event Mask. More...
 
void Clear ()
 Clear container content. More...
 
void Dump () const
 Dump on screen container content. More...
 

Static Public Attributes

static const std::string BranchName = "HeaderData"
 

Additional Inherited Members

- Public Attributes inherited from NAIA::HeaderData
unsigned int Run = 0
 The current run. More...
 
unsigned int RunTag = 0
 The current run tag. More...
 
unsigned int EventNo = 0
 The current event number. More...
 
unsigned int UTCTime = 0
 UTC time (in seconds) of current event. More...
 

Detailed Description

Accessor class for event Header info.

Wrapper implementing read-on-demand behavior for DAQ data.

Definition at line 86 of file Header.h.

Constructor & Destructor Documentation

NAIA::Header::Header ( )
inline

Definition at line 90 of file Header.h.

Member Data Documentation

const std::string NAIA::Header::BranchName = "HeaderData"
static

Definition at line 88 of file Header.h.


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