Main Page
Namespaces
Classes
Package Documentation
HLTrigger
btau
plugins
ConeIsolationAlgorithm.h
Go to the documentation of this file.
1
#ifndef ConeIsolationAlgorithm_H
2
#define ConeIsolationAlgorithm_H
3
#include "
DataFormats/BTauReco/interface/IsolatedTauTagInfo.h
"
4
#include "
DataFormats/BTauReco/interface/JetTag.h
"
5
#include "
DataFormats/VertexReco/interface/Vertex.h
"
6
#include "
DataFormats/JetReco/interface/Jet.h
"
7
#include "
DataFormats/TrackReco/interface/Track.h
"
8
#include "
DataFormats/JetReco/interface/JetTracksAssociation.h
"
9
#include "
DataFormats/GeometryVector/interface/GlobalVector.h
"
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
//Math
12
#include "Math/GenVector/VectorUtil.h"
13
#include "Math/GenVector/PxPyPzE4D.h"
14
15
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
16
17
class
ConeIsolationAlgorithm
{
18
public
:
19
20
ConeIsolationAlgorithm
(
const
edm::ParameterSet
&
parameters
);
21
ConeIsolationAlgorithm
();
22
23
// For out of framework usage we may need a different constructor
24
// so we keep datamember as builtin types (instead of ParameterSet)
25
// ConeIsolationAlgorithm (int,float,....);
26
27
~ConeIsolationAlgorithm
() {}
28
29
static
void
fillDescription
(
edm::ParameterSetDescription
& desc);
30
31
std::pair<float ,reco::IsolatedTauTagInfo>
tag
(
const
reco::JetTracksAssociationRef
&
jetTracks
,
const
reco::Vertex
&
pv
);
32
33
34
private
:
35
// algorithm parameters
36
int
m_cutPixelHits
;
37
int
m_cutTotalHits
;
38
double
m_cutMaxTIP
;
39
double
m_cutMinPt
;
40
double
m_cutMaxChiSquared
;
41
double
matching_cone
;
42
double
signal_cone
;
43
double
isolation_cone
;
44
double
pt_min_isolation
;
45
double
pt_min_leadTrack
;
46
double
dZ_vertex
;
47
int
n_tracks_isolation_ring
;
48
bool
useVertexConstrain_
;
49
bool
useFixedSizeCone
;
50
double
variableConeParameter
;
51
double
variableMaxCone
;
52
double
variableMinCone
;
53
};
54
55
#endif // ConeIsolationAlgorithm_H
ConeIsolationAlgorithm::variableMaxCone
double variableMaxCone
Definition:
ConeIsolationAlgorithm.h:51
ConeIsolationAlgorithm::fillDescription
static void fillDescription(edm::ParameterSetDescription &desc)
Definition:
ConeIsolationAlgorithm.cc:32
ConeIsolationAlgorithm::isolation_cone
double isolation_cone
Definition:
ConeIsolationAlgorithm.h:43
ConeIsolationAlgorithm::variableConeParameter
double variableConeParameter
Definition:
ConeIsolationAlgorithm.h:50
edm::Ref< Container >
ConeIsolationAlgorithm::signal_cone
double signal_cone
Definition:
ConeIsolationAlgorithm.h:42
ConeIsolationAlgorithm::ConeIsolationAlgorithm
ConeIsolationAlgorithm()
ConeIsolationAlgorithm::matching_cone
double matching_cone
Definition:
ConeIsolationAlgorithm.h:41
ConeIsolationAlgorithm::m_cutTotalHits
int m_cutTotalHits
Definition:
ConeIsolationAlgorithm.h:37
ConeIsolationAlgorithm::m_cutMaxTIP
double m_cutMaxTIP
Definition:
ConeIsolationAlgorithm.h:38
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:50
ParameterSet.h
ConeIsolationAlgorithm::dZ_vertex
double dZ_vertex
Definition:
ConeIsolationAlgorithm.h:46
ConeIsolationAlgorithm::m_cutPixelHits
int m_cutPixelHits
Definition:
ConeIsolationAlgorithm.h:36
reco::Vertex
Definition:
Vertex.h:34
IsolatedTauTagInfo.h
ConeIsolationAlgorithm
Definition:
ConeIsolationAlgorithm.h:17
ConeIsolationAlgorithm::variableMinCone
double variableMinCone
Definition:
ConeIsolationAlgorithm.h:52
MetAnalyzer.pv
def pv(vc)
Definition:
MetAnalyzer.py:6
Jet.h
JetTag.h
impactParameterTagInfos_cfi.jetTracks
jetTracks
Definition:
impactParameterTagInfos_cfi.py:4
Vertex.h
GlobalVector.h
ConeIsolationAlgorithm::tag
std::pair< float,reco::IsolatedTauTagInfo > tag(const reco::JetTracksAssociationRef &jetTracks, const reco::Vertex &pv)
Definition:
ConeIsolationAlgorithm.cc:52
ConeIsolationAlgorithm::m_cutMinPt
double m_cutMinPt
Definition:
ConeIsolationAlgorithm.h:39
ConeIsolationAlgorithm::pt_min_isolation
double pt_min_isolation
Definition:
ConeIsolationAlgorithm.h:44
ConeIsolationAlgorithm::~ConeIsolationAlgorithm
~ConeIsolationAlgorithm()
Definition:
ConeIsolationAlgorithm.h:27
ConeIsolationAlgorithm::m_cutMaxChiSquared
double m_cutMaxChiSquared
Definition:
ConeIsolationAlgorithm.h:40
ConeIsolationAlgorithm::n_tracks_isolation_ring
int n_tracks_isolation_ring
Definition:
ConeIsolationAlgorithm.h:47
ConeIsolationAlgorithm::useFixedSizeCone
bool useFixedSizeCone
Definition:
ConeIsolationAlgorithm.h:49
parameters
parameters
Definition:
BeamSpot_PayloadInspector.cc:14
JetTracksAssociation.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ConeIsolationAlgorithm::pt_min_leadTrack
double pt_min_leadTrack
Definition:
ConeIsolationAlgorithm.h:45
ConfigurationDescriptions.h
Track.h
ConeIsolationAlgorithm::useVertexConstrain_
bool useVertexConstrain_
Definition:
ConeIsolationAlgorithm.h:48
Generated for CMSSW Reference Manual by
1.8.11