|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   24 #ifndef TrigConf_L1PSNumber 
   25 #define TrigConf_L1PSNumber 
   48       bool validate(
const int nn, 
const unsigned int mm,
 
   49                     const unsigned int dd, 
const int ss);
 
   50       void setInt64(
const int64_t tmpLong);
 
   52       static int64_t 
makeLong(
unsigned int n, 
unsigned int m, 
unsigned int d);
 
   64                  unsigned const int dd, 
const int ss);
 
   67       static int64_t 
encodeNMD(
const int nn, 
const unsigned int mm,
 
   68                                const unsigned int dd);
 
   72       unsigned int getN()
 const { 
return m_n; };
 
   73       unsigned int getM()
 const { 
return m_m; };
 
   74       unsigned int getD()
 const { 
return m_d; };
 
  
static const int s_auxLength
float getFloatPrescale() const
unsigned int getN() const
static const uint32_t MMASK
static const unsigned int s_psAuxValues[79][2]
Help array containing the allowed MD combinations (for N=1).
void setInt64(const int64_t tmpLong)
Sets the N,M,D values from a Int64_t prescale value.
Forward iterator to traverse the main components of the trigger configuration.
unsigned int getM() const
static const uint32_t DMASK
std::string write()
Writes nicely the ps value.
static int64_t encodeNMD(const int nn, const unsigned int mm, const unsigned int dd)
Returns INT64_T prescale number with the correct sign as it is stored in DB.
static int64_t decodeFloat(const float psF)
Calculates the NMD combination nearest to psF.
static const uint32_t NMASK
unsigned int getD() const
bool validate(const int nn, const unsigned int mm, const unsigned int dd, const int ss)
Checks whether the m_n,m_m,m_d combination is valid, i.e.
static int64_t makeLong(unsigned int n, unsigned int m, unsigned int d)
Returns the POSITIVE int64_t of 3 ints.