1 #ifndef RecoParticleFlow_PFTracking_PFDisplacedVertexHelper_h
2 #define RecoParticleFlow_PFTracking_PFDisplacedVertexHelper_h
96 out <<
"" << std::endl;
97 out <<
" ==== The TrackerSelector is " << s.data() <<
" ==== " << std::endl;
102 <<
" quality = " <<
quality_ << std::endl;
110 double m[] = {0.050, 0.470, 0.525, 0.470, 0.525, 1.107, 1.125, 0.200};
111 std::vector<double> masses(m, m + 8);
114 double a[] = {60, 40};
115 std::vector<double> angles(a, a + 1);
161 out <<
"" << std::endl;
162 out <<
" ==== The Vertex Identifier is " << s.data() <<
" ==== " << std::endl;
166 <<
" Mass_conv > " <<
mConv_max() << std::endl
168 <<
" " <<
mK_min() <<
" < Mass_K+- < " <<
mK_max() << std::endl
170 <<
" Mass_Nucl_ee > " <<
mNucl_min() << std::endl
void setVertexIdentifier(const edm::ParameterSet &ps)
Set Vertex identifier parameters.
double mLambda_min() const
double pt_kink_min() const
void setTracksSelector(const edm::ParameterSet &ps)
Set Tracks selector parameters.
int nOuterHits_max() const
PFDisplacedVertexHelper()
std::vector< double > angles_
void Dump(std::ostream &out=std::cout) const
static const double proton_mass2
void Dump(std::ostream &out=std::cout) const
void setPrimaryVertex(edm::Handle< reco::VertexCollection > mainVertexHandle, edm::Handle< reco::BeamSpot > beamSpotHandle)
Update the primary vertex information.
bool isKaonMass(const reco::PFDisplacedVertex &v) const
double looper_eta_max() const
bool isTrackSelected(const reco::Track &trk, const reco::PFDisplacedVertex::VertexTrackType vertexTrackType) const
Select tracks tool.
~PFDisplacedVertexHelper()
reco::PFDisplacedVertex::VertexType identifyVertex(const reco::PFDisplacedVertex &v) const
Vertex identification tool.
Displaced Vertex Finder Algorithm.
std::vector< double > masses_
static const double pion_mass2
Masses2 taken from PDG.
int lambdaCP(const reco::PFDisplacedVertex &v) const
Tools used to calculate quantities for vertex identification.
std::string quality() const
static const double muon_mass2
XYZPointD XYZPoint
point in space with cartesian internal representation
T getParameter(std::string const &) const
VertexIdentifier vertexIdentifier_
bool identifyVertices() const
void Dump(std::ostream &out=std::cout) const
double angle_V0Conv_max() const
TracksSelector(const edm::ParameterSet &ps)
math::XYZPoint primaryVertex() const
Set Vertex direction using the primary vertex.
double dxy(const reco::Track &trk) const
math::XYZPoint pvtx_
Primary vertex information updated for each event.
Tool which store the information for the tracks selection.
VertexIdentifier(const edm::ParameterSet &ps)
TracksSelector tracksSelector_
double mLambda_max() const
double dxy() const
dxy parameter. (This is the transverse impact parameter w.r.t. to (0,0,0) ONLY if refPoint is close t...
bool selectTracks() const
Tool which store the information for the vertex identification.
double logPrimSec_min() const