PhysicsTools
PatUtils
interface
bJetSelector.h
Go to the documentation of this file.
1
#ifndef PatUtils_bJetSelector_H_
2
#define PatUtils_bJetSelector_H_
3
16
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
17
#include "
DataFormats/PatCandidates/interface/Jet.h
"
18
19
class
bJetSelector
{
20
public
:
21
bJetSelector
(
const
edm::ParameterSet
&
cfg
);
22
bool
IsbTag
(
const
pat::Jet
& JetCand,
const
std::string
& operpoint,
const
std::string
& tagger)
const
;
23
bool
IsbTag
(
const
pat::Jet
& JetCand,
const
std::string
& operpoint)
const
;
24
bool
IsbTag
(
const
pat::Jet
& JetCand)
const
;
25
//
26
private
:
27
std::map<std::string, std::map<std::string, double> >
discCut
;
//map to associate cuts and taggers
28
std::vector<double>
discriminantCutsLoose_
;
//list of discriminant cut per tagger
29
std::vector<double>
discriminantCutsMedium_
;
//list of discriminant cut per tagger
30
std::vector<double>
discriminantCutsTight_
;
//list of discriminant cut per tagger
31
std::vector<std::string>
BTagdiscriminator_
;
//list of taggers
32
std::string
DefaultOp_
;
//default operating point
33
std::string
DefaultTg_
;
//default taggers
34
};
35
36
#endif
bJetSelector::DefaultTg_
std::string DefaultTg_
Definition:
bJetSelector.h:33
bJetSelector::discriminantCutsMedium_
std::vector< double > discriminantCutsMedium_
Definition:
bJetSelector.h:29
bJetSelector::bJetSelector
bJetSelector(const edm::ParameterSet &cfg)
Definition:
bJetSelector.cc:8
bJetSelector::BTagdiscriminator_
std::vector< std::string > BTagdiscriminator_
Definition:
bJetSelector.h:31
bJetSelector::discriminantCutsLoose_
std::vector< double > discriminantCutsLoose_
Definition:
bJetSelector.h:28
pat::Jet
Analysis-level calorimeter jet class.
Definition:
Jet.h:77
bJetSelector::discriminantCutsTight_
std::vector< double > discriminantCutsTight_
Definition:
bJetSelector.h:30
bJetSelector::DefaultOp_
std::string DefaultOp_
Definition:
bJetSelector.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
Jet.h
looper.cfg
cfg
Definition:
looper.py:297
bJetSelector::discCut
std::map< std::string, std::map< std::string, double > > discCut
Definition:
bJetSelector.h:27
ParameterSet.h
bJetSelector::IsbTag
bool IsbTag(const pat::Jet &JetCand, const std::string &operpoint, const std::string &tagger) const
Definition:
bJetSelector.cc:24
bJetSelector
Definition:
bJetSelector.h:19
Generated for CMSSW Reference Manual by
1.8.16