21 if (this->
initialize(log) != StatusCode::SUCCESS) {
22 log << MSG::FATAL <<
"Could not initialize PixelClusterOnTrackCnv_p1 " <<
endmsg;
28 localCovariance.setZero();
69 ISvcLocator* svcLocator = Gaudi::svcLocator();
70 SmartIF<StoreGateSvc> detStore (svcLocator->service(
"DetectorStore"));
71 CHECK( detStore.isValid() );
74 return StatusCode::SUCCESS;
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
ElementLink< InDet::PixelClusterContainer > ElementLinkToIDCPixelClusterContainer
const ID_type & dataID() const
Get the key that we reference, as a string.
index_type index() const
Get the index of the element inside of its container.
TPObjRef baseToPersistent(CNV **cnv, const typename CNV::Trans_t *transObj, MsgStream &log) const
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
bool m_hasClusterAmbiguity
ElementLinkInt_p1 m_prdLink
Link to PRD.
Specific class to represent the pixel measurements.
const ElementLinkToIDCPixelClusterContainer & prepRawDataLink() const
bool isFake() const
returns whether this cluster is likely to be the fake mirror image of a ganged pixel.
bool hasClusterAmbiguity() const
returns whether there was an ambiguity associated with this pixel cluster.
float energyLoss() const
returns the energy loss in MeV associated to this cluster.
ElementLinkCnv_p1< ElementLinkToIDCPixelClusterContainer > m_elCnv
SiClusterOnTrackCnv_p1 * m_scCnv
StatusCode initialize(MsgStream &log)
void persToTrans(const InDet ::PixelClusterOnTrack_p1 *persObj, InDet ::PixelClusterOnTrack *transObj, MsgStream &log)
void transToPers(const InDet ::PixelClusterOnTrack *transObj, InDet ::PixelClusterOnTrack_p1 *persObj, MsgStream &log)
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.