#include <EMTauInputProvider.h>
Definition at line 16 of file EMTauInputProvider.h.
◆ EMTauInputProvider()
EMTauInputProvider::EMTauInputProvider |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
Definition at line 19 of file EMTauInputProvider.cxx.
24 declareInterface<LVL1::IInputTOBConverter>(
this );
25 declareProperty(
"EmTauROILocation",
m_emTauLocation,
"Storegate key for the EMTAU info from CMX" );
◆ ~EMTauInputProvider()
EMTauInputProvider::~EMTauInputProvider |
( |
| ) |
|
|
virtual |
◆ CalculateCoordinates()
void EMTauInputProvider::CalculateCoordinates |
( |
int32_t |
roiWord, |
|
|
double & |
eta, |
|
|
double & |
phi |
|
) |
| const |
|
private |
◆ fillTopoInputEvent()
this will be the new format https://indico.cern.ch/conferenceDisplay.py?confId=284687 Electron ROI: | 0 0 1 0 | 2b Crate | 4b CPM Num | 3b CPChip | 3b Local coords | 0 0 0 | 5b electron isolation/veto | 8b electron energy | Tau ROI: | 0 0 1 1 | 2b Crate | 4b CPM Num | 3b CPChip | 3b Local coords | 0 0 0 | 5b tau isolation/veto | 8b tau energy |
Definition at line 42 of file EMTauInputProvider.cxx.
55 if( !emtau.isValid() ) {
57 return StatusCode::RECOVERABLE;
60 ATH_MSG_DEBUG(
"Filling the input event. Number of emtau topo data objects: " << emtau->size());
62 for(
auto iTopoData = emtau->rbegin(); iTopoData != emtau->rend(); ++iTopoData) {
66 std::vector< CPTopoTOB > tobs;
68 ATH_MSG_DEBUG(
"Emtau topo data object has # TOBs: " << tobs.size());
70 ATH_MSG_DEBUG(
"EMTAU TOB with cmx = " << tob.cmx() <<
"[" << (tob.cmx()==0?
"EM":
"TAU") <<
"]"
71 <<
" : e = " << setw(3) << tob.et() <<
", isolation " << tob.isolation()
72 <<
", eta = " << setw(2) << tob.eta() <<
", phi = " << tob.phi()
73 <<
", ieta = " << setw(2) << tob.ieta() <<
", iphi = " << tob.iphi()
74 <<
", word = " << hex << tob.roiWord() << dec
78 cl.setEtaDouble( tob.eta() );
79 cl.setPhiDouble( tob.phi() );
100 return StatusCode::SUCCESS;
◆ initialize()
StatusCode EMTauInputProvider::initialize |
( |
| ) |
|
|
virtual |
◆ m_emTauLocation
◆ m_monTool
The documentation for this class was generated from the following files: