Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoBTag
SecondaryVertex
src
TrackSorting.cc
Go to the documentation of this file.
1
#include <string>
2
3
#include "
FWCore/Utilities/interface/Exception.h
"
4
5
#include "
DataFormats/BTauReco/interface/TrackIPTagInfo.h
"
6
7
#include "
RecoBTag/SecondaryVertex/interface/TrackSorting.h
"
8
9
using namespace
reco
;
10
11
TrackIPTagInfo::SortCriteria
TrackSorting::getCriterium
(
const
std::string &
name
)
12
{
13
if
(name ==
"sip3dSig"
)
14
return
TrackIPTagInfo::IP3DSig
;
15
if
(name ==
"prob3d"
)
16
return
TrackIPTagInfo::Prob3D
;
17
if
(name ==
"sip2dSig"
)
18
return
TrackIPTagInfo::IP2DSig
;
19
if
(name ==
"prob2d"
)
20
return
TrackIPTagInfo::Prob2D
;
21
if
(name ==
"sip2dVal"
)
22
return
TrackIPTagInfo::IP2DValue
;
23
24
throw
cms::Exception
(
"InvalidArgument"
)
25
<<
"Identifier \""
<< name <<
"\" does not represent a valid "
26
<<
"track sorting criterium."
<< std::endl;
27
}
TrackSorting::getCriterium
reco::TrackIPTagInfo::SortCriteria getCriterium(const std::string &name)
Definition:
TrackSorting.cc:11
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:105
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
reco::TrackIPTagInfo::IP3DSig
Definition:
TrackIPTagInfo.h:72
reco::TrackIPTagInfo::IP2DSig
Definition:
TrackIPTagInfo.h:72
TrackSorting.h
reco::TrackIPTagInfo::IP2DValue
Definition:
TrackIPTagInfo.h:73
TrackIPTagInfo.h
reco::TrackIPTagInfo::Prob2D
Definition:
TrackIPTagInfo.h:72
Exception.h
edm::hlt::Exception
error
Definition:
HLTenums.h:24
reco::TrackIPTagInfo::Prob3D
Definition:
TrackIPTagInfo.h:72
reco::TrackIPTagInfo::SortCriteria
SortCriteria
Definition:
TrackIPTagInfo.h:72
Generated for CMSSW Reference Manual by
1.8.5