![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef FAKEBKGTOOLS_DATABASE_H
6 #define FAKEBKGTOOLS_DATABASE_H
101 #if __cplusplus >= 201402L
102 return std::equal(ptr, endptr, s, s+std::strlen(s));
116 void set(
const char* newptr,
const char* newendptr) { *
this =
StringRef(newptr, newendptr); }
118 std::string
trim()
const;
170 const std::bitset<N_EFFICIENCY_TYPES>
affects;
205 template<
typename ReturnValue,
typename...
Args>
209 static constexpr
unsigned short maxIndex() {
return 0x4000; }
213 template<
typename ReturnValue>
214 static inline ReturnValue
getAttribute(
const StringRef& attr,
const char*
ref, ReturnValue
rv);
215 template<
typename ReturnValue,
typename...
Args>
219 static constexpr
unsigned short indexFromUID(
unsigned short uid) {
return uid&0x3FFF; }
222 static constexpr
bool isSystUID(
unsigned short uid) {
return ((uid&0xC000) == 0x4000); }
223 static constexpr
bool isStatUID(
unsigned short uid) {
return ((uid&0xC000) == 0x8000); }
251 std::map<int, std::vector<EfficiencyTable>>
m_tables;
bool const RAWDATA *ch2 const
Class providing the definition of the 4-vector interface.
void contents(std::vector< std::string > &keys, TDirectory *td, const std::string &directory, const std::string &pattern, const std::string &path)
std::string to_string(const DetectorType &type)
Class describing the basic event information.
const boost::regex ref(r_ef)
setBGCode setTAP setLVL2ErrorBits bool