|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "CLHEP/Units/SystemOfUnits.h"
25 declareInterface<IDataRetriever>(
this);
26 declareProperty(
"readJEM",
m_readJEM=
false,
"If 'true' reads low-level ROI data from L1Calo hardware. False by default");
37 (
m_readJEM ?
" from JEMRoIs (ACR) " :
" JetROI (LVL1_ROI) ") <<
endmsg;
53 return StatusCode::SUCCESS;
59 LVL1_ROI::jets_type::const_iterator itJET = (roi->
getJetROIs()).
begin();
60 LVL1_ROI::jets_type::const_iterator itJETe = (roi->
getJetROIs()).
end();
64 for (; itJET != itJETe; ++itJET)
66 phi.push_back(
DataType( itJET->getPhi()));
67 eta.push_back(
DataType( itJET->getEta()));
86 return StatusCode::SUCCESS;
93 for(;roi_it!=roi_end;++roi_it) {
97 auto fixphi = [] (
double phi)
121 myDataMap[
"energy"] =
energy;
122 myDataMap[
"phi"] = phi;
123 myDataMap[
"eta"] = eta;
124 myDataMap[
"energy"] =
energy;
125 myDataMap[
"roiWord"] =
roiWord;
constexpr float roiPhi(const AnyRoIPointer &roi)
decoder
def channelSelection(self, channelList, groupType): if groupType == self.SingleGroup: pass elif group...
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
A level 1 calorimeter trigger conversion service: returns the Coordinate represented by a RoI word.
std::vector< DataType > DataVect
Defines a map with a key and a vector of DataType objects e.g.
JetROIRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
bool msgLvl(const MSG::Level lvl) const
setTeId setLumiBlock setRoiId setRoiSubsystem setRoiNumber roiEta
std::map< std::string, DataVect > DataMap
bool m_maskLowerThresholds
const jets_type & getJetROIs() const
Get all the jet RoIs in the event.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
CoordinateRange class declaration.
int hits() const
Return Jet hit map (8 bits Main or 4 bits Forward)
::StatusCode StatusCode
StatusCode definition for legacy code.
Top level AOD object storing LVL1 RoIs.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
virtual std::string dataTypeName() const
Return the name of the data type.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
uint32_t roiWord() const
Return packed RoI word.
size_type size() const noexcept
Returns the number of elements in the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.