CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
PFDisplacedVertexHelper::VertexIdentifier Struct Reference

Tool which store the information for the vertex identification. More...

Public Member Functions

double angle_max () const
 
double angle_V0Conv_max () const
 
void Dump (std::ostream &out=std::cout) const
 
bool identifyVertices () const
 
double logPrimSec_min () const
 
double looper_eta_max () const
 
double mConv_max () const
 
double mK0_max () const
 
double mK0_min () const
 
double mK_max () const
 
double mK_min () const
 
double mLambda_max () const
 
double mLambda_min () const
 
double mNucl_min () const
 
double pt_kink_min () const
 
double pt_min () const
 
 VertexIdentifier ()
 
 VertexIdentifier (const edm::ParameterSet &ps)
 

Public Attributes

std::vector< double > angles_
 
bool bIdentifyVertices_
 
double logPrimSec_min_
 
double looper_eta_max_
 
std::vector< double > masses_
 
double pt_kink_min_
 
double pt_min_
 

Detailed Description

Tool which store the information for the vertex identification.

Definition at line 107 of file PFDisplacedVertexHelper.h.

Constructor & Destructor Documentation

PFDisplacedVertexHelper::VertexIdentifier::VertexIdentifier ( )
inline

Definition at line 108 of file PFDisplacedVertexHelper.h.

References a, particleFlowDisplacedVertex_cfi::angles, visualization-live-secondInstance_cfg::m, particleFlowDisplacedVertex_cfi::masses, and masses_.

109  : bIdentifyVertices_(false), pt_min_(0.2), pt_kink_min_(1.4), looper_eta_max_(0.1), logPrimSec_min_(0.2) {
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);
112  masses_ = masses;
113 
114  double a[] = {60, 40};
115  std::vector<double> angles(a, a + 1);
116  angles_ = angles;
117  };
double a
Definition: hdecay.h:119
PFDisplacedVertexHelper::VertexIdentifier::VertexIdentifier ( const edm::ParameterSet ps)
inline

Definition at line 119 of file PFDisplacedVertexHelper.h.

References edm::ParameterSet::getParameter(), masses_, and PFDisplacedVertexHelper::TracksSelector::pt_min_.

119  {
120  bIdentifyVertices_ = ps.getParameter<bool>("bIdentifyVertices");
121  angles_ = ps.getParameter<std::vector<double> >("angles");
122  masses_ = ps.getParameter<std::vector<double> >("masses");
123  pt_min_ = ps.getParameter<double>("pt_min");
124  pt_kink_min_ = ps.getParameter<double>("pt_kink_min");
125  looper_eta_max_ = ps.getParameter<double>("looper_eta_max");
126  logPrimSec_min_ = ps.getParameter<double>("logPrimSec_min");
127  }
T getParameter(std::string const &) const

Member Function Documentation

double PFDisplacedVertexHelper::VertexIdentifier::angle_max ( ) const
inline

Definition at line 131 of file PFDisplacedVertexHelper.h.

Referenced by PFDisplacedVertexHelper::identifyVertex().

131 { return angles_[0]; }
double PFDisplacedVertexHelper::VertexIdentifier::angle_V0Conv_max ( ) const
inline

Definition at line 132 of file PFDisplacedVertexHelper.h.

Referenced by PFDisplacedVertexHelper::identifyVertex().

132 { return angles_[1]; }
void PFDisplacedVertexHelper::VertexIdentifier::Dump ( std::ostream &  out = std::cout) const
inline

Definition at line 157 of file PFDisplacedVertexHelper.h.

References MillePedeFileConverter_cfg::out, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by PFDisplacedVertexHelper::Dump().

157  {
158  if (!out)
159  return;
160  std::string s = bIdentifyVertices_ ? "On" : "Off";
161  out << "" << std::endl;
162  out << " ==== The Vertex Identifier is " << s.data() << " ==== " << std::endl;
163 
164  out << " pt_min_ = " << pt_min_ << " pt_kink_min_ = " << pt_kink_min_ << std::endl
165  << " looper_eta_max_ = " << looper_eta_max_ << " log10(P_Prim/P_Sec)_min " << logPrimSec_min_ << std::endl
166  << " Mass_conv > " << mConv_max() << std::endl
167  << " " << mK0_min() << " < Mass_K0 < " << mK0_max() << std::endl
168  << " " << mK_min() << " < Mass_K+- < " << mK_max() << std::endl
169  << " " << mLambda_min() << " < Mass_Lambda < " << mLambda_max() << std::endl
170  << " Mass_Nucl_ee > " << mNucl_min() << std::endl
171  << " angle_max = " << angle_max() << " angle_V0Conv_max = " << angle_V0Conv_max() << std::endl;
172  }
bool PFDisplacedVertexHelper::VertexIdentifier::identifyVertices ( ) const
inline
double PFDisplacedVertexHelper::VertexIdentifier::logPrimSec_min ( ) const
inline
double PFDisplacedVertexHelper::VertexIdentifier::looper_eta_max ( ) const
inline
double PFDisplacedVertexHelper::VertexIdentifier::mConv_max ( ) const
inline

Definition at line 137 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by PFDisplacedVertexHelper::identifyVertex().

137 { return masses_[0]; }
double PFDisplacedVertexHelper::VertexIdentifier::mK0_max ( ) const
inline

Definition at line 139 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by PFDisplacedVertexHelper::identifyVertex().

139 { return masses_[2]; }
double PFDisplacedVertexHelper::VertexIdentifier::mK0_min ( ) const
inline

Definition at line 138 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by PFDisplacedVertexHelper::identifyVertex().

138 { return masses_[1]; }
double PFDisplacedVertexHelper::VertexIdentifier::mK_max ( ) const
inline

Definition at line 141 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by PFDisplacedVertexHelper::isKaonMass().

141 { return masses_[4]; }
double PFDisplacedVertexHelper::VertexIdentifier::mK_min ( ) const
inline

Definition at line 140 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by PFDisplacedVertexHelper::isKaonMass().

140 { return masses_[3]; }
double PFDisplacedVertexHelper::VertexIdentifier::mLambda_max ( ) const
inline

Definition at line 143 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by PFDisplacedVertexHelper::lambdaCP().

143 { return masses_[6]; }
double PFDisplacedVertexHelper::VertexIdentifier::mLambda_min ( ) const
inline

Definition at line 142 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by PFDisplacedVertexHelper::lambdaCP().

142 { return masses_[5]; }
double PFDisplacedVertexHelper::VertexIdentifier::mNucl_min ( ) const
inline

Definition at line 144 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by PFDisplacedVertexHelper::identifyVertex().

144 { return masses_[7]; }
double PFDisplacedVertexHelper::VertexIdentifier::pt_kink_min ( ) const
inline
double PFDisplacedVertexHelper::VertexIdentifier::pt_min ( ) const
inline

Member Data Documentation

std::vector<double> PFDisplacedVertexHelper::VertexIdentifier::angles_

Definition at line 150 of file PFDisplacedVertexHelper.h.

bool PFDisplacedVertexHelper::VertexIdentifier::bIdentifyVertices_

Definition at line 149 of file PFDisplacedVertexHelper.h.

double PFDisplacedVertexHelper::VertexIdentifier::logPrimSec_min_

Definition at line 155 of file PFDisplacedVertexHelper.h.

double PFDisplacedVertexHelper::VertexIdentifier::looper_eta_max_

Definition at line 154 of file PFDisplacedVertexHelper.h.

std::vector<double> PFDisplacedVertexHelper::VertexIdentifier::masses_

Definition at line 151 of file PFDisplacedVertexHelper.h.

double PFDisplacedVertexHelper::VertexIdentifier::pt_kink_min_

Definition at line 153 of file PFDisplacedVertexHelper.h.

double PFDisplacedVertexHelper::VertexIdentifier::pt_min_

Definition at line 152 of file PFDisplacedVertexHelper.h.