|
ATLAS Offline Software
|
Go to the documentation of this file.
34 if (this->
initialize(log) != StatusCode::SUCCESS) {
39 std::vector<Identifier> rdoList;
40 rdoList.reserve( persObj->
m_rdoList.size() );
41 for (
unsigned int id : persObj->
m_rdoList) {
46 rdoList.emplace_back (
id);
49 transObj->
rdoList (std::move(rdoList));
73 const std::vector<Identifier>& rdoList = transObj->
rdoList();
75 persObj->
m_rdoList.reserve( rdoList.size() );
77 persObj->
m_rdoList.push_back (
id.get_identifier32().get_compact());
86 ISvcLocator* svcLocator = Gaudi::svcLocator();
91 return StatusCode::FAILURE;
96 sc = svcLocator->service(
"DetectorStore",
detStore);
99 return StatusCode::FAILURE;
107 if (
sc.isFailure()) {
109 return StatusCode::FAILURE;
114 return StatusCode::SUCCESS;
void StrawTime(const int NSTime)
void param(const TrigInDetTrackFitPar *param)
int NStrawTime() const
Number of TRT straws with valid drift time intersected by track.
StatusCode initialize(MsgStream &log)
void chi2(const double chi2)
void TRHits(const int NTR)
int NStraw() const
Number of TRT straws intersected by track.
bool is_shortened_pixel_id(Identifier32::value_type val) const
Test if this is a valid shortened pixel channel id.
The Athena Transient Store API.
::StatusCode StatusCode
StatusCode definition for legacy code.
ITPConverterFor< TrigInDetTrackFitPar > * m_fpCnv
void NPixelSpacePoints(const int n)
void NSCT_SpacePoints(const int n)
int NStrawHits() const
Number of TRT hits associated with track.
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...
void StrawHits(const int NSHits)
int NTRHits() const
Number of high-threshold TRT hits associated with track.
void endParam(const TrigInDetTrackFitPar *param)
void setPixelID(const PixelID *pixId)
void algorithmId(const AlgoId id)
const std::vector< Identifier > & rdoList() const
RDOs associated with track.
std::vector< unsigned int > m_rdoList
void HitPattern(const long hp)
Hit pattern setter method.
virtual void persToTrans(const TrigInDetTrack_p4 *, TrigInDetTrack *, MsgStream &)
virtual void transToPers(const TrigInDetTrack *, TrigInDetTrack_p4 *, MsgStream &)
Identifier pixel_id_from_shortened(Identifier32::value_type val) const
Create a compact pixel id from a (fixed format) legacy pixel channel id.
CNV::Trans_t * createTransFromPStore(CNV **cnv, const TPObjRef &ref, MsgStream &log) const
Create transient representation of a persistent object, stored in the the top-level persistent object...
StoreGateSvc * m_storeGate