|
ATLAS Offline Software
|
Go to the documentation of this file.
19 EMTauInputProvider::EMTauInputProvider(
const std::string&
type,
const std::string&
name,
20 const IInterface*
parent) :
24 declareInterface<LVL1::IInputTOBConverter>(
this );
25 declareProperty(
"EmTauROILocation",
m_emTauLocation,
"Storegate key for the EMTAU info from CMX" );
38 return StatusCode::SUCCESS;
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;
106 constexpr
double TwoPI = 2 *
M_PI;
109 eta = coordRange.
eta();
110 phi = coordRange.
phi();
111 if( phi >
M_PI ) phi -= TwoPI;
Group
Properties of a chain group.
double phi() const
return phi
void setOverflowFromEmtauInput(bool v)
const std::string & key() const
Return the StoreGate ID for the referenced object.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
CoordinateRange class declaration.
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
bool overflow() const
Return overflow flag.
double eta() const
return eta
A level 1 calorimeter trigger conversion service: returns the Coordinate represented by a RoI word.
#define ATH_MSG_WARNING(x)
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
void tobs(std::vector< CPTopoTOB > &tobs) const
Fill a vector of TOBs.
Declare a monitored scalar variable.
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]