1 #ifndef RecoParticleFlow_PFTracking_PFDisplacedVertexHelper_h 2 #define RecoParticleFlow_PFTracking_PFDisplacedVertexHelper_h 103 out <<
"" << std::endl;
104 out <<
" ==== The TrackerSelector is " << s.data() <<
" ==== " << std::endl;
106 out <<
" nChi2_min_ = " << nChi2_min_
107 <<
" nChi2_max_ = " << nChi2_max_ << std::endl
108 <<
" pt_min_ = " << pt_min_
109 <<
" dxy_min_ = " << dxy_min_ << std::endl
110 <<
" nHits_min_ = " << nHits_min_
111 <<
" nOuterHits_max_ = " << nOuterHits_max_ << std::endl
112 <<
" quality = " << quality_ << std::endl;
121 bIdentifyVertices_(
false),
124 looper_eta_max_(0.1),
125 logPrimSec_min_(0.2){
127 double m[] = {0.050, 0.470, 0.525, 0.470, 0.525, 1.107, 1.125, 0.200};
128 std::vector< double >
masses(m, m+8);
131 double a[] = {60, 40};
132 std::vector< double >
angles(a, a+1);
138 bIdentifyVertices_ = ps.
getParameter<
bool>(
"bIdentifyVertices");
139 angles_ = ps.
getParameter< std::vector<double> >(
"angles");
143 looper_eta_max_ = ps.
getParameter<
double>(
"looper_eta_max");
144 logPrimSec_min_ = ps.
getParameter<
double>(
"logPrimSec_min");
178 out <<
"" << std::endl;
179 out <<
" ==== The Vertex Identifier is " << s.data() <<
" ==== " << std::endl;
181 out <<
" pt_min_ = " << pt_min_
182 <<
" pt_kink_min_ = " << pt_kink_min_ << std::endl
183 <<
" looper_eta_max_ = " << looper_eta_max_
184 <<
" log10(P_Prim/P_Sec)_min " << logPrimSec_min_ << std::endl
185 <<
" Mass_conv > " << mConv_max() << std::endl
186 <<
" " << mK0_min() <<
" < Mass_K0 < " << mK0_max() << std::endl
187 <<
" " << mK_min() <<
" < Mass_K+- < " << mK_max() << std::endl
188 <<
" " << mLambda_min() <<
" < Mass_Lambda < " << mLambda_max() << std::endl
189 <<
" Mass_Nucl_ee > " << mNucl_min() << std::endl
190 <<
" angle_max = " << angle_max()
191 <<
" angle_V0Conv_max = " << angle_V0Conv_max() << std::endl;
T getParameter(std::string const &) const
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
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