CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackSorting.cc
Go to the documentation of this file.
1 #include <string>
2 
4 
6 
8 
9 using namespace reco;
10 
12 {
13  using namespace reco::btag;
14  if (name == "sip3dSig")
15  return IP3DSig;
16  if (name == "prob3d")
17  return Prob3D;
18  if (name == "sip2dSig")
19  return IP2DSig;
20  if (name == "prob2d")
21  return Prob2D;
22  if (name == "sip2dVal")
23  return IP2DValue;
24 
25  throw cms::Exception("InvalidArgument")
26  << "Identifier \"" << name << "\" does not represent a valid "
27  << "track sorting criterium." << std::endl;
28 }
reco::btag::SortCriteria getCriterium(const std::string &name)
Definition: TrackSorting.cc:11
tuple btag
Definition: BTagSF.py:15