34 (
const std::string&
type,
35 const std::string& name,
36 const IInterface* parent)
41 "Getter for the association object.");
50 CHECK( Base::initialize() );
55 return StatusCode::SUCCESS;
85 orig (
"originalTrackParticle");
117 REPORT_MESSAGE (MSG::WARNING) <<
"Can't find GSF track association.";
124 if (beg != end && beg.isValid())
129 <<
"Can't find original track for GSF refitted track.";
bool isValid(const T &p)
Av: we implement here an ATLAS-sepcific convention: all particles which are 99xxxxx are fine.
Helpers for checking error return status codes and reporting errors.
#define REPORT_MESSAGE(LVL)
Report a message.
#define CHECK(...)
Evaluate an expression and check for errors.
Associate from a TrackParticle to the default Perigees for both itself and the original track (if it ...
asso_iterator beginAssociation(const object_type *objectPointer) const
begin iterator for associations
AssociationVectorIterator asso_iterator
asso_iterator endAssociation(const object_type *objectPointer) const
end iterator for associations
const Rec::TrackParticle & findOldtrack(const Rec::TrackParticle &track)
Find the original track corresponding to a possibly refitted track.
virtual void releaseObject(const D3PD::PerigeePair *p)
Release an object retrieved from the association.
virtual const D3PD::PerigeePair * get(const Rec::TrackParticle &p)
Return the target object.
virtual StatusCode initialize()
Standard Gaudi initialize method.
SingleAssociationTool< Types< Rec::TrackParticle, xAOD::TrackParticle >, D3PD::PerigeePair > Base
TrackParticlePerigeePairAtOOAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
ToolHandle< IObjGetterTool > m_assocGetter
Property: Getter for the association object.
SG::Accessor< T, ALLOC > Accessor
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
@ GaussianSumFilter
Tracks from Gaussian Sum Filter.
const Perigee * perigee() const
Attempts to cast the definingParameters() to Perigee.
Block filler tool for noisy FEB information.
TrackParticle_v1 TrackParticle
Reference the current persistent version: