CMS 3D CMS Logo

HcalHaloAlgo.h
Go to the documentation of this file.
1 #ifndef RECOMET_METALGORITHMS_HCALHALOALGO_H
2 #define RECOMET_METALGORITHMS_HCALHALOALGO_H
3 
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 
15 
19 
21 
24 
38 
40 
41 class HcalHaloAlgo {
42 public:
43  //constructor
45 
46  // run algorithm
47  reco::HcalHaloData Calculate(const CaloGeometry& TheCaloGeometry,
48  edm::Handle<HBHERecHitCollection>& TheHBHERecHits,
49  edm::Handle<CaloTowerCollection>& TheCaloTowers,
50  edm::Handle<EBRecHitCollection>& TheEBRecHits,
51  edm::Handle<EERecHitCollection>& TheEERecHits,
52  const edm::EventSetup& TheSetup);
53 
54  reco::HcalHaloData Calculate(const CaloGeometry& TheCaloGeometry,
55  edm::Handle<HBHERecHitCollection>& TheHBHERecHits,
56  edm::Handle<EBRecHitCollection>& TheEBRecHits,
57  edm::Handle<EERecHitCollection>& TheEERecHits,
58  const edm::EventSetup& TheSetup);
59 
60  // Set RecHit Energy Thresholds
61  void SetRecHitEnergyThresholds(float HB, float HE) {
64  }
65 
66  // Set Phi Wedge Thresholds
67  void SetPhiWedgeEnergyThreshold(float SumE) { SumEnergyThreshold = SumE; }
69  void SetPhiWedgeThresholds(float SumE, int nhits) {
70  SumEnergyThreshold = SumE;
72  }
73 
74  // Get RecHit Energy Threshold
77 
78  // Get Phi Wedge Threhsolds
81 
82  std::vector<reco::HaloClusterCandidateHCAL> GetHaloClusterCandidateHB(
84  edm::Handle<HBHERecHitCollection>& hbherechitcoll,
85  float et_thresh_seedrh);
86  std::vector<reco::HaloClusterCandidateHCAL> GetHaloClusterCandidateHE(
88  edm::Handle<HBHERecHitCollection>& hbherechitcoll,
89  float et_thresh_seedrh);
92 
93 private:
94  // Invidiual RecHit Threhsolds
97 
98  // Phi Wedge Thresholds
101 
106 };
107 
108 #endif
CaloTower.h
HaloClusterCandidateHCAL.h
HcalHaloAlgo::HBRecHitEnergyThreshold
float HBRecHitEnergyThreshold
Definition: HcalHaloAlgo.h:95
HcalHaloAlgo::GetHERecHitEnergyThreshold
float GetHERecHitEnergyThreshold()
Definition: HcalHaloAlgo.h:76
HcalHaloAlgo::SetPhiWedgeEnergyThreshold
void SetPhiWedgeEnergyThreshold(float SumE)
Definition: HcalHaloAlgo.h:67
HcalHaloAlgo::SetRecHitEnergyThresholds
void SetRecHitEnergyThresholds(float HB, float HE)
Definition: HcalHaloAlgo.h:61
EcalBarrelTopology.h
reco::HcalHaloData
Definition: HcalHaloData.h:37
HcalHaloAlgo::GetHaloClusterCandidateHE
std::vector< reco::HaloClusterCandidateHCAL > GetHaloClusterCandidateHE(edm::Handle< EcalRecHitCollection > &eerechitcoll, edm::Handle< HBHERecHitCollection > &hbherechitcoll, float et_thresh_seedrh)
Definition: HcalHaloAlgo.cc:385
HB
Definition: GlobalHaloAlgo.cc:15
HcalHaloAlgo::geoToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geoToken_
Definition: HcalHaloAlgo.h:102
edm::Handle
Definition: AssociativeIterator.h:50
EcalRecHitCollections.h
HcalGeometry.h
CaloRecHit.h
HcalHaloAlgo::HBClusterShapeandTimeStudy
bool HBClusterShapeandTimeStudy(reco::HaloClusterCandidateHCAL hcand, bool ishlt)
Definition: HcalHaloAlgo.cc:501
DetId
Definition: DetId.h:17
CaloGeometry
Definition: CaloGeometry.h:21
HcalHaloAlgo::geo_
const CaloGeometry * geo_
Definition: HcalHaloAlgo.h:103
HFRecHit.h
HcalHaloAlgo::GetHBRecHitEnergyThreshold
float GetHBRecHitEnergyThreshold()
Definition: HcalHaloAlgo.h:75
HcalHaloAlgo::HERecHitEnergyThreshold
float HERecHitEnergyThreshold
Definition: HcalHaloAlgo.h:96
EcalRecHit.h
nhits
Definition: HIMultiTrackSelector.h:42
CaloGeometryRecord.h
Vertex.h
HcalRecHitDefs.h
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
HcalHaloData.h
EcalEndcapTopology.h
HcalDetId.h
FrameworkfwdMostUsed.h
HcalHaloAlgo::HcalHaloAlgo
HcalHaloAlgo(edm::ConsumesCollector iC)
Definition: HcalHaloAlgo.cc:24
HE
Definition: GlobalHaloAlgo.cc:15
HcalHaloAlgo::getPosition
math::XYZPoint getPosition(const DetId &id, reco::Vertex::Point vtx)
Definition: HcalHaloAlgo.cc:557
CaloTowerDetId.h
edm::EventSetup
Definition: EventSetup.h:58
HcalSubdetector.h
HcalHaloAlgo::GetPhiWedgeNHitsThreshold
int GetPhiWedgeNHitsThreshold()
Definition: HcalHaloAlgo.h:80
edm::ESGetToken< CaloGeometry, CaloGeometryRecord >
HcalHaloAlgo::SetPhiWedgeThresholds
void SetPhiWedgeThresholds(float SumE, int nhits)
Definition: HcalHaloAlgo.h:69
CaloTowerCollection.h
HBHERecHit.h
HcalHaloAlgo::hgeo_
const HcalGeometry * hgeo_
Definition: HcalHaloAlgo.h:104
HcalHaloAlgo::SetPhiWedgeNHitsThreshold
void SetPhiWedgeNHitsThreshold(int nhits)
Definition: HcalHaloAlgo.h:68
reco::Vertex::Point
math::XYZPoint Point
point in the space
Definition: Vertex.h:40
reco::HaloClusterCandidateHCAL
Definition: HaloClusterCandidateHCAL.h:21
extraflags_cff.vtx
vtx
Definition: extraflags_cff.py:18
DetId.h
CaloGeometry.h
HcalRecHitCollections.h
HORecHit.h
HcalHaloAlgo::GetPhiWedgeEnergyThreshold
float GetPhiWedgeEnergyThreshold()
Definition: HcalHaloAlgo.h:79
HcalHaloAlgo::NHitsThreshold
int NHitsThreshold
Definition: HcalHaloAlgo.h:100
HcalHaloAlgo::SumEnergyThreshold
float SumEnergyThreshold
Definition: HcalHaloAlgo.h:99
HcalGeometry
Definition: HcalGeometry.h:17
HcalHaloAlgo::HEClusterShapeandTimeStudy
bool HEClusterShapeandTimeStudy(reco::HaloClusterCandidateHCAL hcand, bool ishlt)
Definition: HcalHaloAlgo.cc:532
HcalHaloAlgo
Definition: HcalHaloAlgo.h:41
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
HcalHaloAlgo::Calculate
reco::HcalHaloData Calculate(const CaloGeometry &TheCaloGeometry, edm::Handle< HBHERecHitCollection > &TheHBHERecHits, edm::Handle< CaloTowerCollection > &TheCaloTowers, edm::Handle< EBRecHitCollection > &TheEBRecHits, edm::Handle< EERecHitCollection > &TheEERecHits, const edm::EventSetup &TheSetup)
Definition: HcalHaloAlgo.cc:40
HcalHaloAlgo::GetHaloClusterCandidateHB
std::vector< reco::HaloClusterCandidateHCAL > GetHaloClusterCandidateHB(edm::Handle< EcalRecHitCollection > &ebrechitcoll, edm::Handle< HBHERecHitCollection > &hbherechitcoll, float et_thresh_seedrh)
Definition: HcalHaloAlgo.cc:252