41 return StatusCode::SUCCESS;
49 unsigned int maskcopy;
53 while ( ( maskcopy & 0x00000001 ) == 0 ) {
54 maskcopy = maskcopy >> 1;
67 std::vector<int> outOfTimeRpc, outOfTimeTgc;
68 std::vector<float> etaRoI, phiRoI;
83 ATH_CHECK(wh_roiCollection.
record(std::make_unique<TrigRoiDescriptorCollection>()));
84 auto roiColl = wh_roiCollection.
ptr();
90 return StatusCode::SUCCESS;
92 for(
auto it : roiVectors->outOfTimeRois){
105 ATH_MSG_DEBUG(
"=================================================");
109 unsigned int sysID = 0;
110 if( temp_sysID & 0
x2 ) sysID = 1;
111 else if( temp_sysID & 0
x1 ) sysID = 2;
114 if ( sysID == 0 ) outOfTimeRpc.push_back((
it).
second);
115 else outOfTimeTgc.push_back((
it).
second);
122 }
else if ( sysID == 1 ){
131 double eta = roiData.
eta();
132 double phi = roiData.
phi();
133 etaRoI.push_back(
eta);
134 phiRoI.push_back(
phi);
137 double etamax =
eta + 0.2;
145 auto roiDescriptor =
new TrigRoiDescriptor( ((
it).
first).roIWord(), 0,
roi_id,
eta,
etamin, etamax,
phi, phimin, phimax,0,-255,255);
146 roiColl->push_back(roiDescriptor);
153 return StatusCode::SUCCESS;