16#include "GaudiKernel/MsgStream.h"
24 if ((RoIWord&0xf0000000)==0) {
25 unsigned int coord = ((RoIWord&0x0fff0000)<<2);
26 unsigned int hits = (RoIWord&0x0000ffff);
30 cout <<
"EMTau RoI type not incorrect. Return RoIWord unmodified" << endl;
55 cout <<
"JetEnergy RoI type not recognised. Return RoIWord unmodified" << endl;
69 else if (subType == 1) {
72 else if (subType == 2) {
86 unsigned int hits = (RoIWord&0x00000fff);
87 unsigned int fwdjet(0);
88 if (RoIWord&0x00000f00) fwdjet = 1<<18;
96 unsigned int frame = 4*(col>>1) + (row>>1);
97 unsigned int rl = 2*(row%2) + (col%2);
98 unsigned int coord = (crate<<9) + (jem<<5) +(frame<<2) + rl;
108 unsigned int hits = (RoIWord&0x0000000f);
114 unsigned int Ex = (RoIWord&0x0000ffff);
120 unsigned int hits = (RoIWord&0x000f0000);
121 unsigned int Ey = (RoIWord&0x0000ffff);
127 unsigned int hits = (RoIWord&0x00ff0000);
128 unsigned int Et = (RoIWord&0x0000ffff);
static unsigned int getValue(const unsigned int *uintValue, const unsigned int mask)
get the value in the input word represented by a bit pattern given as a bitmask
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...