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_ |
Tool which store the information for the vertex identification.
Definition at line 119 of file PFDisplacedVertexHelper.h.
PFDisplacedVertexHelper::VertexIdentifier::VertexIdentifier | ( | ) | [inline] |
Definition at line 120 of file PFDisplacedVertexHelper.h.
References a, angles_, m, and masses_.
: bIdentifyVertices_(false), pt_min_(0.2), pt_kink_min_(1.4), looper_eta_max_(0.1), logPrimSec_min_(0.2){ double m[] = {0.050, 0.470, 0.525, 0.470, 0.525, 1.107, 1.125, 0.200}; std::vector< double > masses(m, m+8); masses_ = masses; double a[] = {60, 40}; std::vector< double > angles(a, a+1); angles_ = angles; };
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_.
{ bIdentifyVertices_ = ps.getParameter<bool>("bIdentifyVertices"); angles_ = ps.getParameter< std::vector<double> >("angles"); masses_ = ps.getParameter< std::vector<double> >("masses"); pt_min_ = ps.getParameter<double>("pt_min"); pt_kink_min_ = ps.getParameter<double>("pt_kink_min"); looper_eta_max_ = ps.getParameter<double>("looper_eta_max"); logPrimSec_min_ = ps.getParameter<double>("logPrimSec_min"); }
double PFDisplacedVertexHelper::VertexIdentifier::angle_max | ( | ) | const [inline] |
Definition at line 149 of file PFDisplacedVertexHelper.h.
References angles_.
Referenced by Dump(), and PFDisplacedVertexHelper::identifyVertex().
{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().
{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().
{ if(! out ) return; std::string s = bIdentifyVertices_ ? "On" : "Off"; out << "" << std::endl; out << " ==== The Vertex Identifier is " << s.data() << " ==== " << std::endl; out << " pt_min_ = " << pt_min_ << " pt_kink_min_ = " << pt_kink_min_ << std::endl << " looper_eta_max_ = " << looper_eta_max_ << " log10(P_Prim/P_Sec)_min " << logPrimSec_min_ << std::endl << " Mass_conv > " << mConv_max() << std::endl << " " << mK0_min() << " < Mass_K0 < " << mK0_max() << std::endl << " " << mK_min() << " < Mass_K+- < " << mK_max() << std::endl << " " << mLambda_min() << " < Mass_Lambda < " << mLambda_max() << std::endl << " Mass_Nucl_ee > " << mNucl_min() << std::endl << " angle_max = " << angle_max() << " angle_V0Conv_max = " << angle_V0Conv_max() << std::endl; }
bool PFDisplacedVertexHelper::VertexIdentifier::identifyVertices | ( | ) | const [inline] |
Definition at line 147 of file PFDisplacedVertexHelper.h.
References bIdentifyVertices_.
Referenced by PFDisplacedVertexHelper::identifyVertex().
{return bIdentifyVertices_;}
double PFDisplacedVertexHelper::VertexIdentifier::logPrimSec_min | ( | ) | const [inline] |
Definition at line 165 of file PFDisplacedVertexHelper.h.
References logPrimSec_min_.
Referenced by PFDisplacedVertexHelper::identifyVertex().
{return logPrimSec_min_;}
double PFDisplacedVertexHelper::VertexIdentifier::looper_eta_max | ( | ) | const [inline] |
Definition at line 164 of file PFDisplacedVertexHelper.h.
References looper_eta_max_.
Referenced by PFDisplacedVertexHelper::identifyVertex().
{return looper_eta_max_;}
double PFDisplacedVertexHelper::VertexIdentifier::mConv_max | ( | ) | const [inline] |
Definition at line 155 of file PFDisplacedVertexHelper.h.
References masses_.
Referenced by Dump(), and PFDisplacedVertexHelper::identifyVertex().
{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().
{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().
{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().
{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().
{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().
{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().
{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().
{return masses_[7];}
double PFDisplacedVertexHelper::VertexIdentifier::pt_kink_min | ( | ) | const [inline] |
Definition at line 153 of file PFDisplacedVertexHelper.h.
References pt_kink_min_.
Referenced by PFDisplacedVertexHelper::identifyVertex().
{return pt_kink_min_;}
double PFDisplacedVertexHelper::VertexIdentifier::pt_min | ( | ) | const [inline] |
Definition at line 152 of file PFDisplacedVertexHelper.h.
References pt_min_.
Referenced by PFDisplacedVertexHelper::identifyVertex().
{return pt_min_;}
std::vector<double> PFDisplacedVertexHelper::VertexIdentifier::angles_ |
Definition at line 168 of file PFDisplacedVertexHelper.h.
Referenced by angle_max(), angle_V0Conv_max(), and VertexIdentifier().
Definition at line 167 of file PFDisplacedVertexHelper.h.
Referenced by Dump(), identifyVertices(), and VertexIdentifier().
Definition at line 173 of file PFDisplacedVertexHelper.h.
Referenced by Dump(), logPrimSec_min(), and VertexIdentifier().
Definition at line 172 of file PFDisplacedVertexHelper.h.
Referenced by Dump(), looper_eta_max(), and VertexIdentifier().
std::vector<double> PFDisplacedVertexHelper::VertexIdentifier::masses_ |
Definition at line 169 of file PFDisplacedVertexHelper.h.
Referenced by mConv_max(), mK0_max(), mK0_min(), mK_max(), mK_min(), mLambda_max(), mLambda_min(), mNucl_min(), and VertexIdentifier().
Definition at line 171 of file PFDisplacedVertexHelper.h.
Referenced by Dump(), pt_kink_min(), and VertexIdentifier().
Definition at line 170 of file PFDisplacedVertexHelper.h.
Referenced by Dump(), pt_min(), and VertexIdentifier().