All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IOVDataConstants.h
Go to the documentation of this file.
1 #ifndef IOVDATA_CONSTANTS_H
2 #define IOVDATA_CONSTANTS_H
3 
4 #include <string>
5 #include <math.h>
6 
7 namespace lariov {
8 
9  const std::string kTREE_PREFIX = "iov";
10 
11  const unsigned short kMAX_SUBSTAMP_LENGTH = 6;
12  const unsigned int kMAX_SUBSTAMP_VALUE = ((unsigned int)pow(10,kMAX_SUBSTAMP_LENGTH)) - 1;
13 
14  namespace DataSource {
15  enum ds {Database, File, Default};
16  }
17 }
18 #endif
const std::string kTREE_PREFIX
const unsigned int kMAX_SUBSTAMP_VALUE
DataSource
Is this data-file representing beam spills or cosmic spills?
const unsigned short kMAX_SUBSTAMP_LENGTH