Main Page
Namespaces
Classes
Package Documentation
RecoEgamma
EgammaHLTAlgos
interface
EgammaHLTHcalIsolationDoubleCone.h
Go to the documentation of this file.
1
#ifndef EgammaHLTAlgos_EgammaHLTHcalIsolationDoubleCone_h
2
#define EgammaHLTAlgos_EgammaHLTHcalIsolationDoubleCone_h
3
// -*- C++ -*-
4
//
5
// Package: EgammaHLTAlgos
6
// Class : EgammaHLTHcalIsolationDoubleCone
7
//
18
//
19
// Original Author: Monica Vazquez Acosta - CERN
20
// Created: Tue Jun 13 12:18:35 CEST 2006
21
//
22
23
#include "
DataFormats/EgammaCandidates/interface/Electron.h
"
24
#include "
DataFormats/EgammaCandidates/interface/Photon.h
"
25
26
#include "
DataFormats/EgammaReco/interface/SuperCluster.h
"
27
28
#include "
DataFormats/HcalRecHit/interface/HcalRecHitCollections.h
"
29
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
30
#include "
Geometry/CaloGeometry/interface/CaloCellGeometry.h
"
31
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
32
//For160 #include "Geometry/Vector/interface/GlobalPoint.h"
33
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
34
35
#include "
DataFormats/RecoCandidate/interface/RecoCandidate.h
"
36
37
class
EgammaHLTHcalIsolationDoubleCone
38
{
39
40
public
:
41
42
EgammaHLTHcalIsolationDoubleCone
(
double
egHcalIso_PtMin,
double
egHcalIso_ConeSize,
double
egHcalIso_Exclusion) :
43
ptMin
(egHcalIso_PtMin),
conesize
(egHcalIso_ConeSize),
exclusion
(egHcalIso_Exclusion){
44
/*
45
std::cout << "EgammaHLTHcalIsolation instance:"
46
<< " ptMin=" << ptMin << "|" << ptMinG
47
<< " conesize="<< conesize << "|" << conesizeG
48
<< std::endl;
49
*/
50
}
51
52
53
float
isolPtSum
(
const
reco::RecoCandidate
* recocandidate,
const
HBHERecHitCollection
*
hbhe
,
const
HFRecHitCollection
*
hf
,
const
CaloGeometry
*
geometry
)
const
;
54
55
57
float
getptMin
()
const
{
return
ptMin
; }
59
float
getConeSize
()
const
{
return
conesize
; }
61
float
getExclusion
()
const
{
return
exclusion
; }
62
63
private
:
64
65
// ---------- member data --------------------------------
66
// Parameters of isolation cone geometry.
67
const
float
ptMin
;
68
const
float
conesize
;
69
const
float
exclusion
;
70
71
};
72
73
74
#endif
EgammaHLTHcalIsolationDoubleCone::exclusion
const float exclusion
Definition:
EgammaHLTHcalIsolationDoubleCone.h:69
EgammaHLTHcalIsolationDoubleCone::getConeSize
float getConeSize() const
Get isolation cone size.
Definition:
EgammaHLTHcalIsolationDoubleCone.h:59
MessageLogger.h
CaloCellGeometry.h
edm::SortedCollection
Definition:
SortedCollection.h:50
EgammaHLTHcalIsolationDoubleCone::getptMin
float getptMin() const
Get pt cut for hcal hits.
Definition:
EgammaHLTHcalIsolationDoubleCone.h:57
Photon.h
EgammaHLTHcalIsolationDoubleCone
Definition:
EgammaHLTHcalIsolationDoubleCone.h:37
photonIsolationHIProducer_cfi.hbhe
hbhe
Definition:
photonIsolationHIProducer_cfi.py:8
EgammaHLTHcalIsolationDoubleCone::EgammaHLTHcalIsolationDoubleCone
EgammaHLTHcalIsolationDoubleCone(double egHcalIso_PtMin, double egHcalIso_ConeSize, double egHcalIso_Exclusion)
Definition:
EgammaHLTHcalIsolationDoubleCone.h:42
EgammaHLTHcalIsolationDoubleCone::getExclusion
float getExclusion() const
Get exclusion region.
Definition:
EgammaHLTHcalIsolationDoubleCone.h:61
HcalDetId.h
CaloGeometry
Definition:
CaloGeometry.h:23
EgammaHLTHcalIsolationDoubleCone::isolPtSum
float isolPtSum(const reco::RecoCandidate *recocandidate, const HBHERecHitCollection *hbhe, const HFRecHitCollection *hf, const CaloGeometry *geometry) const
Definition:
EgammaHLTHcalIsolationDoubleCone.cc:24
photonIsolationHIProducer_cfi.hf
hf
Definition:
photonIsolationHIProducer_cfi.py:9
EgammaHLTHcalIsolationDoubleCone::ptMin
const float ptMin
Definition:
EgammaHLTHcalIsolationDoubleCone.h:67
CaloGeometry.h
HcalRecHitCollections.h
reco::RecoCandidate
Definition:
RecoCandidate.h:20
geometry
Definition:
geometry.py:1
Electron.h
RecoCandidate.h
EgammaHLTHcalIsolationDoubleCone::conesize
const float conesize
Definition:
EgammaHLTHcalIsolationDoubleCone.h:68
SuperCluster.h
Generated for CMSSW Reference Manual by
1.8.11