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); }

◆ 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.

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 }

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

Referenced by vertices().

◆ 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.

179  {
180  return vertices(trks);
181 }

References hltEgammaHLTExtra_cfi::trks, and vertices().

Member Data Documentation

◆ theNSigma

double MultiVertexBSeeder::theNSigma
private

Definition at line 22 of file MultiVertexBSeeder.h.

runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:542
mps_fire.i
i
Definition: mps_fire.py:428
Cluster1D
Definition: Cluster1D.h:13
HLT_FULL_cff.finder
finder
Definition: HLT_FULL_cff.py:51935
MultiVertexBSeeder::theNSigma
double theNSigma
Definition: MultiVertexBSeeder.h:22
GlobalTrajectoryParameters
Definition: GlobalTrajectoryParameters.h:15
OutermostClusterizer1D
Definition: OutermostClusterizer1D.h:20
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
res
Definition: Electron.h:6
metsig::jet
Definition: SignAlgoResolutions.h:47
MultiVertexBSeeder::MultiVertexBSeeder
MultiVertexBSeeder(double nsigma=50.)
Definition: MultiVertexBSeeder.cc:176
hltEgammaHLTExtra_cfi.trks
trks
Definition: hltEgammaHLTExtra_cfi.py:43
MultiVertexBSeeder::vertices
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &) const override
Definition: MultiVertexBSeeder.cc:183