Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
class
ConeIsolationAlgorithm
{
16
public
:
17
18
ConeIsolationAlgorithm
(
const
edm::ParameterSet
&
parameters
);
19
ConeIsolationAlgorithm
();
20
21
// For out of framework usage we may need a different constructor
22
// so we keep datamember as builtin types (instead of ParameterSet)
23
// ConeIsolationAlgorithm (int,float,....);
24
25
~ConeIsolationAlgorithm
() {}
26
27
// void setBeamSpot();
28
void
setPrimaryVertex
(
reco::Vertex
* pv) {
m_primaryVertex
= pv;}
29
30
std::pair<float ,reco::IsolatedTauTagInfo>
tag
(
const
reco::JetTracksAssociationRef
& jetTracks,
const
reco::Vertex
& pv);
31
32
33
private
:
34
reco::Vertex
*
m_primaryVertex
;
35
36
// algorithm parameters
37
int
m_nthTrack
;
38
int
m_cutPixelHits
;
39
int
m_cutTotalHits
;
40
double
m_cutMaxTIP
;
41
double
m_cutMinPt
;
42
double
m_cutMaxDecayLen
;
43
double
m_cutMaxChiSquared
;
44
double
matching_cone
;
45
double
signal_cone
;
46
double
isolation_cone
;
47
double
pt_min_isolation
;
48
double
pt_min_leadTrack
;
49
double
dZ_vertex
;
50
int
n_tracks_isolation_ring
;
51
bool
useVertexConstrain_
;
52
bool
useFixedSizeCone
;
53
double
variableConeParameter
;
54
double
variableMaxCone
;
55
double
variableMinCone
;
56
};
57
58
#endif // ConeIsolationAlgorithm_H
ConeIsolationAlgorithm::variableMaxCone
double variableMaxCone
Definition:
ConeIsolationAlgorithm.h:54
ConeIsolationAlgorithm::m_cutMaxDecayLen
double m_cutMaxDecayLen
Definition:
ConeIsolationAlgorithm.h:42
ConeIsolationAlgorithm::isolation_cone
double isolation_cone
Definition:
ConeIsolationAlgorithm.h:46
ConeIsolationAlgorithm::variableConeParameter
double variableConeParameter
Definition:
ConeIsolationAlgorithm.h:53
ConeIsolationAlgorithm::signal_cone
double signal_cone
Definition:
ConeIsolationAlgorithm.h:45
ConeIsolationAlgorithm::ConeIsolationAlgorithm
ConeIsolationAlgorithm()
Definition:
ConeIsolationAlgorithm.cc:6
ConeIsolationAlgorithm::m_primaryVertex
reco::Vertex * m_primaryVertex
Definition:
ConeIsolationAlgorithm.h:34
ConeIsolationAlgorithm::matching_cone
double matching_cone
Definition:
ConeIsolationAlgorithm.h:44
ConeIsolationAlgorithm::m_cutTotalHits
int m_cutTotalHits
Definition:
ConeIsolationAlgorithm.h:39
ConeIsolationAlgorithm::m_cutMaxTIP
double m_cutMaxTIP
Definition:
ConeIsolationAlgorithm.h:40
ParameterSet.h
ConeIsolationAlgorithm::dZ_vertex
double dZ_vertex
Definition:
ConeIsolationAlgorithm.h:49
ConeIsolationAlgorithm::m_cutPixelHits
int m_cutPixelHits
Definition:
ConeIsolationAlgorithm.h:38
reco::Vertex
Definition:
Vertex.h:35
IsolatedTauTagInfo.h
ConeIsolationAlgorithm
Definition:
ConeIsolationAlgorithm.h:15
ConeIsolationAlgorithm::variableMinCone
double variableMinCone
Definition:
ConeIsolationAlgorithm.h:55
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:33
ConeIsolationAlgorithm::m_cutMinPt
double m_cutMinPt
Definition:
ConeIsolationAlgorithm.h:41
ConeIsolationAlgorithm::pt_min_isolation
double pt_min_isolation
Definition:
ConeIsolationAlgorithm.h:47
ConeIsolationAlgorithm::setPrimaryVertex
void setPrimaryVertex(reco::Vertex *pv)
Definition:
ConeIsolationAlgorithm.h:28
ConeIsolationAlgorithm::~ConeIsolationAlgorithm
~ConeIsolationAlgorithm()
Definition:
ConeIsolationAlgorithm.h:25
ExpressReco_HICollisions_FallBack.parameters
tuple parameters
Definition:
ExpressReco_HICollisions_FallBack.py:22416
ConeIsolationAlgorithm::m_cutMaxChiSquared
double m_cutMaxChiSquared
Definition:
ConeIsolationAlgorithm.h:43
ConeIsolationAlgorithm::m_nthTrack
int m_nthTrack
Definition:
ConeIsolationAlgorithm.h:37
ConeIsolationAlgorithm::n_tracks_isolation_ring
int n_tracks_isolation_ring
Definition:
ConeIsolationAlgorithm.h:50
ConeIsolationAlgorithm::useFixedSizeCone
bool useFixedSizeCone
Definition:
ConeIsolationAlgorithm.h:52
JetTracksAssociation.h
edm::ParameterSet
Definition:
ParameterSet.h:31
ConeIsolationAlgorithm::pt_min_leadTrack
double pt_min_leadTrack
Definition:
ConeIsolationAlgorithm.h:48
Track.h
ConeIsolationAlgorithm::useVertexConstrain_
bool useVertexConstrain_
Definition:
ConeIsolationAlgorithm.h:51
edm::Ref
Definition:
AssociativeIterator.h:52
Generated for CMSSW Reference Manual by
1.8.5