30 m_dstToMatLayer(1000.),
33 m_pseudoVertex(nullptr){}
36 double mass,
double energyFraction,
int n2trackvertices,
double energyTrkInJet,
37 const std::vector<const Trk::TrackParticleBase*> & badTracks):
38 VxSecVertexInfo(vertices),
40 m_energyFraction(energyFraction),
41 m_energyTrkInJet(energyTrkInJet),
42 m_dstToMatLayer(1000.),
43 m_n2trackvertices(n2trackvertices),
45 m_pseudoVertex(nullptr)
47 std::vector<const Trk::TrackParticleBase*>::const_iterator badTracksBegin=badTracks.begin();
48 std::vector<const Trk::TrackParticleBase*>::const_iterator badTracksEnd=badTracks.end();
50 for (std::vector<const Trk::TrackParticleBase*>::const_iterator badTracksIter=badTracksBegin;
51 badTracksIter!=badTracksEnd;++badTracksIter) {
54 m_badTracksTP.push_back(link);
60 double mass,
double energyFraction,
int n2trackvertices,
double energyTrkInJet,
61 const std::vector<const xAOD::IParticle*> & badTracks):
62 VxSecVertexInfo(vertices),
64 m_energyFraction(energyFraction),
65 m_energyTrkInJet(energyTrkInJet),
66 m_dstToMatLayer(1000.),
67 m_n2trackvertices(n2trackvertices),
69 m_pseudoVertex(nullptr)
71 std::vector<const xAOD::IParticle*>::const_iterator badTracksBegin=badTracks.begin();
72 std::vector<const xAOD::IParticle*>::const_iterator badTracksEnd=badTracks.end();
74 for (std::vector<const xAOD::IParticle*>::const_iterator badTracksIter=badTracksBegin;
75 badTracksIter!=badTracksEnd;++badTracksIter) {
84 double mass,
double energyFraction,
int nBigImpTrk,
85 const std::vector<const xAOD::IParticle*> & badTracks):
88 m_energyFraction(energyFraction),
90 m_dstToMatLayer(1000.),
92 m_nBigImpTracks(nBigImpTrk),
95 std::vector<const xAOD::IParticle*>::const_iterator badTracksBegin=badTracks.begin();
96 std::vector<const xAOD::IParticle*>::const_iterator badTracksEnd=badTracks.end();
98 for (std::vector<const xAOD::IParticle*>::const_iterator badTracksIter=badTracksBegin;
99 badTracksIter!=badTracksEnd;++badTracksIter) {
131 std::vector<const Trk::TrackParticleBase*> vectorOfTP;
133 std::vector<ElementLink<Trk::TrackParticleBaseCollection> >::const_iterator badTracksBegin=
m_badTracksTP.begin();
134 std::vector<ElementLink<Trk::TrackParticleBaseCollection> >::const_iterator badTracksEnd=
m_badTracksTP.end();
137 badTracksIter!=badTracksEnd;++badTracksIter) {
138 if ((*badTracksIter).isValid()) {
139 if (**badTracksIter!=
nullptr) {
140 vectorOfTP.push_back(**badTracksIter);
150 std::vector<const xAOD::IParticle*> vectorOfIP;
152 std::vector<ElementLink<xAOD::IParticleContainer> >::const_iterator badTracksBegin=
m_badTracksIP.begin();
153 std::vector<ElementLink<xAOD::IParticleContainer> >::const_iterator badTracksEnd=
m_badTracksIP.end();
156 badTracksIter!=badTracksEnd;++badTracksIter) {
157 if ((*badTracksIter).isValid()) {
158 if (**badTracksIter!=
nullptr) {
159 vectorOfIP.push_back(**badTracksIter);
174 badTracksIter!=badTracksEnd;++badTracksIter) {
175 (*badTracksIter).setStorableObject(*trkpartTES);
186 badTracksIter!=badTracksEnd;++badTracksIter) {
187 (*badTracksIter).setStorableObject(*ipartTES);