src
RecoBTau
JetTagComputer
src
GenericMVAComputer.cc
Go to the documentation of this file.
1
#include <vector>
2
3
#include "
DataFormats/BTauReco/interface/TaggingVariable.h
"
4
#include "
PhysicsTools/MVAComputer/interface/AtomicId.h
"
5
6
#include "
RecoBTau/JetTagComputer/interface/GenericMVAComputer.h
"
7
8
using namespace
reco
;
9
using namespace
PhysicsTools
;
10
11
// static cache
12
const
GenericMVAComputer::TaggingVariableMapping
GenericMVAComputer::mapping
;
13
14
GenericMVAComputer::TaggingVariableMapping::TaggingVariableMapping
() {
15
for
(
unsigned
int
i
= 0;
i
<
btau::lastTaggingVariable
;
i
++) {
16
const
char
*
name
=
TaggingVariableTokens
[
i
];
17
AtomicId
id
(
name
);
18
19
taggingVarToAtomicId.push_back(
id
);
20
}
21
}
22
23
// explicit instantiation the common case of reco::TaggingVariableList
24
template
double
GenericMVAComputer::eval<reco::TaggingVariableList::const_iterator>(
25
reco::TaggingVariableList::const_iterator
,
reco::TaggingVariableList::const_iterator
)
const
;
26
27
template
double
GenericMVAComputer::eval<reco::TaggingVariableList>(
const
reco::TaggingVariableList
&)
const
;
28
29
template
class
GenericMVAComputer::TaggingVariableIterator<reco::TaggingVariableList::const_iterator>
;
reco::TaggingVariableList
Definition:
TaggingVariable.h:194
mps_fire.i
i
Definition:
mps_fire.py:429
reco::TaggingVariableTokens
const char *const TaggingVariableTokens[]
Definition:
TaggingVariable.cc:184
GenericMVAComputer.h
l1ctLayer2EG_cff.id
id
Definition:
l1ctLayer2EG_cff.py:65
reco::btau::lastTaggingVariable
Definition:
TaggingVariable.h:165
AtomicId.h
PhysicsTools::AtomicId
Cheap generic unique keyword identifier class.
Definition:
AtomicId.h:31
reco::TaggingVariableList::const_iterator
std::vector< TaggingVariable >::const_iterator const_iterator
Definition:
TaggingVariable.h:211
PhysicsTools
Definition:
Histogram.h:13
GenericMVAComputer::mapping
static const TaggingVariableMapping mapping
Definition:
GenericMVAComputer.h:135
GenericMVAComputer::TaggingVariableMapping::TaggingVariableMapping
TaggingVariableMapping()
Definition:
GenericMVAComputer.cc:14
TaggingVariable.h
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
GenericMVAComputer::TaggingVariableMapping
Definition:
GenericMVAComputer.h:120
GenericMVAComputer::TaggingVariableIterator
Definition:
GenericMVAComputer.h:17
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.14