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>
;
PhysicsTools::AtomicId
Cheap generic unique keyword identifier class.
Definition:
AtomicId.h:31
mps_fire.i
i
Definition:
mps_fire.py:428
reco::TaggingVariableList
Definition:
TaggingVariable.h:194
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
reco::TaggingVariableList::const_iterator
std::vector< TaggingVariable >::const_iterator const_iterator
Definition:
TaggingVariable.h:211
AtomicId.h
GenericMVAComputer::mapping
static const TaggingVariableMapping mapping
Definition:
GenericMVAComputer.h:135
reco::TaggingVariableTokens
const char *const TaggingVariableTokens[]
Definition:
TaggingVariable.cc:184
reco::btau::lastTaggingVariable
Definition:
TaggingVariable.h:165
PhysicsTools
Definition:
Histogram.h:13
GenericMVAComputer::TaggingVariableMapping::TaggingVariableMapping
TaggingVariableMapping()
Definition:
GenericMVAComputer.cc:14
GenericMVAComputer::TaggingVariableMapping
Definition:
GenericMVAComputer.h:120
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:29
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
GenericMVAComputer.h
TaggingVariable.h
GenericMVAComputer::TaggingVariableIterator
Definition:
GenericMVAComputer.h:17
Generated for CMSSW Reference Manual by
1.8.16