Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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:164
i
int i
Definition:
DBlmapReader.cc:9
GenericMVAComputer.h
reco::TaggingVariableTokens
const char * TaggingVariableTokens[]
Definition:
TaggingVariable.cc:109
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:107
reco::btau::lastTaggingVariable
Definition:
TaggingVariable.h:128
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
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:180
GenericMVAComputer::mapping
static const TaggingVariableMapping mapping
Definition:
GenericMVAComputer.h:146
GenericMVAComputer::TaggingVariableMapping::TaggingVariableMapping
TaggingVariableMapping()
Definition:
GenericMVAComputer.cc:14
TaggingVariable.h
GenericMVAComputer::TaggingVariableMapping
Definition:
GenericMVAComputer.h:130
GenericMVAComputer::TaggingVariableIterator
Definition:
GenericMVAComputer.h:16
Generated for CMSSW Reference Manual by
1.8.5