CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 119 of file PFDisplacedVertexHelper.h.

Constructor & Destructor Documentation

PFDisplacedVertexHelper::VertexIdentifier::VertexIdentifier ( )
inline

Definition at line 120 of file PFDisplacedVertexHelper.h.

References a, angles_, m, and masses_.

120  :
121  bIdentifyVertices_(false),
122  pt_min_(0.2),
123  pt_kink_min_(1.4),
124  looper_eta_max_(0.1),
125  logPrimSec_min_(0.2){
126 
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);
129  masses_ = masses;
130 
131  double a[] = {60, 40};
132  std::vector< double > angles(a, a+1);
133  angles_ = angles;
134 
135  };
double a
Definition: hdecay.h:121
PFDisplacedVertexHelper::VertexIdentifier::VertexIdentifier ( const edm::ParameterSet ps)
inline

Definition at line 137 of file PFDisplacedVertexHelper.h.

References angles_, bIdentifyVertices_, edm::ParameterSet::getParameter(), logPrimSec_min_, looper_eta_max_, masses_, pt_kink_min_, and pt_min_.

137  {
138  bIdentifyVertices_ = ps.getParameter<bool>("bIdentifyVertices");
139  angles_ = ps.getParameter< std::vector<double> >("angles");
140  masses_ = ps.getParameter< std::vector<double> >("masses");
141  pt_min_ = ps.getParameter<double>("pt_min");
142  pt_kink_min_ = ps.getParameter<double>("pt_kink_min");
143  looper_eta_max_ = ps.getParameter<double>("looper_eta_max");
144  logPrimSec_min_ = ps.getParameter<double>("logPrimSec_min");
145  }
T getParameter(std::string const &) const

Member Function Documentation

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

Definition at line 149 of file PFDisplacedVertexHelper.h.

References angles_.

Referenced by Dump(), and PFDisplacedVertexHelper::identifyVertex().

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

Definition at line 150 of file PFDisplacedVertexHelper.h.

References angles_.

Referenced by Dump(), and PFDisplacedVertexHelper::identifyVertex().

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

Definition at line 175 of file PFDisplacedVertexHelper.h.

References angle_max(), angle_V0Conv_max(), bIdentifyVertices_, logPrimSec_min_, looper_eta_max_, mConv_max(), mK0_max(), mK0_min(), mK_max(), mK_min(), mLambda_max(), mLambda_min(), mNucl_min(), dbtoconf::out, pt_kink_min_, pt_min_, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by PFDisplacedVertexHelper::Dump().

175  {
176  if(! out ) return;
177  std::string s = bIdentifyVertices_ ? "On" : "Off";
178  out << "" << std::endl;
179  out << " ==== The Vertex Identifier is " << s.data() << " ==== " << std::endl;
180 
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;
192 
193  }
tuple out
Definition: dbtoconf.py:99
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 155 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by Dump(), and PFDisplacedVertexHelper::identifyVertex().

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

Definition at line 157 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by Dump(), and PFDisplacedVertexHelper::identifyVertex().

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

Definition at line 156 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by Dump(), and PFDisplacedVertexHelper::identifyVertex().

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

Definition at line 159 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by Dump(), and PFDisplacedVertexHelper::isKaonMass().

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

Definition at line 158 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by Dump(), and PFDisplacedVertexHelper::isKaonMass().

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

Definition at line 161 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by Dump(), and PFDisplacedVertexHelper::lambdaCP().

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

Definition at line 160 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by Dump(), and PFDisplacedVertexHelper::lambdaCP().

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

Definition at line 162 of file PFDisplacedVertexHelper.h.

References masses_.

Referenced by Dump(), and PFDisplacedVertexHelper::identifyVertex().

162 {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 168 of file PFDisplacedVertexHelper.h.

Referenced by angle_max(), angle_V0Conv_max(), and VertexIdentifier().

bool PFDisplacedVertexHelper::VertexIdentifier::bIdentifyVertices_

Definition at line 167 of file PFDisplacedVertexHelper.h.

Referenced by Dump(), identifyVertices(), and VertexIdentifier().

double PFDisplacedVertexHelper::VertexIdentifier::logPrimSec_min_

Definition at line 173 of file PFDisplacedVertexHelper.h.

Referenced by Dump(), logPrimSec_min(), and VertexIdentifier().

double PFDisplacedVertexHelper::VertexIdentifier::looper_eta_max_

Definition at line 172 of file PFDisplacedVertexHelper.h.

Referenced by Dump(), looper_eta_max(), and VertexIdentifier().

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

Definition at line 171 of file PFDisplacedVertexHelper.h.

Referenced by Dump(), pt_kink_min(), and VertexIdentifier().

double PFDisplacedVertexHelper::VertexIdentifier::pt_min_

Definition at line 170 of file PFDisplacedVertexHelper.h.

Referenced by Dump(), pt_min(), and VertexIdentifier().