Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoBTag
ImpactParameter
interface
NegativeTrackCountingComputer.h
Go to the documentation of this file.
1
#include "
RecoBTag/ImpactParameter/interface/TrackCountingComputer.h
"
2
3
4
class
NegativeTrackCountingComputer
:
public
TrackCountingComputer
5
{
6
public
:
7
NegativeTrackCountingComputer
(
const
edm::ParameterSet
&
parameters
) :
TrackCountingComputer
(parameters)
8
{
9
}
10
11
float
discriminator
(
const
TagInfoHelper
& ti)
const
12
{
13
const
reco::TrackIPTagInfo
& tkip = ti.
get
<
reco::TrackIPTagInfo
>();
14
std::multiset<float> significances =
orderedSignificances
(tkip);
15
std::multiset<float>::iterator nth=significances.begin();
16
for
(
int
i
=0;
i
<
m_nthTrack
-1 && nth!=significances.end();
i
++) nth++;
17
if
(nth!=significances.end())
return
-(*nth);
else
return
-100.;
18
}
19
20
};
i
int i
Definition:
DBlmapReader.cc:9
Parameters.parameters
dictionary parameters
Definition:
Parameters.py:2
JetTagComputer::TagInfoHelper::get
const T & get(unsigned int index=0) const
Definition:
JetTagComputer.h:41
TrackCountingComputer::orderedSignificances
std::multiset< float > orderedSignificances(const reco::TrackIPTagInfo &tkip) const
Definition:
TrackCountingComputer.h:62
JetTagComputer::TagInfoHelper
Definition:
JetTagComputer.h:16
NegativeTrackCountingComputer
Definition:
NegativeTrackCountingComputer.h:4
NegativeTrackCountingComputer::discriminator
float discriminator(const TagInfoHelper &ti) const
Definition:
NegativeTrackCountingComputer.h:11
NegativeTrackCountingComputer::NegativeTrackCountingComputer
NegativeTrackCountingComputer(const edm::ParameterSet ¶meters)
Definition:
NegativeTrackCountingComputer.h:7
TrackCountingComputer.h
TrackCountingComputer
Definition:
TrackCountingComputer.h:12
edm::ParameterSet
Definition:
ParameterSet.h:35
TrackCountingComputer::m_nthTrack
int m_nthTrack
Definition:
TrackCountingComputer.h:93
reco::TrackIPTagInfo
Definition:
TrackIPTagInfo.h:15
Generated for CMSSW Reference Manual by
1.8.5