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);
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; }
int m_tavbit
trig bit after veto
MuonCalibTriggerInfo()
default constructor
int m_bcIndex
trig bc Index
MuonCalibTriggerType type() const
destructor
MuonCalibTriggerType m_type
type
int bcIndex() const
return the bcIndex of the trigger
double m_delay
delay of signal wrt firing trigger
int m_tbpbit
trig bit before pre-scale
int m_tapbit
trig bit after pre-scale
double delay() const
return the delay of the signal wrt firing trigger
static std::vector< std::pair< std::vector< int >, std::string > > m_typeToBitAndStringMapping
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 isMbtsTrigger(MuonCalibTriggerType type)
check whether type is valid
static bool isTgcTrigger(MuonCalibTriggerType type)
check whether type is valid
static std::vector< int > triggerBits(MuonCalibTriggerType type)
get trigger bit for a given type
static bool validType(MuonCalibTriggerType type)
check whether type is valid
static void dumpMapping()
dump mapping
static void addEntry(MuonCalibTriggerType type, int bit, const std::string &name)
static bool isRpcTrigger(MuonCalibTriggerType type)
check whether type is valid
singleton-like access to IMessageSvc via open function and helper
IMessageSvc * getMessageSvc(bool quiet=false)
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
MuonCalibTriggerType
enum for all trigger type