Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RecoBTag
SoftLepton
interface
LeptonSelector.h
Go to the documentation of this file.
1
#ifndef RecoBTag_SoftLepton_LeptonSelector_h
2
#define RecoBTag_SoftLepton_LeptonSelector_h
3
4
#include <string>
5
6
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
7
8
#include "
DataFormats/BTauReco/interface/SoftLeptonTagInfo.h
"
9
10
namespace
btag
{
11
12
class
LeptonSelector
{
13
public
:
14
LeptonSelector
(
const
edm::ParameterSet
&
params
);
15
~LeptonSelector
();
16
17
bool
operator()
(
const
reco::SoftLeptonProperties
&properties,
bool
use3d
=
true
)
const
;
18
19
inline
bool
isAny
()
const
{
return
m_sign
==
any
; }
20
inline
bool
isPositive
()
const
{
return
m_sign
==
positive
; }
21
inline
bool
isNegative
()
const
{
return
m_sign
==
negative
; }
22
23
private
:
25
26
enum
sign
{
negative
= -1,
any
= 0,
positive
= 1 };
27
28
static
sign
option
(
const
std::string
&election);
29
30
sign
m_sign
;
31
reco::SoftLeptonProperties::Quality::Generic
m_leptonId
;
32
float
m_qualityCut
;
33
};
34
35
}
// namespace btag
36
37
#endif // RecoBTag_SoftLepton_LeptonSelector_h
reco::SoftLeptonProperties::Quality::Generic
Generic
Definition:
TemplatedSoftLeptonTagInfo.h:53
btag::LeptonSelector::m_qualityCut
float m_qualityCut
Definition:
LeptonSelector.h:32
submitPVValidationJobs.params
list params
Definition:
submitPVValidationJobs.py:487
btag::LeptonSelector::sign
sign
optionally select leptons based on their impact parameter sign
Definition:
LeptonSelector.h:26
SoftLeptonTagInfo.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
btag::LeptonSelector::m_sign
sign m_sign
Definition:
LeptonSelector.h:30
btag::LeptonSelector::isPositive
bool isPositive() const
Definition:
LeptonSelector.h:20
btag::LeptonSelector::LeptonSelector
LeptonSelector(const edm::ParameterSet ¶ms)
Definition:
LeptonSelector.cc:12
BTagSF.btag
tuple btag
Definition:
BTagSF.py:16
btag::LeptonSelector::positive
Definition:
LeptonSelector.h:26
btag::LeptonSelector::option
static sign option(const std::string &election)
Definition:
LeptonSelector.cc:39
btag::LeptonSelector::negative
Definition:
LeptonSelector.h:26
btag::LeptonSelector::isNegative
bool isNegative() const
Definition:
LeptonSelector.h:21
btag::LeptonSelector::any
Definition:
LeptonSelector.h:26
HLT_FULL_cff.use3d
tuple use3d
Definition:
HLT_FULL_cff.py:6733
btag::LeptonSelector::operator()
bool operator()(const reco::SoftLeptonProperties &properties, bool use3d=true) const
Definition:
LeptonSelector.cc:26
btag::LeptonSelector::m_leptonId
reco::SoftLeptonProperties::Quality::Generic m_leptonId
Definition:
LeptonSelector.h:31
btag::LeptonSelector
Definition:
LeptonSelector.h:12
btag::LeptonSelector::~LeptonSelector
~LeptonSelector()
Definition:
LeptonSelector.cc:24
edm::ParameterSet
Definition:
ParameterSet.h:47
reco::SoftLeptonProperties
Definition:
TemplatedSoftLeptonTagInfo.h:15
btag::LeptonSelector::isAny
bool isAny() const
Definition:
LeptonSelector.h:19
Generated for CMSSW Reference Manual by
1.8.5