Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoMET
METAlgorithms
interface
HcalHaloAlgo.h
Go to the documentation of this file.
1
#ifndef RECOMET_METALGORITHMS_HCALHALOALGO_H
2
#define RECOMET_METALGORITHMS_HCALHALOALGO_H
3
4
#include "
DataFormats/METReco/interface/HcalHaloData.h
"
5
6
/*
7
[class]: HcalHaloAlgo
8
[authors]: R. Remington, The University of Florida
9
[description]: Algorithm to calculate quantities relevant to HcalHaloData object
10
[date]: October 15, 2009
11
*/
12
13
#include "
Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h
"
14
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
15
#include "
Geometry/CaloGeometry/interface/CaloCellGeometry.h
"
16
#include "
Geometry/Records/interface/CaloGeometryRecord.h
"
17
18
#include "
DataFormats/DetId/interface/DetId.h
"
19
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
20
#include "
DataFormats/HcalDetId/interface/HcalSubdetector.h
"
21
#include "
DataFormats/HcalRecHit/interface/HBHERecHit.h
"
22
#include "
DataFormats/HcalRecHit/interface/HFRecHit.h
"
23
#include "
DataFormats/HcalRecHit/interface/HORecHit.h
"
24
#include "
DataFormats/HcalRecHit/interface/HcalRecHitCollections.h
"
25
#include "
DataFormats/CaloRecHit/interface/CaloRecHit.h
"
26
#include "
DataFormats/CaloTowers/interface/CaloTower.h
"
27
#include "
DataFormats/CaloTowers/interface/CaloTowerDetId.h
"
28
#include "
DataFormats/CaloTowers/interface/CaloTowerCollection.h
"
29
30
class
HcalHaloAlgo
{
31
public
:
32
//constructor
33
HcalHaloAlgo
();
34
//destructor
35
~HcalHaloAlgo
(){}
36
37
// run algorithm
38
reco::HcalHaloData
Calculate
(
const
CaloGeometry
& TheCaloGeometry,
edm::Handle<HBHERecHitCollection>
& TheHBHERecHits,
edm::Handle<CaloTowerCollection>
& TheCaloTowers);
39
40
reco::HcalHaloData
Calculate
(
const
CaloGeometry
& TheCaloGeometry,
edm::Handle<HBHERecHitCollection>
& TheHBHERecHits);
41
42
// Set RecHit Energy Thresholds
43
void
SetRecHitEnergyThresholds
(
float
HB,
float
HE){
HBRecHitEnergyThreshold
= HB;
HERecHitEnergyThreshold
= HE;}
44
45
// Set Phi Wedge Thresholds
46
void
SetPhiWedgeEnergyThreshold
(
float
SumE ){
SumEnergyThreshold
= SumE ;}
47
void
SetPhiWedgeNHitsThreshold
(
int
nhits
) {
NHitsThreshold
=
nhits
; }
48
void
SetPhiWedgeThresholds
(
float
SumE,
int
nhits
) {
SumEnergyThreshold
= SumE ;
NHitsThreshold
=
nhits
;}
49
50
// Get RecHit Energy Threshold
51
float
GetHBRecHitEnergyThreshold
(){
return
HBRecHitEnergyThreshold
;}
52
float
GetHERecHitEnergyThreshold
(){
return
HERecHitEnergyThreshold
;}
53
54
// Get Phi Wedge Threhsolds
55
float
GetPhiWedgeEnergyThreshold
() {
return
SumEnergyThreshold
;}
56
int
GetPhiWedgeNHitsThreshold
() {
return
NHitsThreshold
;}
57
58
private
:
59
// Invidiual RecHit Threhsolds
60
float
HBRecHitEnergyThreshold
;
61
float
HERecHitEnergyThreshold
;
62
63
// Phi Wedge Thresholds
64
float
SumEnergyThreshold
;
65
int
NHitsThreshold
;
66
67
};
68
69
#endif
HORecHit.h
CaloTowerCollection.h
CaloCellGeometry.h
HcalHaloAlgo::HERecHitEnergyThreshold
float HERecHitEnergyThreshold
Definition:
HcalHaloAlgo.h:61
HcalSubdetector.h
HcalHaloAlgo::SetRecHitEnergyThresholds
void SetRecHitEnergyThresholds(float HB, float HE)
Definition:
HcalHaloAlgo.h:43
CaloTower.h
edm::Handle
Definition:
AssociativeIterator.h:47
HBHERecHit.h
HcalHaloAlgo
Definition:
HcalHaloAlgo.h:30
HcalHaloAlgo::SetPhiWedgeEnergyThreshold
void SetPhiWedgeEnergyThreshold(float SumE)
Definition:
HcalHaloAlgo.h:46
HcalHaloAlgo::GetHERecHitEnergyThreshold
float GetHERecHitEnergyThreshold()
Definition:
HcalHaloAlgo.h:52
nhits
Definition:
HIMultiTrackSelector.h:41
CaloGeometryRecord.h
HcalDetId.h
HcalHaloAlgo::GetHBRecHitEnergyThreshold
float GetHBRecHitEnergyThreshold()
Definition:
HcalHaloAlgo.h:51
CaloSubdetectorGeometry.h
HcalHaloAlgo::GetPhiWedgeEnergyThreshold
float GetPhiWedgeEnergyThreshold()
Definition:
HcalHaloAlgo.h:55
HcalHaloAlgo::HcalHaloAlgo
HcalHaloAlgo()
Definition:
HcalHaloAlgo.cc:20
CaloGeometry
Definition:
CaloGeometry.h:22
HcalHaloAlgo::Calculate
reco::HcalHaloData Calculate(const CaloGeometry &TheCaloGeometry, edm::Handle< HBHERecHitCollection > &TheHBHERecHits, edm::Handle< CaloTowerCollection > &TheCaloTowers)
Definition:
HcalHaloAlgo.cc:33
HFRecHit.h
HcalHaloAlgo::~HcalHaloAlgo
~HcalHaloAlgo()
Definition:
HcalHaloAlgo.h:35
HcalHaloAlgo::SetPhiWedgeThresholds
void SetPhiWedgeThresholds(float SumE, int nhits)
Definition:
HcalHaloAlgo.h:48
CaloTowerDetId.h
reco::HcalHaloData
Definition:
HcalHaloData.h:29
HcalHaloData.h
CaloGeometry.h
HcalHaloAlgo::GetPhiWedgeNHitsThreshold
int GetPhiWedgeNHitsThreshold()
Definition:
HcalHaloAlgo.h:56
HcalHaloAlgo::HBRecHitEnergyThreshold
float HBRecHitEnergyThreshold
Definition:
HcalHaloAlgo.h:60
HcalHaloAlgo::SumEnergyThreshold
float SumEnergyThreshold
Definition:
HcalHaloAlgo.h:64
HcalRecHitCollections.h
HcalHaloAlgo::SetPhiWedgeNHitsThreshold
void SetPhiWedgeNHitsThreshold(int nhits)
Definition:
HcalHaloAlgo.h:47
CaloRecHit.h
HcalHaloAlgo::NHitsThreshold
int NHitsThreshold
Definition:
HcalHaloAlgo.h:65
DetId.h
Generated for CMSSW Reference Manual by
1.8.5