48 {
51 return StatusCode::SUCCESS;
52 }
53
54 SG::ReadHandle<xAOD::eFexEMRoIContainer> eEM_EDM(
m_eEM_EDMKey);
56
57 for(const auto it : * eEM_EDM){
61 << " et: "
63 << " etTOB: "
65 << " eta: "
67 << " phi: "
69 << " iEtaTopo: "
71 << " iPhiTopo: "
73 << " reta: "
75 << " rhad: "
77 << " wstot: "
79 );
80
81
82 unsigned int EtTopo = eFexRoI->
etTOB();
88
89
90 TCS::eEmTOB eem( EtTopo, etaTopo,
static_cast<unsigned int>(phiTopo),
TCS::EEM ,
static_cast<long int>(eFexRoI->
word0()) );
94 eem.setReta( reta );
95 eem.setRhad( rhad );
96 eem.setWstot( wstot );
97
99
100 auto mon_hEmEt = Monitored::Scalar("eEmTOBEt", eem.EtDouble());
101 auto mon_hEmREta = Monitored::Scalar("eEmTOBREta", eem.Reta());
102 auto mon_hEmRHad = Monitored::Scalar("eEmTOBRHad", eem.Rhad());
103 auto mon_hEmWsTot = Monitored::Scalar("eEmTOBWsTot", eem.Wstot());
104 auto mon_hEmPhi = Monitored::Scalar("eEmTOBPhi", eem.phi());
105 auto mon_hEmEta = Monitored::Scalar("eEmTOBEta", eem.eta());
106 Monitored::Group(
m_monTool, mon_hEmEt, mon_hEmREta, mon_hEmRHad, mon_hEmWsTot, mon_hEmPhi, mon_hEmEta);
107
108 }
109
110 return StatusCode::SUCCESS;
111}
#define ATH_CHECK
Evaluate an expression and check for errors.
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)
eFexEMRoI_v1 eFexEMRoI
Define the latest version of the eFexEMRoI class.
setEt setPhi setE277 setWeta2 setEta1 setE2tsts1 wstot