Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
HLTrigger
btau
src
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_nthTrack
;
37
int
m_cutPixelHits
;
38
int
m_cutTotalHits
;
39
double
m_cutMaxTIP
;
40
double
m_cutMinPt
;
41
double
m_cutMaxDecayLen
;
42
double
m_cutMaxChiSquared
;
43
double
matching_cone
;
44
double
signal_cone
;
45
double
isolation_cone
;
46
double
pt_min_isolation
;
47
double
pt_min_leadTrack
;
48
double
dZ_vertex
;
49
int
n_tracks_isolation_ring
;
50
bool
useVertexConstrain_
;
51
bool
useFixedSizeCone
;
52
double
variableConeParameter
;
53
double
variableMaxCone
;
54
double
variableMinCone
;
55
};
56
57
#endif // ConeIsolationAlgorithm_H
ConeIsolationAlgorithm::variableMaxCone
double variableMaxCone
Definition:
ConeIsolationAlgorithm.h:53
ConeIsolationAlgorithm::fillDescription
static void fillDescription(edm::ParameterSetDescription &desc)
Definition:
ConeIsolationAlgorithm.cc:33
Parameters.parameters
dictionary parameters
Definition:
Parameters.py:2
ConeIsolationAlgorithm::m_cutMaxDecayLen
double m_cutMaxDecayLen
Definition:
ConeIsolationAlgorithm.h:41
ConeIsolationAlgorithm::isolation_cone
double isolation_cone
Definition:
ConeIsolationAlgorithm.h:45
ConeIsolationAlgorithm::variableConeParameter
double variableConeParameter
Definition:
ConeIsolationAlgorithm.h:52
ConeIsolationAlgorithm::signal_cone
double signal_cone
Definition:
ConeIsolationAlgorithm.h:44
ConeIsolationAlgorithm::ConeIsolationAlgorithm
ConeIsolationAlgorithm()
Definition:
ConeIsolationAlgorithm.cc:6
ConeIsolationAlgorithm::matching_cone
double matching_cone
Definition:
ConeIsolationAlgorithm.h:43
ConeIsolationAlgorithm::m_cutTotalHits
int m_cutTotalHits
Definition:
ConeIsolationAlgorithm.h:38
ConeIsolationAlgorithm::m_cutMaxTIP
double m_cutMaxTIP
Definition:
ConeIsolationAlgorithm.h:39
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:50
ParameterSet.h
ConeIsolationAlgorithm::dZ_vertex
double dZ_vertex
Definition:
ConeIsolationAlgorithm.h:48
ConeIsolationAlgorithm::m_cutPixelHits
int m_cutPixelHits
Definition:
ConeIsolationAlgorithm.h:37
reco::Vertex
Definition:
Vertex.h:34
IsolatedTauTagInfo.h
ConeIsolationAlgorithm
Definition:
ConeIsolationAlgorithm.h:17
ConeIsolationAlgorithm::variableMinCone
double variableMinCone
Definition:
ConeIsolationAlgorithm.h:54
Jet.h
JetTag.h
Vertex.h
GlobalVector.h
ConeIsolationAlgorithm::tag
std::pair< float,reco::IsolatedTauTagInfo > tag(const reco::JetTracksAssociationRef &jetTracks, const reco::Vertex &pv)
Definition:
ConeIsolationAlgorithm.cc:53
ConeIsolationAlgorithm::m_cutMinPt
double m_cutMinPt
Definition:
ConeIsolationAlgorithm.h:40
ConeIsolationAlgorithm::pt_min_isolation
double pt_min_isolation
Definition:
ConeIsolationAlgorithm.h:46
ConeIsolationAlgorithm::~ConeIsolationAlgorithm
~ConeIsolationAlgorithm()
Definition:
ConeIsolationAlgorithm.h:27
ConeIsolationAlgorithm::m_cutMaxChiSquared
double m_cutMaxChiSquared
Definition:
ConeIsolationAlgorithm.h:42
ConeIsolationAlgorithm::m_nthTrack
int m_nthTrack
Definition:
ConeIsolationAlgorithm.h:36
ConeIsolationAlgorithm::n_tracks_isolation_ring
int n_tracks_isolation_ring
Definition:
ConeIsolationAlgorithm.h:49
ConeIsolationAlgorithm::useFixedSizeCone
bool useFixedSizeCone
Definition:
ConeIsolationAlgorithm.h:51
JetTracksAssociation.h
edm::ParameterSet
Definition:
ParameterSet.h:35
ConeIsolationAlgorithm::pt_min_leadTrack
double pt_min_leadTrack
Definition:
ConeIsolationAlgorithm.h:47
ConfigurationDescriptions.h
Track.h
ConeIsolationAlgorithm::useVertexConstrain_
bool useVertexConstrain_
Definition:
ConeIsolationAlgorithm.h:50
edm::Ref< Container >
Generated for CMSSW Reference Manual by
1.8.5