|
ATLAS Offline Software
|
Go to the documentation of this file.
22 if (this->
initialize(log) != StatusCode::SUCCESS) {
49 throw std::runtime_error(
"RIO_OnTrackCnv_p2::persToTrans - matrix has unexpected size of "+
std::to_string (
size)+
"!");
57 log << MSG::WARNING<<
"Unable to reset DetEl for this RIO_OnTrack, "
58 <<
"probably because of a problem with the Identifier/IdentifierHash : ("
65 throw std::runtime_error(
"RIO_OnTrackCnv_p1::transToPers is deprecated!");
72 SmartIF<StoreGateSvc>
detStore(Gaudi::svcLocator()->service(
"DetectorStore"));
78 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>)
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.
#define CHECK(...)
Evaluate an expression and check for errors.
LocalParameters m_localParams
ErrorMatrixCnv_p1 * m_errorMxCnv
std::string to_string(const DetectorType &type)
ToolHandle< Trk::IEventCnvSuperTool > m_eventCnvTool
Helpers for checking error return status codes and reporting errors.
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)
Identifier identify() const
return the identifier -extends MeasurementBase
LocalParametersCnv_p1 * m_localParCnv
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.