![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
19 if (this->
initialize(log) != StatusCode::SUCCESS) {
46 throw std::runtime_error(
"RIO_OnTrackCnv_p2::persToTrans - matrix has unexpected size of "+
std::to_string (
size)+
"!");
54 log << MSG::WARNING<<
"Unable to reset DetEl for this RIO_OnTrack, "
55 <<
"probably because of a problem with the Identifier/IdentifierHash : ("
62 throw std::runtime_error(
"RIO_OnTrackCnv_p1::transToPers is deprecated!");
70 ISvcLocator* svcLocator = Gaudi::svcLocator();
75 return StatusCode::FAILURE;
80 sc = svcLocator->service(
"DetectorStore",
detStore);
83 return StatusCode::FAILURE;
93 return StatusCode::FAILURE;
98 return StatusCode::SUCCESS;
bool is_shortened_pixel_id(Identifier32::value_type val) const
Test if this is a valid shortened pixel channel id.
StatusCode initialize(MsgStream &log)
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...
static void vectorToEigenMatrix(VECTOR &vec, COVARIANCE &cov, const char *)
Helper fn to fill the covariance from the raw data (vec<float>)
The Athena Transient Store API.
virtual void transToPers(const Trk::RIO_OnTrack *transObj, Trk::RIO_OnTrack_p1 *persObj, MsgStream &log)
virtual void persToTrans(const Trk::RIO_OnTrack_p1 *persObj, Trk::RIO_OnTrack *transObj, MsgStream &log)
::StatusCode StatusCode
StatusCode definition for legacy code.
LocalParameters m_localParams
ErrorMatrixCnv_p1 * m_errorMxCnv
std::string to_string(const DetectorType &type)
ToolHandle< Trk::IEventCnvSuperTool > m_eventCnvTool
virtual IdentifierHash idDE() const =0
returns the DE hashID
Amg::MatrixX m_localCovariance
Identifier m_identifier
Identifier of the RIO_OnTrack (comes from the associated Trk::PrepRawData)
LocalParametersCnv_p1 * m_localParCnv
virtual Identifier identify() const final
return the identifier -extends MeasurementBase
StoreGateSvc * m_storeGate
virtual const TrkDetElementBase * detectorElement() const =0
returns the detector element, assoicated with the PRD of this class
Identifier pixel_id_from_shortened(Identifier32::value_type val) const
Create a compact pixel id from a (fixed format) legacy pixel channel id.