#include <TriggerProcessorTool.h>
Definition at line 12 of file TriggerProcessorTool.h.
◆ TriggerProcessorTool()
NSWL1::TriggerProcessorTool::TriggerProcessorTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~TriggerProcessorTool()
virtual NSWL1::TriggerProcessorTool::~TriggerProcessorTool |
( |
| ) |
|
|
overridevirtualdefault |
◆ initialize()
StatusCode NSWL1::TriggerProcessorTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ mergeRDO()
Definition at line 18 of file TriggerProcessorTool.cxx.
22 ATH_MSG_DEBUG(
"------------- TriggerProcessorTool::mergeRDO ---------------------");
24 constexpr
bool HAS_PHI_RESOLUTION{
true};
25 constexpr
uint8_t SPARE_IS_PAD{1};
26 for (
const auto padTriggerData : *padTriggerContainer ) {
28 const char sectorSide = (padTriggerData->sideA()) ?
'A' :
'C';
29 auto trigRawData =
new Muon::NSW_TrigRawData(padTriggerData->getSecid(), sectorSide, padTriggerData->getBcid());
30 for (
size_t it = 0;
it < padTriggerData->getNumberOfTriggers(); ++
it) {
32 trigRawDataSegment->setRIndex(padTriggerData->getTriggerBandIds().at(
it));
33 trigRawDataSegment->setPhiIndex(padTriggerData->getTriggerPhiIds().at(
it));
34 trigRawDataSegment->setPhiRes(HAS_PHI_RESOLUTION);
35 trigRawDataSegment->setSpare(SPARE_IS_PAD);
36 trigRawData->push_back(trigRawDataSegment);
39 <<
"sectorSide=" << trigRawData->sectorSide() <<
" "
40 <<
"sectorId=" << trigRawData->sectorId() <<
" "
41 <<
"bcId=" << trigRawData->bcId());
42 for(
const auto seg : *trigRawData){
44 <<
"deltaTheta=" <<
static_cast<int16_t>(seg->deltaTheta()) <<
" "
45 <<
"phiIndex=" <<
static_cast<int16_t>(seg->phiIndex()) <<
" "
46 <<
"rIndex=" <<
static_cast<int16_t>(seg->rIndex()) <<
" "
47 <<
"spare=" <<
static_cast<int16_t>(seg->spare()) <<
" "
48 <<
"lowRes=" << seg->lowRes() <<
" "
49 <<
"phiRes=" << seg->phiRes() <<
" "
50 <<
"monitor=" << seg->monitor());
54 ATH_MSG_DEBUG(
"After PadTrigger filling -> NSW Trigger RDO size: " << trigRdoContainer->
size());
56 for (
const auto rawData : *stripTriggerContainer) {
59 <<
"sectorSide=" << trigRawData->
sectorSide() <<
" "
60 <<
"sectorId=" << trigRawData->
sectorId() <<
" "
61 <<
"bcId=" << trigRawData->
bcId());
62 for(
const auto seg : *trigRawData){
64 <<
"deltaTheta=" <<
static_cast<int16_t>(seg->deltaTheta()) <<
" "
65 <<
"phiIndex=" <<
static_cast<int16_t>(seg->phiIndex()) <<
" "
66 <<
"rIndex=" <<
static_cast<int16_t>(seg->rIndex()) <<
" "
67 <<
"spare=" <<
static_cast<int16_t>(seg->spare()) <<
" "
68 <<
"lowRes=" << seg->lowRes() <<
" "
69 <<
"phiRes=" << seg->phiRes() <<
" "
70 <<
"monitor=" << seg->monitor());
74 ATH_MSG_DEBUG(
"After sTGC strip trigger filling -> NSW Trigger RDO size: " << trigRdoContainer->
size());
76 for (
const auto rawData : *MMTriggerContainer) {
79 <<
"sectorSide=" << trigRawData->
sectorSide() <<
" "
80 <<
"sectorId=" << trigRawData->
sectorId() <<
" "
81 <<
"bcId=" << trigRawData->
bcId());
82 for(
const auto seg : *trigRawData){
84 <<
"deltaTheta=" <<
static_cast<int16_t>(seg->deltaTheta()) <<
" "
85 <<
"phiIndex=" <<
static_cast<int16_t>(seg->phiIndex()) <<
" "
86 <<
"rIndex=" <<
static_cast<int16_t>(seg->rIndex()) <<
" "
87 <<
"spare=" <<
static_cast<int16_t>(seg->spare()) <<
" "
88 <<
"lowRes=" << seg->lowRes() <<
" "
89 <<
"phiRes=" << seg->phiRes() <<
" "
90 <<
"monitor=" << seg->monitor());
94 ATH_MSG_DEBUG(
"After MMTrigger filling -> NSW Trigger RDO size: " << trigRdoContainer->
size());
96 return StatusCode::SUCCESS;
The documentation for this class was generated from the following files: