NAIA  1.1.1
Public Member Functions | Public Attributes | List of all members
NAIA::FileInfo Class Reference

Container class for processed File information. More...

#include <Containers/FileInfo.h>

Inheritance diagram for NAIA::FileInfo:

Public Member Functions

void Clear ()
 Clear container content. More...
 
void Dump () const
 Dump on screen container content. More...
 
 ClassDef (FileInfo, 1)
 

Public Attributes

unsigned int Run = 0
 Run number. More...
 
unsigned int NEvents = 0
 Total number of processed events. More...
 
std::pair< unsigned int, unsigned int > UTCTime {0, 0}
 First and last second of this run. More...
 
std::pair< unsigned int, unsigned int > EventNo {0, 0}
 First and last event of this run. More...
 
std::string FileName {""}
 Name of the processed file. More...
 
int BadRunTag = 0
 If this is a bad run, the tag as returned by AMSSetupR::IsBadRun. More...
 
std::string BadRunReason {""}
 If this is a bad run, the reason as returned by AMSSetupR::IsBadRun. More...
 

Detailed Description

Container class for processed File information.

This class holds info about the original AMSRoot file from which the NAIA file was derived

Definition at line 23 of file FileInfo.h.

Member Function Documentation

◆ ClassDef()

NAIA::FileInfo::ClassDef ( FileInfo  ,
 
)

◆ Clear()

void NAIA::FileInfo::Clear ( )

Clear container content.

Definition at line 6 of file FileInfo.cpp.

References BadRunReason, BadRunTag, EventNo, FileName, NEvents, Run, and UTCTime.

◆ Dump()

void NAIA::FileInfo::Dump ( ) const

Dump on screen container content.

Definition at line 15 of file FileInfo.cpp.

References EventNo, FileName, NEvents, Run, and UTCTime.

Member Data Documentation

◆ BadRunReason

std::string NAIA::FileInfo::BadRunReason {""}

If this is a bad run, the reason as returned by AMSSetupR::IsBadRun.

Definition at line 44 of file FileInfo.h.

Referenced by Clear().

◆ BadRunTag

int NAIA::FileInfo::BadRunTag = 0

If this is a bad run, the tag as returned by AMSSetupR::IsBadRun.

Definition at line 43 of file FileInfo.h.

Referenced by Clear().

◆ EventNo

std::pair<unsigned int, unsigned int> NAIA::FileInfo::EventNo {0, 0}

First and last event of this run.

Definition at line 40 of file FileInfo.h.

Referenced by Clear(), and Dump().

◆ FileName

std::string NAIA::FileInfo::FileName {""}

Name of the processed file.

Definition at line 41 of file FileInfo.h.

Referenced by Clear(), and Dump().

◆ NEvents

unsigned int NAIA::FileInfo::NEvents = 0

Total number of processed events.

Definition at line 38 of file FileInfo.h.

Referenced by Clear(), and Dump().

◆ Run

unsigned int NAIA::FileInfo::Run = 0

Run number.

Definition at line 37 of file FileInfo.h.

Referenced by Clear(), and Dump().

◆ UTCTime

std::pair<unsigned int, unsigned int> NAIA::FileInfo::UTCTime {0, 0}

First and last second of this run.

Definition at line 39 of file FileInfo.h.

Referenced by Clear(), and Dump().


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