TrigConf::L1PSNumber Class Reference
List of all members.
Public Member Functions |
| L1PSNumber (const float ps) |
| L1PSNumber (const int64_t ps) |
| L1PSNumber (const int ps) |
| L1PSNumber (const int nn, const unsigned int mm, unsigned const int dd, const int ss) |
std::string | write () |
unsigned int | getN () const |
unsigned int | getM () const |
unsigned int | getD () const |
int | getSign () const |
float | getFloatPrescale () const |
int64_t | getInt64 () const |
int | getInt32 () const |
Static Public Member Functions |
static int64_t | decodeFloat (const float psF) |
static int64_t | encodeNMD (const int nn, const unsigned int mm, const unsigned int dd) |
Constructor & Destructor Documentation
TrigConf::L1PSNumber::L1PSNumber |
( |
const float |
ps |
) |
|
TrigConf::L1PSNumber::L1PSNumber |
( |
const int64_t |
ps |
) |
|
Constructor, with 64 bit integer.
TrigConf::L1PSNumber::L1PSNumber |
( |
const int |
ps |
) |
|
Simple constructor, sets only int.
Member Function Documentation
int64_t TrigConf::L1PSNumber::decodeFloat |
( |
const float |
psF |
) |
[static] |
Calculates the NMD combination nearest to psF. Returns the int64_t representation of NMD.
int64_t TrigConf::L1PSNumber::encodeNMD |
( |
const int |
nn, |
|
|
const unsigned int |
mm, |
|
|
const unsigned int |
dd | |
|
) |
| | [static] |
Returns INT64_T prescale number with the correct sign as it is stored in DB.
std::string TrigConf::L1PSNumber::write |
( |
|
) |
|
Writes nicely the ps value.
The documentation for this class was generated from the following files:
- /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.30/TrigConfL1Data/TrigConfL1Data/L1PSNumber.h
- /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.30/TrigConfL1Data/Root/L1PSNumber.cxx