Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
// $Id: EgammaHLTHcalIsolationDoubleCone.h,v 1.2 2007/06/28 16:58:19 ghezzi Exp $
22
//
23
24
#include "
DataFormats/EgammaCandidates/interface/Electron.h
"
25
#include "
DataFormats/EgammaCandidates/interface/Photon.h
"
26
27
#include "
DataFormats/EgammaReco/interface/SuperCluster.h
"
28
29
#include "
DataFormats/HcalRecHit/interface/HcalRecHitCollections.h
"
30
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
31
#include "
Geometry/CaloGeometry/interface/CaloCellGeometry.h
"
32
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
33
//For160 #include "Geometry/Vector/interface/GlobalPoint.h"
34
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
35
36
#include "
DataFormats/RecoCandidate/interface/RecoCandidate.h
"
37
38
class
EgammaHLTHcalIsolationDoubleCone
39
{
40
41
public
:
42
43
EgammaHLTHcalIsolationDoubleCone
(
double
egHcalIso_PtMin,
double
egHcalIso_ConeSize,
double
egHcalIso_Exclusion) :
44
ptMin
(egHcalIso_PtMin),
conesize
(egHcalIso_ConeSize),
exclusion
(egHcalIso_Exclusion){
45
/*
46
std::cout << "EgammaHLTHcalIsolation instance:"
47
<< " ptMin=" << ptMin << "|" << ptMinG
48
<< " conesize="<< conesize << "|" << conesizeG
49
<< std::endl;
50
*/
51
}
52
53
54
float
isolPtSum
(
const
reco::RecoCandidate
* recocandidate,
const
HBHERecHitCollection
* hbhe,
const
HFRecHitCollection
* hf,
const
CaloGeometry
*
geometry
);
55
56
58
float
getptMin
() {
return
ptMin
; }
60
float
getConeSize
() {
return
conesize
; }
62
float
getExclusion
() {
return
exclusion
; }
63
64
private
:
65
66
// ---------- member data --------------------------------
67
// Parameters of isolation cone geometry.
68
float
ptMin
;
69
float
conesize
;
70
float
exclusion
;
71
72
};
73
74
75
#endif
MessageLogger.h
EgammaHLTHcalIsolationDoubleCone::ptMin
float ptMin
Definition:
EgammaHLTHcalIsolationDoubleCone.h:68
CaloCellGeometry.h
edm::SortedCollection
Definition:
SortedCollection.h:48
EgammaHLTHcalIsolationDoubleCone::isolPtSum
float isolPtSum(const reco::RecoCandidate *recocandidate, const HBHERecHitCollection *hbhe, const HFRecHitCollection *hf, const CaloGeometry *geometry)
Definition:
EgammaHLTHcalIsolationDoubleCone.cc:25
Photon.h
EgammaHLTHcalIsolationDoubleCone::conesize
float conesize
Definition:
EgammaHLTHcalIsolationDoubleCone.h:69
EgammaHLTHcalIsolationDoubleCone::getExclusion
float getExclusion()
Get exclusion region.
Definition:
EgammaHLTHcalIsolationDoubleCone.h:62
EgammaHLTHcalIsolationDoubleCone
Definition:
EgammaHLTHcalIsolationDoubleCone.h:38
EgammaHLTHcalIsolationDoubleCone::EgammaHLTHcalIsolationDoubleCone
EgammaHLTHcalIsolationDoubleCone(double egHcalIso_PtMin, double egHcalIso_ConeSize, double egHcalIso_Exclusion)
Definition:
EgammaHLTHcalIsolationDoubleCone.h:43
EgammaHLTHcalIsolationDoubleCone::getConeSize
float getConeSize()
Get isolation cone size.
Definition:
EgammaHLTHcalIsolationDoubleCone.h:60
HcalDetId.h
EgammaHLTHcalIsolationDoubleCone::getptMin
float getptMin()
Get pt cut for hcal hits.
Definition:
EgammaHLTHcalIsolationDoubleCone.h:58
CaloGeometry
Definition:
CaloGeometry.h:21
EgammaHLTHcalIsolationDoubleCone::exclusion
float exclusion
Definition:
EgammaHLTHcalIsolationDoubleCone.h:70
CaloGeometry.h
HcalRecHitCollections.h
geometry
ESHandle< TrackerGeometry > geometry
Definition:
TkLasBeamFitter.cc:178
reco::RecoCandidate
Definition:
RecoCandidate.h:21
Electron.h
RecoCandidate.h
SuperCluster.h
Generated for CMSSW Reference Manual by
1.8.5