|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef TRIGT1CTP_CTPUTIL_H
7 #define TRIGT1CTP_CTPUTIL_H
52 static int getMult(
uint64_t word,
unsigned int startbit,
unsigned int endbit );
53 static int getMuonMult(
const std::vector<unsigned int>&
words,
unsigned int startbit,
unsigned int endbit );
54 static int getOptMult( std::bitset<128> bits,
unsigned int startbit,
unsigned int endbit );
57 static unsigned int getMultTopo(
uint64_t word,
unsigned int startbit,
unsigned int endbit,
unsigned int clock );
60 static unsigned int alignBits(
int value,
int startbit,
int endbit );
61 static unsigned int createMask(
int startbit,
int endbit );
68 static std::string
printHex(
const std::vector<uint32_t>& rhs,
const std::string&
delimiter =
",");
74 #endif // TRIGT1CTP_CTPUTIL_H
static unsigned int createMask(int startbit, int endbit)
create mask
static int getJetMult(unsigned int word, int threshold)
get Jet multiplicty in legacy mode
static int getFJetMult(unsigned int word, int threshold)
get Forward Jet multiplicty in legacy mode
static int getTMMult(unsigned int word, int threshold)
get missing Et multiplicty in legacy mode
Class grouping useful functions together.
Namespace of the LVL1 RoIB simulation.
static int getMult(uint64_t word, unsigned int startbit, unsigned int endbit)
extract multiplicities using new trigger configuration interface
static std::string printHex(const std::vector< uint32_t > &rhs, const std::string &delimiter=",")
print vector in hex format
static std::bitset< 256 > convertToBitset(const std::vector< uint32_t > &words)
convert list of words into bitset
static int getEMTMult(unsigned int word, int threshold)
get EmTau multiplicty in legacy mode
static int getOptMult(std::bitset< 128 > bits, unsigned int startbit, unsigned int endbit)
static int getJetEMult(unsigned int word, int threshold)
get Jet Energy multiplicty in legacy mode
static int getMuonMult(unsigned int word, int threshold)
get Muon multiplicty in legacy mode
static std::bitset< 512 > convertToLargeBitset(const std::vector< uint32_t > &words)
convert list of words into bitset
static int getETMult(unsigned int word, int threshold)
get transverse energy multiplicty in legacy mode
static unsigned int getMultTopo(uint64_t word, unsigned int startbit, unsigned int endbit, unsigned int clock)
extract multiplicities from Topo words, were the encoding is different
static unsigned int alignBits(int value, int startbit, int endbit)
align bits