CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
NuclearVertexBuilder Class Reference

#include <NuclearVertexBuilder.h>

Classes

class  cmpTracks
 

Public Member Functions

void addSecondaryTrack (const reco::TrackRef &secTrack)
 
void build (const reco::TrackRef &primaryTrack, std::vector< reco::TrackRef > &secondaryTrack)
 
ClosestApproachInRPhiclosestApproach (const reco::TrackRef &primTrack, const reco::TrackRef &secTrack) const
 
reco::Vertex getVertex () const
 
bool isCompatible (const reco::TrackRef &secTrack) const
 
 NuclearVertexBuilder (const MagneticField *mag, const TransientTrackBuilder *transientTkBuilder, const edm::ParameterSet &iConfig)
 

Private Member Functions

void checkEnergy (const reco::TrackRef &primTrack, std::vector< reco::TrackRef > &tC) const
 
void cleanTrackCollection (const reco::TrackRef &primTrack, std::vector< reco::TrackRef > &tC) const
 
bool FillVertexWithAdaptVtxFitter (const reco::TrackRef &primTrack, const std::vector< reco::TrackRef > &secTracks)
 
bool FillVertexWithCrossingPoint (const reco::TrackRef &primTrack, const std::vector< reco::TrackRef > &secTracks)
 
void FillVertexWithLastPrimHit (const reco::TrackRef &primTrack, const std::vector< reco::TrackRef > &secTracks)
 
FreeTrajectoryState getTrajectory (const reco::TrackRef &track) const
 
bool isGoodSecondaryTrack (const reco::TrackRef &primTrack, const reco::TrackRef &secTrack) const
 
bool isGoodSecondaryTrack (const reco::TrackRef &secTrack, const reco::TrackRef &primTrack, const double &distOfClosestApp, const GlobalPoint &crossPoint) const
 

Private Attributes

double chi2Cut_
 
double DPtovPtCut_
 
double minDistFromPrim_
 
double minDistFromVtx_
 
double shareFrac_
 
reco::Vertex the_vertex
 
const MagneticFieldtheMagField
 
const TransientTrackBuildertheTransientTrackBuilder
 

Detailed Description

Definition at line 16 of file NuclearVertexBuilder.h.

Constructor & Destructor Documentation

NuclearVertexBuilder::NuclearVertexBuilder ( const MagneticField mag,
const TransientTrackBuilder transientTkBuilder,
const edm::ParameterSet iConfig 
)
inline

Definition at line 19 of file NuclearVertexBuilder.h.

19  :
20  theMagField(mag),
21  theTransientTrackBuilder(transientTkBuilder),
22  minDistFromPrim_( iConfig.getParameter<double>("minDistFromPrimary") ),
23  chi2Cut_(iConfig.getParameter<double>("chi2Cut")),
24  DPtovPtCut_(iConfig.getParameter<double>("DPtovPtCut")),
25  minDistFromVtx_(iConfig.getParameter<double>("minDistFromVtx")),
26  shareFrac_(iConfig.getParameter<double>("shareFrac")){}
T getParameter(std::string const &) const
const TransientTrackBuilder * theTransientTrackBuilder
const MagneticField * theMagField

Member Function Documentation

void NuclearVertexBuilder::addSecondaryTrack ( const reco::TrackRef secTrack)

Definition at line 190 of file NuclearVertexBuilder.cc.

void NuclearVertexBuilder::build ( const reco::TrackRef primaryTrack,
std::vector< reco::TrackRef > &  secondaryTrack 
)

Definition at line 10 of file NuclearVertexBuilder.cc.

void NuclearVertexBuilder::checkEnergy ( const reco::TrackRef primTrack,
std::vector< reco::TrackRef > &  tC 
) const
private

Definition at line 271 of file NuclearVertexBuilder.cc.

void NuclearVertexBuilder::cleanTrackCollection ( const reco::TrackRef primTrack,
std::vector< reco::TrackRef > &  tC 
) const
private

Definition at line 199 of file NuclearVertexBuilder.cc.

ClosestApproachInRPhi * NuclearVertexBuilder::closestApproach ( const reco::TrackRef primTrack,
const reco::TrackRef secTrack 
) const

Definition at line 119 of file NuclearVertexBuilder.cc.

bool NuclearVertexBuilder::FillVertexWithAdaptVtxFitter ( const reco::TrackRef primTrack,
const std::vector< reco::TrackRef > &  secTracks 
)
private

Definition at line 57 of file NuclearVertexBuilder.cc.

bool NuclearVertexBuilder::FillVertexWithCrossingPoint ( const reco::TrackRef primTrack,
const std::vector< reco::TrackRef > &  secTracks 
)
private

Definition at line 88 of file NuclearVertexBuilder.cc.

void NuclearVertexBuilder::FillVertexWithLastPrimHit ( const reco::TrackRef primTrack,
const std::vector< reco::TrackRef > &  secTracks 
)
private

Definition at line 45 of file NuclearVertexBuilder.cc.

FreeTrajectoryState NuclearVertexBuilder::getTrajectory ( const reco::TrackRef track) const
private

Definition at line 27 of file NuclearVertexBuilder.cc.

reco::Vertex NuclearVertexBuilder::getVertex ( ) const
inline

Definition at line 29 of file NuclearVertexBuilder.h.

References the_vertex.

29 { return the_vertex; }
bool NuclearVertexBuilder::isCompatible ( const reco::TrackRef secTrack) const

Definition at line 164 of file NuclearVertexBuilder.cc.

bool NuclearVertexBuilder::isGoodSecondaryTrack ( const reco::TrackRef primTrack,
const reco::TrackRef secTrack 
) const
private

Definition at line 130 of file NuclearVertexBuilder.cc.

bool NuclearVertexBuilder::isGoodSecondaryTrack ( const reco::TrackRef secTrack,
const reco::TrackRef primTrack,
const double &  distOfClosestApp,
const GlobalPoint crossPoint 
) const
private

Definition at line 139 of file NuclearVertexBuilder.cc.

Member Data Documentation

double NuclearVertexBuilder::chi2Cut_
private

Definition at line 56 of file NuclearVertexBuilder.h.

double NuclearVertexBuilder::DPtovPtCut_
private

Definition at line 57 of file NuclearVertexBuilder.h.

double NuclearVertexBuilder::minDistFromPrim_
private

Definition at line 55 of file NuclearVertexBuilder.h.

double NuclearVertexBuilder::minDistFromVtx_
private

Definition at line 58 of file NuclearVertexBuilder.h.

double NuclearVertexBuilder::shareFrac_
private

Definition at line 59 of file NuclearVertexBuilder.h.

reco::Vertex NuclearVertexBuilder::the_vertex
private

Definition at line 50 of file NuclearVertexBuilder.h.

Referenced by getVertex().

const MagneticField* NuclearVertexBuilder::theMagField
private

Definition at line 53 of file NuclearVertexBuilder.h.

const TransientTrackBuilder* NuclearVertexBuilder::theTransientTrackBuilder
private

Definition at line 54 of file NuclearVertexBuilder.h.