![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
11 #include "CaloDetDescr/CaloDetDescrElement.h"
31 m_calocell_id(nullptr)
34 declareInterface<IDataRetriever>(
this);
36 declareInterface<IDataRetriever>(
this);
57 return StatusCode::SUCCESS;
80 return StatusCode::SUCCESS;
99 DataVect feedThrough; feedThrough.reserve(cellContainer->
size());
113 ATH_MSG_ERROR(
"in getBadLArData(),Could not get LArOnlineID!" );
124 if( !(*it1)->badcell() )
continue;
130 HWIdentifier LArhwid =
cabling->createSignalChannelIDFromHash((*it1)->caloDDE()->calo_hash());
132 energyGeV = (*it1)->energy()*(1./
GeV);
133 if (energyGeV == 0) energyGeV = 0.001;
153 DataMap[
"feedThrough"] = feedThrough;
157 <<
" retrieved with " <<
phi.size() <<
" entries" );
IDENTIFIER_TYPE value_type
char data[hepevt_bytes_allocation_ATLAS]
Const iterator class for DataVector/DataList.
Scalar phi() const
phi method
Scalar eta() const
pseudorapidity method
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
int slot(const HWIdentifier id) const
Return the slot number of a hardware cell identifier: slot = [1,15] Slot-ID in top part of the crat...
const DataMap getBadLArData(const CaloCellContainer *cellContainer)
Retrieve LAr bad cell location and details.
const CaloCell_ID * m_calocell_id
const std::string & key() const
Return the StoreGate ID for the referenced object.
std::map< std::string, DataVect > DataMap
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
BadLArRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
std::vector< HWIdentifier >::iterator it1
::StatusCode StatusCode
StatusCode definition for legacy code.
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?
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
StatusCode initialize(bool used=true)
Wrapper to avoid constant divisions when using units.
SG::ReadHandleKey< CaloCellContainer > m_sgKey
for properties
Container class for CaloCell.
virtual std::string dataTypeName() const
Return the name of the data type.
int feedthrough(const HWIdentifier id) const
Return the feedthrough of a hardware cell identifier : feedthrough = [0,31] Barrel - A/C side or H/...
#define ATH_MSG_WARNING(x)
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
CaloCellContainer::const_iterator endConstCalo(CaloCell_ID::SUBCALO caloNum) const
size_type size() const noexcept
Returns the number of elements in the collection.
StatusCode initialize()
Default AthAlgTool methods.