15#include "GaudiKernel/PhysicalConstants.h"
28 const IInterface* parent) :
31 declareInterface<LVL1::IInputTOBConverter>(
this );
44 return StatusCode::SUCCESS;
51 return StatusCode::SUCCESS;
57 for(
const auto it : * eEM_EDM){
82 unsigned int EtTopo = eFexRoI->
etTOB();
90 TCS::eEmTOB eem( EtTopo, etaTopo,
static_cast<unsigned int>(phiTopo),
TCS::EEM ,
static_cast<long int>(eFexRoI->
word0()) );
110 return StatusCode::SUCCESS;
118 return StatusCode::SUCCESS;
124 for(
const auto it : * eTau_EDM){
131 << eFexTauRoI->
etTOB()
147 unsigned int EtTopo = eFexTauRoI->
etTOB();
148 int etaTopo = eFexTauRoI->
iEtaTopo();
149 int phiTopo = eFexTauRoI->
iPhiTopo();
173 return StatusCode::SUCCESS;
180 return StatusCode::SUCCESS;
187 double TwoPI = 2 *
M_PI;
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define ATH_CHECK
Evaluate an expression and check for errors.
#define CHECK(...)
Evaluate an expression and check for errors.
A level 1 calorimeter trigger conversion service: returns the Coordinate represented by a RoI word.
CoordinateRange class declaration.
double phi() const
return phi
double eta() const
return eta
Group of local monitoring quantities and retain correlation when filling histograms
Declare a monitored scalar variable.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
void setPhiDouble(double phi)
unsigned int Rhad() const
unsigned int Reta() const
void setRhad(unsigned int th)
void setWstot(unsigned int th)
unsigned int Wstot() const
void setEtaDouble(double eta)
void setReta(unsigned int th)
void setEtDouble(double et)
void setRCore(unsigned int th)
unsigned int rHad() const
void setEtaDouble(double eta)
void setRHad(unsigned int th)
void setPhiDouble(double phi)
void setEtDouble(double et)
unsigned int rCore() const
float et() const
TOB ET (decoded from TOB, stored for convenience)
uint32_t word0() const
The "raw" 32-bit words describing the e/gamma candidate.
float eta() const
setter for the above
unsigned int eFexNumber() const
Methods to decode data from the TOB/RoI and return to the user.
unsigned int RetaThresholds() const
Jet Discriminant 1 (R_eta) results.
unsigned int WstotThresholds() const
Jet Discriminant 3 (W_stot) results.
float phi() const
Seed supercell index within central tower (0 -> 3)
unsigned int RhadThresholds() const
Jet Discriminant 2 (R_had) results.
unsigned int etTOB() const
Cluster ET (TOB ET scale, 100 MeV/count)
int iEtaTopo() const
Getter for integer phi index (0-63)
int iPhiTopo() const
Return phi index in the range used by L1Topo (0->127)
int iPhiTopo() const
Return phi index in the range used by L1Topo (0->127)
unsigned int eFexNumber() const
eFEX number
float et() const
TOB ET (decoded from TOB, stored for convenience)
float phi() const
Seed supercell index within central tower (0 -> 3)
unsigned int tauOneThresholds() const
Tau Condition 1 (generic) results.
unsigned int etTOB() const
Cluster ET (TOB ET scale, 100 MeV/count)
float eta() const
setter for the above
int iEtaTopo() const
Getter for integer phi index (0-63)
unsigned int tauTwoThresholds() const
Tau Condition 2 (generic) results.
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
eFexEMRoI_v1 eFexEMRoI
Define the latest version of the eFexEMRoI class.
eFexTauRoI_v1 eFexTauRoI
Define the latest version of the eFexTauRoI class.