|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "GaudiKernel/MsgStream.h"
53 log << MSG::WARNING <<
"MuonCalibTriggerTypeHelper::addEntry -> invalid trigger type" <<
endmsg;
56 std::vector<int> bits;
64 log << MSG::WARNING <<
"MuonCalibTriggerTypeHelper::addEntry -> invalid trigger type" <<
endmsg;
79 std::vector<int> bits;
81 for (
int i = 30;
i <= 45; ++
i) bits.push_back(
i);
86 for (
int i = 46;
i <= 61; ++
i) bits.push_back(
i);
101 m_type(
type), m_tbpbit(0), m_tapbit(0), m_tavbit(0), m_delay(
delay), m_bcIndex(0) {}
104 m_type(
UNKNOWNTRIGGERTYPE), m_tbpbit(tbpbit), m_tapbit(tapbit), m_tavbit(tavbit), m_delay(0.), m_bcIndex(bcIndex) {}
113 for (;
it != it_end; ++
it) {
114 log << MSG::INFO <<
"index " <<
index++ <<
" type " <<
it->second <<
" nbits " <<
it->first.size() <<
" bits " <<
endmsg;
115 for (
unsigned int i = 0;
i <
it->first.size(); ++
i) {
log << MSG::INFO <<
" " <<
it->first[
i] <<
endmsg; }
static bool validType(MuonCalibTriggerType type)
check whether type is valid
static void addEntry(MuonCalibTriggerType type, int bit, const std::string &name)
singleton-like access to IMessageSvc via open function and helper
static void dumpMapping()
dump mapping
IMessageSvc * getMessageSvc(bool quiet=false)
static bool isRpcTrigger(MuonCalibTriggerType type)
check whether type is valid
static std::vector< std::pair< std::vector< int >, std::string > > m_typeToBitAndStringMapping
MuonCalibTriggerType
enum for all trigger type
MuonCalibTriggerInfo()
default constructor
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
double delay(std::size_t d)
static std::vector< int > triggerBits(MuonCalibTriggerType type)
get trigger bit for a given type
static std::string itemName(MuonCalibTriggerType type)
get trigger bit for a given type
static bool isLVL1CaloTrigger(MuonCalibTriggerType type)
check whether type is valid
static bool isTgcTrigger(MuonCalibTriggerType type)
check whether type is valid
static bool isMbtsTrigger(MuonCalibTriggerType type)
check whether type is valid