|
ATLAS Offline Software
|
Definition at line 28 of file TrackHandle_TruthTrack.cxx.
◆ Imp()
◆ addPars()
◆ createTrack()
void TrackHandle_TruthTrack::Imp::createTrack |
( |
Trk::TrackStates * |
trackStateOnSurfaces | ) |
|
|
inline |
Definition at line 101 of file TrackHandle_TruthTrack.cxx.
103 if (!trackStateOnSurfaces) {
104 VP1Msg::messageDebug(
"TrackHandle_TruthTrack WARNING: Could not create track due to null TSOS vector");
107 if (trackStateOnSurfaces->
empty()) {
108 VP1Msg::messageDebug(
"TrackHandle_TruthTrack WARNING: Could not create track due to empty TSOS vector");
109 delete trackStateOnSurfaces;
114 delete trackStateOnSurfaces;
119 std::unique_ptr<Trk::TrackStates> sink(trackStateOnSurfaces);
◆ createTrkParamFromDecayVertex()
◆ createTrkPerigeeFromProdVertex()
◆ createTSOS()
◆ ensureInitAscObjs()
void TrackHandle_TruthTrack::Imp::ensureInitAscObjs |
( |
| ) |
|
◆ ensureInitTrkTracks()
void TrackHandle_TruthTrack::Imp::ensureInitTrkTracks |
( |
| ) |
|
Definition at line 157 of file TrackHandle_TruthTrack.cxx.
166 bool decayedGenParticle = useGenParticle &&
genParticle->end_vertex();
167 bool useSimHits = !decayedGenParticle && !
simHitList.empty();
169 if (!useGenParticle&&!useSimHits) {
170 VP1Msg::message(
"TrackHandle_TruthTrack ERROR: Track has neither a genparticle or sim. hits!!");
175 VP1Msg::message(
"TrackHandle_TruthTrack ERROR: Could not determine particle charge (pdg="
183 if (useGenParticle) {
186 if (decayedGenParticle) {
199 addPars(trackStateOnSurfaces,
it->second->createTrackParameters());
◆ ascObjs
◆ ascObjVis
bool TrackHandle_TruthTrack::Imp::ascObjVis |
◆ genParticle
◆ simBarCode
SimBarCode TrackHandle_TruthTrack::Imp::simBarCode |
◆ simHitList
SimHitList TrackHandle_TruthTrack::Imp::simHitList |
◆ theclass
◆ trkTrack
The documentation for this class was generated from the following file:
JetConstituentVector::iterator iterator
Contains information about the 'fitter' of this track.
TrackHandle_TruthTrack * theclass
void createTrack(Trk::TrackStates *trackStateOnSurfaces)
ParametersT< TrackParametersDim, Charged, PerigeeSurface > Perigee
static Trk::TrackParameters * createTrkParamFromDecayVertex(HepMC::ConstGenParticlePtr p, const double &charge)
static void addPars(Trk::TrackStates *dv, Trk::TrackParameters *pars)
void registerAssocObject(AssociatedObjectHandleBase *)
Trackhandle assumes ownership.
DataVector< const Trk::TrackStateOnSurface > TrackStates
std::vector< AscObj_TruthPoint * > * ascObjs
Eigen::Affine3d Transform3D
HepMC::ConstGenParticlePtr genParticle
static Trk::Perigee * createTrkPerigeeFromProdVertex(HepMC::ConstGenParticlePtr p, const double &charge)
virtual Trk::ParticleHypothesis extrapolationParticleHypothesis() const
Default implementation of this next method bases hypothesis on pdgCode() and charge():
represents the track state (measurement, material, fit parameters and quality) at a surface.
Eigen::Matrix< double, 3, 1 > Vector3D
virtual int pdgCode() const
0 means unknown
static void messageDebug(const QString &)
static void message(const QString &, IVP1System *sys=0)
ParametersT< TrackParametersDim, Charged, PlaneSurface > AtaPlane
Eigen::Translation< double, 3 > Translation3D
const HepMC::GenVertex * ConstGenVertexPtr
bool empty() const noexcept
Returns true if the collection is empty.
static Trk::TrackStateOnSurface * createTSOS(Trk::TrackParameters *pars)
const Trk::Track * trkTrack
@ Unknown
Track fitter not defined.