1 #ifndef _fdet_FdUpTimeFileManager_h_
2 #define _fdet_FdUpTimeFileManager_h_
4 #include <det/ValidityStamp.h>
111 const std::string& componentProperty,
112 const std::string& componentName,
113 const IndexMap& componentIndex)
const;
116 const std::string& componentProperty,
117 const std::string& componentName,
118 const IndexMap& componentIndex)
const
119 {
return GetOkFlag(returnData, componentProperty, componentName, componentIndex); }
121 void Init(
const std::string& configLink);
127 const std::string& componentProperty,
128 const std::string& componentName,
129 const IndexMap& componentIndex)
const;
132 const std::string& componentProperty,
133 const std::string& componentName,
134 const IndexMap& componentIndex)
const;
137 const std::string& componentProperty,
138 const std::string& componentName,
139 const IndexMap& componentIndex)
const;
142 const std::string& componentProperty,
143 const std::string& componentName,
144 const IndexMap& componentIndex)
const;
188 typedef std::map<unsigned int, IndexVector>
Index;
std::vector< IndexRecord > IndexVector
std::map< int, double > fCDASVetoFraction
ChannelInfo(unsigned int v, unsigned int t, unsigned int b)
std::vector< std::string > fFileList
Class to hold collection (x,y) points and provide interpolation between them.
VMANAGER_GETDATA_HANDLE_DENIED int fVerbosity
double fCDASUpTimeFraction
std::pair< IndexEntry, UpTimePeriod > IndexRecord
Interface for detector managers.
int GetChannelIndex(const IndexMap &componentIndex) const
std::map< unsigned int, IndexVector > Index
Status GetVetoFraction(double &returnData, const std::string &componentProperty, const std::string &componentName, const IndexMap &componentIndex) const
FdUpTimeFileManager()=default
std::vector< UpTimePeriod >::const_iterator fUpTimeVectorIterator
std::pair< unsigned int, unsigned int > IndexEntry
Class to hold collection (x,y) points and provide interpolation between them, where y are complex num...
static const double fgSearchMapBinning
virtual ~FdUpTimeFileManager()=default
Index::iterator IndexIterator
virtual Status GetData(double &returnData, const std::string &componentProperty, const std::string &componentName, const IndexMap &componentIndex) const
#define VMANAGER_GETDATA_HANDLE_DENIED
std::map< int, double > fEyeUpTimeFraction
Class to manage Fd UpTime ROOT files.
int GetEyeIndex(const IndexMap &componentIndex) const
void Init(const std::string &configLink)
Manager Initialization. configLink is the CentralConfig hook for the configuration file...
std::vector< std::string >::const_iterator fRootFileIterator
Index::const_iterator ConstIndexIterator
std::vector< UpTimePeriod > fUpTimeVector
Status GetChannelData(double &returnData, const std::string &componentProperty, const std::string &componentName, const IndexMap &componentIndex) const
std::map< std::string, std::string > IndexMap
unsigned short fThreshold
std::map< int, int > fTelescopeStatus
det::ValidityStamp fDataValidity
std::map< int, std::vector< ChannelInfo > > fChannelInfo
std::map< int, double > fFDASVetoFraction
std::map< int, double > fTelescopeUpTimeFraction
IndexVector::const_iterator IndexVectorIterator
Object to keep track of whether data are valid, or have expired.
int GetTelIndex(const IndexMap &componentIndex) const
bool operator<(const UpTimePeriod &x) const
#define VMANAGER_GETDATA_NOTFOUND(_T_...)
Status
Specifies success or (eventually) various possible failure modes.
Status GetUpTimeFraction(double &returnData, const std::string &componentProperty, const std::string &componentName, const IndexMap &componentIndex) const
std::map< int, int > fEyeStatus
static const unsigned int kNPixelPerTel
virtual Status GetData(int &returnData, const std::string &componentProperty, const std::string &componentName, const IndexMap &componentIndex) const
Status GetOkFlag(int &returnData, const std::string &componentProperty, const std::string &componentName, const IndexMap &componentIndex) const