Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoTauTag
RecoTau
interface
RecoTauBinnedIsolationPlugin.h
Go to the documentation of this file.
1
#ifndef RecoTauTag_RecoTau_RecoTauIsolationDiscriminantPluginBase_h
2
#define RecoTauTag_RecoTau_RecoTauIsolationDiscriminantPluginBase_h
3
/*
4
* RecoTauBinnedIsolation plugin
5
*
6
* Abstract base RecoTauDiscriminantPlugin class that computes the bin content
7
* of the isolation object p_T spectra.
8
*
9
* The binning is parameterized by the number of pileup vertices in the event.
10
*
11
* The extraction of the differnt objects to compute the spectra of is defined
12
* in the derived classes by overriding the pure abstract extractIsoObjects
13
* method.
14
*
15
* Author: Evan K. Friis, Christian Veelken (UC Davis)
16
*
17
*/
18
19
#include "
RecoTauTag/RecoTau/interface/RecoTauDiscriminantPlugins.h
"
20
#include "
DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h
"
21
22
namespace
reco
{
namespace
tau
{
23
24
class
RecoTauDiscriminationBinnedIsolation
:
public
RecoTauDiscriminantPlugin
{
25
public
:
26
RecoTauDiscriminationBinnedIsolation
(
const
edm::ParameterSet
& pset);
27
virtual
~RecoTauDiscriminationBinnedIsolation
() {}
28
void
beginEvent
();
29
std::vector<double>
operator()
(
const
reco::PFTauRef
&
tau
)
const
;
30
// Pure abstract function to extract objects to isolate with
31
virtual
reco::PFCandidateRefVector
extractIsoObjects
(
32
const
reco::PFTauRef
&
tau
)
const
= 0;
33
34
private
:
35
// Map of number of vertices to binning
36
std::map<int, std::vector<double> >
binning_
;
37
std::vector<double>
defaultBinning_
;
38
// Where to get PU vertices
39
size_t
nVertices_
;
40
edm::InputTag
puVtxSrc_
;
41
};
42
43
}}
// end namespace reco::tau
44
#endif
reco::tau::RecoTauDiscriminationBinnedIsolation::binning_
std::map< int, std::vector< double > > binning_
Definition:
RecoTauBinnedIsolationPlugin.h:36
reco::tau::RecoTauDiscriminationBinnedIsolation::operator()
std::vector< double > operator()(const reco::PFTauRef &tau) const
Definition:
RecoTauBinnedIsolationPlugin.cc:55
reco::tau::RecoTauDiscriminationBinnedIsolation::extractIsoObjects
virtual reco::PFCandidateRefVector extractIsoObjects(const reco::PFTauRef &tau) const =0
reco::tau::RecoTauDiscriminationBinnedIsolation::RecoTauDiscriminationBinnedIsolation
RecoTauDiscriminationBinnedIsolation(const edm::ParameterSet &pset)
Definition:
RecoTauBinnedIsolationPlugin.cc:21
reco::tau::RecoTauDiscriminationBinnedIsolation::~RecoTauDiscriminationBinnedIsolation
virtual ~RecoTauDiscriminationBinnedIsolation()
Definition:
RecoTauBinnedIsolationPlugin.h:27
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:105
reco::tau::RecoTauDiscriminationBinnedIsolation::defaultBinning_
std::vector< double > defaultBinning_
Definition:
RecoTauBinnedIsolationPlugin.h:37
reco::tau::RecoTauDiscriminationBinnedIsolation::beginEvent
void beginEvent()
Definition:
RecoTauBinnedIsolationPlugin.cc:48
reco::tau::RecoTauDiscriminationBinnedIsolation::puVtxSrc_
edm::InputTag puVtxSrc_
Definition:
RecoTauBinnedIsolationPlugin.h:40
metsig::tau
Definition:
SignAlgoResolutions.h:41
reco::tau::RecoTauDiscriminationBinnedIsolation
Definition:
RecoTauBinnedIsolationPlugin.h:24
edm::RefVector< PFCandidateCollection >
reco::tau::RecoTauDiscriminantPlugin
Definition:
RecoTauDiscriminantPlugins.h:28
edm::InputTag
Definition:
InputTag.h:12
edm::ParameterSet
Definition:
ParameterSet.h:35
reco::tau::RecoTauDiscriminationBinnedIsolation::nVertices_
size_t nVertices_
Definition:
RecoTauBinnedIsolationPlugin.h:39
PFCandidateFwd.h
edm::Ref< PFTauCollection >
RecoTauDiscriminantPlugins.h
Generated for CMSSW Reference Manual by
1.8.5