|
ATLAS Offline Software
|
Go to the documentation of this file.
17 if (this->
initialize(log) != StatusCode::SUCCESS) {
47 log << MSG::WARNING<<
"Unable to reset DetEl for this RIO_OnTrack, "
48 <<
"probably because of a problem with the Identifier/IdentifierHash : ("
55 if (transObj==
nullptr or persObj==
nullptr)
return;
89 ISvcLocator* svcLocator = Gaudi::svcLocator();
90 SmartIF<StoreGateSvc>
detStore{svcLocator->service(
"DetectorStore")};
94 return StatusCode::SUCCESS;
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
void transToPers(const InDet ::PixelClusterOnTrack *transObj, InDet ::PixelClusterOnTrack_p2 *persObj, MsgStream &log)
virtual IdentifierHash idDE() const override
returns the DE hashID*
ElementLinkInt_p1 m_prdLink
Link to PRD.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
ErrorMatrixCnv_p1 * m_errorMxCnv
value_type get_compact() const
Get the compact id.
StatusCode initialize(MsgStream &log)
Trk::PrepRawDataContainer< PixelClusterCollection > PixelClusterContainer
LocalParametersCnv_p1 * m_localParCnv
const std::string & key() const
Return the StoreGate ID for the referenced object.
ElementLinkCnv_p1< ElementLinkToIDCPixelClusterContainer > m_elCnv
float energyLoss() const
returns the energy loss in MeV associated to this cluster.
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
Convert persistent object, stored in the the top-level persistent object and referenced by the TP Ref...
bool m_hasClusterAmbiguity
static void vectorToEigenMatrix(VECTOR &vec, COVARIANCE &cov, const char *)
Helper fn to fill the covariance from the raw data (vec<float>)
bool isBroadCluster() const
bool hasClusterAmbiguity() const
returns whether there was an ambiguity associated with this pixel cluster.
virtual const InDetDD::SiDetectorElement * detectorElement() const override final
returns the detector element, assoicated with the PRD of this class
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
static void eigenMatrixToVector(VECTOR &vec, COVARIANCE &cov, const char *)
Helper fn to get raw data (vec<float>) from the covariance.
const Amg::MatrixX & localCovariance() const
Interface method to get the localError.
TPObjRef toPersistent(CNV **cnv, const typename CNV::TransBase_t *transObj, MsgStream &log) const
Persistify an object and store the persistent represenation in the storage vector of the top-level pe...
Helpers for checking error return status codes and reporting errors.
IdentifierHash::value_type m_idDE
void persToTrans(const InDet ::PixelClusterOnTrack_p2 *persObj, InDet ::PixelClusterOnTrack *transObj, MsgStream &log)
ReadHandleKey that initializes during construction.
std::vector< float > values
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
bool isFake() const
returns whether this cluster is likely to be the fake mirror image of a ganged pixel.
Identifier pixel_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int phi_index, int eta_index) const
For an individual pixel.
Identifier identify() const
return the identifier -extends MeasurementBase
ToolHandle< Trk::IEventCnvSuperTool > m_eventCnvTool