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

◆ VertexIdentifier() [1/2]

PFDisplacedVertexHelper::VertexIdentifier::VertexIdentifier ( )
inline

Definition at line 108 of file PFDisplacedVertexHelper.h.

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  };

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

◆ VertexIdentifier() [2/2]

PFDisplacedVertexHelper::VertexIdentifier::VertexIdentifier ( const edm::ParameterSet ps)
inline

Definition at line 119 of file PFDisplacedVertexHelper.h.

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  }

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

Member Function Documentation

◆ angle_max()

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

Definition at line 131 of file PFDisplacedVertexHelper.h.

131 { return angles_[0]; }

References angles_.

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

◆ angle_V0Conv_max()

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

Definition at line 132 of file PFDisplacedVertexHelper.h.

132 { return angles_[1]; }

References angles_.

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

◆ Dump()

void PFDisplacedVertexHelper::VertexIdentifier::Dump ( std::ostream &  out = std::cout) const
inline

Definition at line 157 of file PFDisplacedVertexHelper.h.

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  }

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(), MillePedeFileConverter_cfg::out, pt_kink_min_, pt_min_, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by PFDisplacedVertexHelper::Dump().

◆ identifyVertices()

bool PFDisplacedVertexHelper::VertexIdentifier::identifyVertices ( ) const
inline

Definition at line 129 of file PFDisplacedVertexHelper.h.

129 { return bIdentifyVertices_; }

References bIdentifyVertices_.

Referenced by PFDisplacedVertexHelper::identifyVertex().

◆ logPrimSec_min()

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

Definition at line 147 of file PFDisplacedVertexHelper.h.

147 { return logPrimSec_min_; }

References logPrimSec_min_.

Referenced by PFDisplacedVertexHelper::identifyVertex().

◆ looper_eta_max()

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

Definition at line 146 of file PFDisplacedVertexHelper.h.

146 { return looper_eta_max_; }

References looper_eta_max_.

Referenced by PFDisplacedVertexHelper::identifyVertex().

◆ mConv_max()

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

Definition at line 137 of file PFDisplacedVertexHelper.h.

137 { return masses_[0]; }

References masses_.

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

◆ mK0_max()

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

Definition at line 139 of file PFDisplacedVertexHelper.h.

139 { return masses_[2]; }

References masses_.

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

◆ mK0_min()

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

Definition at line 138 of file PFDisplacedVertexHelper.h.

138 { return masses_[1]; }

References masses_.

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

◆ mK_max()

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

Definition at line 141 of file PFDisplacedVertexHelper.h.

141 { return masses_[4]; }

References masses_.

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

◆ mK_min()

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

Definition at line 140 of file PFDisplacedVertexHelper.h.

140 { return masses_[3]; }

References masses_.

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

◆ mLambda_max()

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

Definition at line 143 of file PFDisplacedVertexHelper.h.

143 { return masses_[6]; }

References masses_.

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

◆ mLambda_min()

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

Definition at line 142 of file PFDisplacedVertexHelper.h.

142 { return masses_[5]; }

References masses_.

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

◆ mNucl_min()

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

Definition at line 144 of file PFDisplacedVertexHelper.h.

144 { return masses_[7]; }

References masses_.

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

◆ pt_kink_min()

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

Definition at line 135 of file PFDisplacedVertexHelper.h.

135 { return pt_kink_min_; }

References pt_kink_min_.

Referenced by PFDisplacedVertexHelper::identifyVertex().

◆ pt_min()

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

Definition at line 134 of file PFDisplacedVertexHelper.h.

134 { return pt_min_; }

References pt_min_.

Referenced by PFDisplacedVertexHelper::identifyVertex().

Member Data Documentation

◆ angles_

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

Definition at line 150 of file PFDisplacedVertexHelper.h.

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

◆ bIdentifyVertices_

bool PFDisplacedVertexHelper::VertexIdentifier::bIdentifyVertices_

Definition at line 149 of file PFDisplacedVertexHelper.h.

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

◆ logPrimSec_min_

double PFDisplacedVertexHelper::VertexIdentifier::logPrimSec_min_

Definition at line 155 of file PFDisplacedVertexHelper.h.

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

◆ looper_eta_max_

double PFDisplacedVertexHelper::VertexIdentifier::looper_eta_max_

Definition at line 154 of file PFDisplacedVertexHelper.h.

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

◆ masses_

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

◆ pt_kink_min_

double PFDisplacedVertexHelper::VertexIdentifier::pt_kink_min_

Definition at line 153 of file PFDisplacedVertexHelper.h.

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

◆ pt_min_

double PFDisplacedVertexHelper::VertexIdentifier::pt_min_

Definition at line 152 of file PFDisplacedVertexHelper.h.

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

PFDisplacedVertexHelper::VertexIdentifier::angle_max
double angle_max() const
Definition: PFDisplacedVertexHelper.h:131
PFDisplacedVertexHelper::VertexIdentifier::bIdentifyVertices_
bool bIdentifyVertices_
Definition: PFDisplacedVertexHelper.h:149
PFDisplacedVertexHelper::VertexIdentifier::mLambda_max
double mLambda_max() const
Definition: PFDisplacedVertexHelper.h:143
PFDisplacedVertexHelper::VertexIdentifier::logPrimSec_min_
double logPrimSec_min_
Definition: PFDisplacedVertexHelper.h:155
PFDisplacedVertexHelper::VertexIdentifier::angle_V0Conv_max
double angle_V0Conv_max() const
Definition: PFDisplacedVertexHelper.h:132
alignCSCRings.s
s
Definition: alignCSCRings.py:92
PFDisplacedVertexHelper::VertexIdentifier::mK0_max
double mK0_max() const
Definition: PFDisplacedVertexHelper.h:139
PFDisplacedVertexHelper::VertexIdentifier::mConv_max
double mConv_max() const
Definition: PFDisplacedVertexHelper.h:137
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:79
PFDisplacedVertexHelper::VertexIdentifier::pt_min_
double pt_min_
Definition: PFDisplacedVertexHelper.h:152
PFDisplacedVertexHelper::VertexIdentifier::mLambda_min
double mLambda_min() const
Definition: PFDisplacedVertexHelper.h:142
a
double a
Definition: hdecay.h:119
PFDisplacedVertexHelper::VertexIdentifier::mNucl_min
double mNucl_min() const
Definition: PFDisplacedVertexHelper.h:144
PFDisplacedVertexHelper::VertexIdentifier::masses_
std::vector< double > masses_
Definition: PFDisplacedVertexHelper.h:151
PFDisplacedVertexHelper::VertexIdentifier::pt_kink_min_
double pt_kink_min_
Definition: PFDisplacedVertexHelper.h:153
PFDisplacedVertexHelper::VertexIdentifier::angles_
std::vector< double > angles_
Definition: PFDisplacedVertexHelper.h:150
particleFlowDisplacedVertex_cfi.masses
masses
Definition: particleFlowDisplacedVertex_cfi.py:80
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
particleFlowDisplacedVertex_cfi.angles
angles
Definition: particleFlowDisplacedVertex_cfi.py:84
PFDisplacedVertexHelper::VertexIdentifier::mK_max
double mK_max() const
Definition: PFDisplacedVertexHelper.h:141
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
PFDisplacedVertexHelper::VertexIdentifier::looper_eta_max_
double looper_eta_max_
Definition: PFDisplacedVertexHelper.h:154
PFDisplacedVertexHelper::VertexIdentifier::mK_min
double mK_min() const
Definition: PFDisplacedVertexHelper.h:140
PFDisplacedVertexHelper::VertexIdentifier::mK0_min
double mK0_min() const
Definition: PFDisplacedVertexHelper.h:138