Main Page
Namespaces
Classes
Package Documentation
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
{
16
for
(
unsigned
int
i
= 0;
i
<
btau::lastTaggingVariable
;
i
++) {
17
const
char
*
name
=
TaggingVariableTokens
[
i
];
18
AtomicId
id
(name);
19
20
taggingVarToAtomicId.push_back(
id
);
21
}
22
}
23
24
// explicit instantiation the common case of reco::TaggingVariableList
25
template
26
double
GenericMVAComputer::eval<reco::TaggingVariableList::const_iterator>(
27
reco::TaggingVariableList::const_iterator
,
28
reco::TaggingVariableList::const_iterator
)
const
;
29
30
template
31
double
GenericMVAComputer::eval<reco::TaggingVariableList>(
32
const
reco::TaggingVariableList
&)
const
;
33
34
template
35
class
GenericMVAComputer::TaggingVariableIterator
<
36
reco::TaggingVariableList::const_iterator
>;
37
reco::TaggingVariableList
Definition:
TaggingVariable.h:204
mps_fire.i
i
Definition:
mps_fire.py:269
reco::TaggingVariableTokens
const char *const TaggingVariableTokens[]
Definition:
TaggingVariable.cc:145
GenericMVAComputer.h
reco::btau::lastTaggingVariable
Definition:
TaggingVariable.h:168
AtomicId.h
PhysicsTools::AtomicId
Cheap generic unique keyword identifier class.
Definition:
AtomicId.h:31
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:28
reco::TaggingVariableList::const_iterator
std::vector< TaggingVariable >::const_iterator const_iterator
Definition:
TaggingVariable.h:220
PhysicsTools
Definition:
Histogram.h:13
GenericMVAComputer::mapping
static const TaggingVariableMapping mapping
Definition:
GenericMVAComputer.h:146
GenericMVAComputer::TaggingVariableMapping::TaggingVariableMapping
TaggingVariableMapping()
Definition:
GenericMVAComputer.cc:14
TaggingVariable.h
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
GenericMVAComputer::TaggingVariableMapping
Definition:
GenericMVAComputer.h:130
dataset.name
name
Definition:
dataset.py:45
GenericMVAComputer::TaggingVariableIterator
Definition:
GenericMVAComputer.h:16
Generated for CMSSW Reference Manual by
1.8.11