NAIA  1.0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
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

NAIA::FileInfo::ClassDef ( FileInfo  ,
 
)
void NAIA::FileInfo::Clear ( )

Clear container content.

Definition at line 6 of file FileInfo.cpp.

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

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

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

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

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

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

Name of the processed file.

Definition at line 41 of file FileInfo.h.

Referenced by Clear(), and Dump().

unsigned int NAIA::FileInfo::NEvents = 0

Total number of processed events.

Definition at line 38 of file FileInfo.h.

Referenced by Clear(), and Dump().

unsigned int NAIA::FileInfo::Run = 0

Run number.

Definition at line 37 of file FileInfo.h.

Referenced by Clear(), and Dump().

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: