  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
   26     declareInterface<IDataRetriever>(
this);
 
   46     if (not pixelDetEleHandle.
isValid() or elements==
nullptr) {
 
   48       return StatusCode::FAILURE;
 
   55       return StatusCode::RECOVERABLE;
 
   59     DataVect idVec,xVec,yVec,zVec,phiModuleVec,etaModuleVec;
 
   62     for (
const auto rdoCollection : *rdoContainer) {
 
   65       for (
const auto rdoData : *rdoCollection) {
 
   76         if (element == 
nullptr){
 
   77           ATH_MSG_WARNING( 
"Unable to obtain detector element for PixelRDO hit with id " << 
id );
 
   87           idVec.push_back(
DataType( 
id.get_compact() ));
 
   97     ATH_MSG_DEBUG( 
"Retrieved " << idVec.size() << 
" PixelRDO objects" );
 
  106     dataMap[
"phiModule"]=phiModuleVec;
 
  107     dataMap[
"etaModule"]=etaModuleVec;
 
  114       return StatusCode::RECOVERABLE;
 
  119     return StatusCode::SUCCESS;
 
  129     return StatusCode::SUCCESS;
 
  
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
 
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleTool
A tool handle to the SiLorentzAngleTool.
 
virtual std::string dataTypeName() const
Return the name of the data type.
 
Eigen::Matrix< double, 2, 1 > Vector2D
 
virtual StatusCode initialize()
Only retrieve geo tool in initialize.
 
std::vector< DataType > DataVect
Defines a map with a key and a vector of DataType objects e.g.
 
SG::ReadHandleKey< PixelRDO_Container > m_PixelRDOContainerName
The StoreGate key for the PixelRDO container.
 
const std::string & key() const
Return the StoreGate ID for the referenced object.
 
std::map< std::string, DataVect > DataMap
 
virtual IdentifierHash identifyHash() const override final
identifier hash (inline)
 
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
 
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
 
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
 
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
 
::StatusCode StatusCode
StatusCode definition for legacy code.
 
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
 
PixelRDORetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
 
const PixelID * m_pixelID
 
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.
 
int eta_module(const Identifier &id) const
 
StatusCode initialize(bool used=true)
 
Eigen::Matrix< double, 3, 1 > Vector3D
 
Amg::Vector2D rawLocalPositionOfCell(const SiCellId &cellId) const
Returns position (center) of cell.
 
#define ATH_MSG_WARNING(x)
 
HepGeom::Point3D< double > globalPosition(const HepGeom::Point3D< double > &localPos) const
transform a reconstruction local position into a global position (inline):
 
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
 
int phi_module(const Identifier &id) const
 
const SiDetectorElement * getDetectorElement(const IdentifierHash &hash) const
 
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey