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
ConeIsolationAlgorithm
(
const
edm::ParameterSet
&
parameters
);
20
ConeIsolationAlgorithm
();
21
22
// For out of framework usage we may need a different constructor
23
// so we keep datamember as builtin types (instead of ParameterSet)
24
// ConeIsolationAlgorithm (int,float,....);
25
26
~ConeIsolationAlgorithm
() {}
27
28
static
void
fillDescription
(
edm::ParameterSetDescription
&
desc
);
29
30
std::pair<float, reco::IsolatedTauTagInfo>
tag
(
const
reco::JetTracksAssociationRef
&
jetTracks
,
31
const
reco::Vertex
&
pv
);
32
33
private
:
34
// algorithm parameters
35
int
m_cutPixelHits
;
36
int
m_cutTotalHits
;
37
double
m_cutMaxTIP
;
38
double
m_cutMinPt
;
39
double
m_cutMaxChiSquared
;
40
double
matching_cone
;
41
double
signal_cone
;
42
double
isolation_cone
;
43
double
pt_min_isolation
;
44
double
pt_min_leadTrack
;
45
double
dZ_vertex
;
46
int
n_tracks_isolation_ring
;
47
bool
useVertexConstrain_
;
48
bool
useFixedSizeCone
;
49
double
variableConeParameter
;
50
double
variableMaxCone
;
51
double
variableMinCone
;
52
};
53
54
#endif // ConeIsolationAlgorithm_H
ConeIsolationAlgorithm::variableMaxCone
double variableMaxCone
Definition:
ConeIsolationAlgorithm.h:50
Vertex.h
ConeIsolationAlgorithm::fillDescription
static void fillDescription(edm::ParameterSetDescription &desc)
Definition:
ConeIsolationAlgorithm.cc:31
JetTracksAssociation.h
ConeIsolationAlgorithm::isolation_cone
double isolation_cone
Definition:
ConeIsolationAlgorithm.h:42
ConeIsolationAlgorithm::variableConeParameter
double variableConeParameter
Definition:
ConeIsolationAlgorithm.h:49
edm::Ref
Definition:
AssociativeIterator.h:58
ConeIsolationAlgorithm::signal_cone
double signal_cone
Definition:
ConeIsolationAlgorithm.h:41
ConeIsolationAlgorithm::ConeIsolationAlgorithm
ConeIsolationAlgorithm()
ConeIsolationAlgorithm::matching_cone
double matching_cone
Definition:
ConeIsolationAlgorithm.h:40
BeamSpotPI::parameters
parameters
Definition:
BeamSpotPayloadInspectorHelper.h:33
ConeIsolationAlgorithm::m_cutTotalHits
int m_cutTotalHits
Definition:
ConeIsolationAlgorithm.h:36
ConeIsolationAlgorithm::m_cutMaxTIP
double m_cutMaxTIP
Definition:
ConeIsolationAlgorithm.h:37
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
ParameterSet.h
ConeIsolationAlgorithm::dZ_vertex
double dZ_vertex
Definition:
ConeIsolationAlgorithm.h:45
ConeIsolationAlgorithm::m_cutPixelHits
int m_cutPixelHits
Definition:
ConeIsolationAlgorithm.h:35
reco::Vertex
Definition:
Vertex.h:35
IsolatedTauTagInfo.h
ConeIsolationAlgorithm
Definition:
ConeIsolationAlgorithm.h:17
ConeIsolationAlgorithm::variableMinCone
double variableMinCone
Definition:
ConeIsolationAlgorithm.h:51
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
HLT_2022v12_cff.jetTracks
jetTracks
Definition:
HLT_2022v12_cff.py:36644
MetAnalyzer.pv
def pv(vc)
Definition:
MetAnalyzer.py:7
Jet.h
JetTag.h
GlobalVector.h
ConeIsolationAlgorithm::tag
std::pair< float, reco::IsolatedTauTagInfo > tag(const reco::JetTracksAssociationRef &jetTracks, const reco::Vertex &pv)
Definition:
ConeIsolationAlgorithm.cc:51
ConeIsolationAlgorithm::m_cutMinPt
double m_cutMinPt
Definition:
ConeIsolationAlgorithm.h:38
ConeIsolationAlgorithm::pt_min_isolation
double pt_min_isolation
Definition:
ConeIsolationAlgorithm.h:43
ConeIsolationAlgorithm::~ConeIsolationAlgorithm
~ConeIsolationAlgorithm()
Definition:
ConeIsolationAlgorithm.h:26
ConeIsolationAlgorithm::m_cutMaxChiSquared
double m_cutMaxChiSquared
Definition:
ConeIsolationAlgorithm.h:39
ConeIsolationAlgorithm::n_tracks_isolation_ring
int n_tracks_isolation_ring
Definition:
ConeIsolationAlgorithm.h:46
ConeIsolationAlgorithm::useFixedSizeCone
bool useFixedSizeCone
Definition:
ConeIsolationAlgorithm.h:48
Track.h
edm::ParameterSet
Definition:
ParameterSet.h:47
ConeIsolationAlgorithm::pt_min_leadTrack
double pt_min_leadTrack
Definition:
ConeIsolationAlgorithm.h:44
ConfigurationDescriptions.h
ConeIsolationAlgorithm::useVertexConstrain_
bool useVertexConstrain_
Definition:
ConeIsolationAlgorithm.h:47
Generated for CMSSW Reference Manual by
1.8.14