|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include "CaloDetDescr/CaloDetDescrElement.h"
39 m_calocell_id(nullptr)
42 declareInterface<IDataRetriever>(
this);
59 return StatusCode::SUCCESS;
78 return StatusCode::SUCCESS;
93 DataVect energyVec; energyVec.reserve(cellContainer->
size());
103 if( !(*it1)->badcell() )
continue;
106 energyGeV = (*it1)->energy()*(1./
GeV);
109 phi.emplace_back((*it1)->phi());
110 eta.emplace_back((*it1)->eta());
116 DataMap[
"phi"] = std::move(phi);
117 DataMap[
"eta"] = std::move(eta);
119 DataMap[
"id"] = std::move(idVec);
120 DataMap[
"energy"] = std::move(energyVec);
134 m_sub.emplace_back(2);
136 m_sub.emplace_back(3);
141 m_sub.emplace_back(0);
143 m_sub.emplace_back(5);
149 m_sub.emplace_back(1);
151 m_sub.emplace_back(4);
char data[hepevt_bytes_allocation_ATLAS]
Const iterator class for DataVector/DataList.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::vector< DataType > DataVect
Defines a map with a key and a vector of DataType objects e.g.
CaloCellContainer::const_iterator beginConstCalo(CaloCell_ID::SUBCALO caloNum) const
get const iterators on cell of just one calo
StatusCode initialize()
Default AthAlgTool methods.
const std::string & key() const
Return the StoreGate ID for the referenced object.
std::map< std::string, DataVect > DataMap
bool is_tile_barrel(const Identifier id) const
test if the id belongs to the Tiles barrel
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
const CaloCell_ID * m_calocell_id
void calcTILELayerSub(Identifier &)
std::vector< HWIdentifier >::iterator it1
::StatusCode StatusCode
StatusCode definition for legacy code.
bool is_tile_extbarrel(const Identifier id) const
test if the id belongs to the Tiles extended barrel
const DataMap getBadTileData(const CaloCellContainer *cellContainer)
Retrieve Tile bad cell location and details.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
SG::ReadHandleKey< CaloCellContainer > m_sgKey
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Wrapper to avoid constant divisions when using units.
Container class for CaloCell.
virtual std::string dataTypeName() const
Return the name of the data type.
#define ATH_MSG_WARNING(x)
bool is_tile_negative(const Identifier id) const
test if the id belongs to the Tiles negative side
CaloCellContainer::const_iterator endConstCalo(CaloCell_ID::SUBCALO caloNum) const
unsigned long long value_type
size_type size() const noexcept
Returns the number of elements in the collection.
BadTileRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.