CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
MultiVertexBSeeder Class Reference

#include <MultiVertexBSeeder.h>

Inheritance diagram for MultiVertexBSeeder:
VertexReconstructor

Public Member Functions

MultiVertexBSeederclone () const override
 
 MultiVertexBSeeder (double nsigma=50.)
 
std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &) const override
 
std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &, const reco::BeamSpot &) const override
 
- Public Member Functions inherited from VertexReconstructor
 VertexReconstructor ()
 
virtual std::vector< TransientVertexvertices (const std::vector< reco::TransientTrack > &primaries, const std::vector< reco::TransientTrack > &tracks, const reco::BeamSpot &spot) const
 
virtual ~VertexReconstructor ()
 

Private Attributes

double theNSigma
 

Detailed Description

A good seeder for "B-jetty" setups (i.e. high-multiplicity, collimated track "bundles" with at least one secondary vertex )

Definition at line 12 of file MultiVertexBSeeder.h.

Constructor & Destructor Documentation

◆ MultiVertexBSeeder()

MultiVertexBSeeder::MultiVertexBSeeder ( double  nsigma = 50.)

Definition at line 176 of file MultiVertexBSeeder.cc.

176 : theNSigma(nsigma) {}

Member Function Documentation

◆ clone()

MultiVertexBSeeder * MultiVertexBSeeder::clone ( void  ) const
overridevirtual

Implements VertexReconstructor.

Definition at line 174 of file MultiVertexBSeeder.cc.

174 { return new MultiVertexBSeeder(*this); }
MultiVertexBSeeder(double nsigma=50.)

◆ vertices() [1/2]

vector< TransientVertex > MultiVertexBSeeder::vertices ( const std::vector< reco::TransientTrack > &  ) const
overridevirtual

Reconstruct vertices

Implements VertexReconstructor.

Definition at line 183 of file MultiVertexBSeeder.cc.

References HLT_2024v12_cff::finder, mps_fire::i, metsig::jet, runTheMatrix::ret, hltEgammaHLTExtra_cfi::trks, and trackerHitRTTI::vector.

Referenced by vertices().

183  {
184  vector<Cluster1D<reco::TransientTrack> > ips = computeIPs(trks);
185  /*
186  FsmwClusterizer1D < reco::TransientTrack > fsmw ( .4, theNSigma );
187  MultiClusterizer1D<reco::TransientTrack> finder ( fsmw );
188  */
190 
191  pair<vector<Cluster1D<reco::TransientTrack> >, vector<const reco::TransientTrack*> > res;
192  res = finder(ips);
193 #ifdef MVBS_DEBUG
194  // need to compute jet trajectory again :-(
195  GlobalTrajectoryParameters jet = computeJetTrajectory(trks);
196  map<string, harvest::MultiType> attrs;
197  attrs["point:mag"] = 0.75;
198  attrs["point:color"] = "blue";
199  attrs["point:name"] = "mode";
200  DebuggingHarvester("out.txt").save(res.first, jet, attrs, "mode");
201 #endif
202 
203  vector<TransientVertex> ret;
204  for (vector<Cluster1D<reco::TransientTrack> >::const_iterator i = res.first.begin(); i != res.first.end(); ++i) {
205  ret.push_back(pseudoVertexFit(*i,
206  i != res.first.begin(),
207  /* kalman fit*/ true));
208  }
209  return ret;
210 }
ret
prodAgent to be discontinued
Definition: Electron.h:6

◆ vertices() [2/2]

vector< TransientVertex > MultiVertexBSeeder::vertices ( const std::vector< reco::TransientTrack > &  t,
const reco::BeamSpot  
) const
overridevirtual

Reconstruct vertices, exploiting the beamspot constraint for the primary vertex

Reimplemented from VertexReconstructor.

Definition at line 178 of file MultiVertexBSeeder.cc.

References hltEgammaHLTExtra_cfi::trks, and vertices().

179  {
180  return vertices(trks);
181 }
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &) const override

Member Data Documentation

◆ theNSigma

double MultiVertexBSeeder::theNSigma
private

Definition at line 22 of file MultiVertexBSeeder.h.