RecoBTag
SecondaryVertex
interface
CandidateBoostedDoubleSecondaryVertexComputer.h
Go to the documentation of this file.
1
#ifndef RecoBTag_SecondaryVertex_CandidateBoostedDoubleSecondaryVertexComputer_h
2
#define RecoBTag_SecondaryVertex_CandidateBoostedDoubleSecondaryVertexComputer_h
3
4
#include "
FWCore/Framework/interface/ESConsumesCollector.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
CommonTools/MVAUtils/interface/TMVAEvaluator.h
"
7
#include "
RecoBTau/JetTagComputer/interface/JetTagComputer.h
"
8
#include "
CondFormats/DataRecord/interface/GBRWrapperRcd.h
"
9
10
class
CandidateBoostedDoubleSecondaryVertexComputer
:
public
JetTagComputer
{
11
public
:
12
struct
Tokens
{
13
Tokens
(
const
edm::ParameterSet
&
parameters
,
edm::ESConsumesCollector
&&
cc
);
14
edm::ESGetToken<GBRForest, GBRWrapperRcd>
gbrForest_
;
15
};
16
17
CandidateBoostedDoubleSecondaryVertexComputer
(
const
edm::ParameterSet
&
parameters
,
Tokens
tokens);
18
19
void
initialize
(
const
JetTagComputerRecord
&)
override
;
20
float
discriminator
(
const
TagInfoHelper
&
tagInfos
)
const override
;
21
22
private
:
23
const
edm::FileInPath
weightFile_
;
24
const
bool
useGBRForest_
;
25
const
bool
useAdaBoost_
;
26
const
Tokens
tokens_
;
27
28
std::unique_ptr<TMVAEvaluator>
mvaID
;
29
};
30
31
#endif // RecoBTag_SecondaryVertex_CandidateBoostedDoubleSecondaryVertexComputer_h
BeamSpotPI::parameters
parameters
Definition:
BeamSpotPayloadInspectorHelper.h:29
HLT_FULL_cff.tagInfos
tagInfos
Definition:
HLT_FULL_cff.py:53063
edm::ESConsumesCollector
Definition:
ESConsumesCollector.h:61
GBRWrapperRcd.h
ESConsumesCollector.h
JetTagComputer::TagInfoHelper
Definition:
JetTagComputer.h:16
CandidateBoostedDoubleSecondaryVertexComputer::useGBRForest_
const bool useGBRForest_
Definition:
CandidateBoostedDoubleSecondaryVertexComputer.h:24
JetTagComputerRecord
Definition:
JetTagComputerRecord.h:10
CandidateBoostedDoubleSecondaryVertexComputer::Tokens::gbrForest_
edm::ESGetToken< GBRForest, GBRWrapperRcd > gbrForest_
Definition:
CandidateBoostedDoubleSecondaryVertexComputer.h:14
edm::FileInPath
Definition:
FileInPath.h:64
JetTagComputer.h
CandidateBoostedDoubleSecondaryVertexComputer::weightFile_
const edm::FileInPath weightFile_
Definition:
CandidateBoostedDoubleSecondaryVertexComputer.h:23
CandidateBoostedDoubleSecondaryVertexComputer::discriminator
float discriminator(const TagInfoHelper &tagInfos) const override
Definition:
CandidateBoostedDoubleSecondaryVertexComputer.cc:73
CandidateBoostedDoubleSecondaryVertexComputer::useAdaBoost_
const bool useAdaBoost_
Definition:
CandidateBoostedDoubleSecondaryVertexComputer.h:25
TMVAEvaluator.h
CandidateBoostedDoubleSecondaryVertexComputer::tokens_
const Tokens tokens_
Definition:
CandidateBoostedDoubleSecondaryVertexComputer.h:26
edm::ParameterSet
Definition:
ParameterSet.h:47
JetTagComputer
Definition:
JetTagComputer.h:14
cc
CandidateBoostedDoubleSecondaryVertexComputer::Tokens
Definition:
CandidateBoostedDoubleSecondaryVertexComputer.h:12
edm::ESGetToken< GBRForest, GBRWrapperRcd >
CandidateBoostedDoubleSecondaryVertexComputer
Definition:
CandidateBoostedDoubleSecondaryVertexComputer.h:10
CandidateBoostedDoubleSecondaryVertexComputer::initialize
void initialize(const JetTagComputerRecord &) override
Definition:
CandidateBoostedDoubleSecondaryVertexComputer.cc:34
CandidateBoostedDoubleSecondaryVertexComputer::mvaID
std::unique_ptr< TMVAEvaluator > mvaID
Definition:
CandidateBoostedDoubleSecondaryVertexComputer.h:28
ParameterSet.h
CandidateBoostedDoubleSecondaryVertexComputer::Tokens::Tokens
Tokens(const edm::ParameterSet ¶meters, edm::ESConsumesCollector &&cc)
Definition:
CandidateBoostedDoubleSecondaryVertexComputer.cc:11
CandidateBoostedDoubleSecondaryVertexComputer::CandidateBoostedDoubleSecondaryVertexComputer
CandidateBoostedDoubleSecondaryVertexComputer(const edm::ParameterSet ¶meters, Tokens tokens)
Definition:
CandidateBoostedDoubleSecondaryVertexComputer.cc:21
Generated for CMSSW Reference Manual by
1.8.16