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 
36 
38 
39 class HcalHaloAlgo {
40 public:
41  //constructor
42  HcalHaloAlgo();
43  //destructor
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 
105 };
106 
107 #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:386
HB
Definition: GlobalHaloAlgo.cc:15
edm::Handle
Definition: AssociativeIterator.h:50
HcalHaloAlgo::HcalHaloAlgo
HcalHaloAlgo()
Definition: HcalHaloAlgo.cc:23
EcalRecHitCollections.h
HcalGeometry.h
CaloRecHit.h
HcalHaloAlgo::HBClusterShapeandTimeStudy
bool HBClusterShapeandTimeStudy(reco::HaloClusterCandidateHCAL hcand, bool ishlt)
Definition: HcalHaloAlgo.cc:502
DetId
Definition: DetId.h:17
CaloGeometry
Definition: CaloGeometry.h:21
HcalHaloAlgo::geo_
const CaloGeometry * geo_
Definition: HcalHaloAlgo.h:102
HFRecHit.h
HcalHaloAlgo::GetHBRecHitEnergyThreshold
float GetHBRecHitEnergyThreshold()
Definition: HcalHaloAlgo.h:75
HcalHaloAlgo::HERecHitEnergyThreshold
float HERecHitEnergyThreshold
Definition: HcalHaloAlgo.h:96
nhits
Definition: HIMultiTrackSelector.h:42
CaloGeometryRecord.h
badGlobalMuonTaggersAOD_cff.vtx
vtx
Definition: badGlobalMuonTaggersAOD_cff.py:5
HcalRecHitDefs.h
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
HcalHaloData.h
EcalEndcapTopology.h
HcalDetId.h
HE
Definition: GlobalHaloAlgo.cc:15
HcalHaloAlgo::getPosition
math::XYZPoint getPosition(const DetId &id, reco::Vertex::Point vtx)
Definition: HcalHaloAlgo.cc:558
CaloTowerDetId.h
edm::EventSetup
Definition: EventSetup.h:57
HcalSubdetector.h
HcalHaloAlgo::GetPhiWedgeNHitsThreshold
int GetPhiWedgeNHitsThreshold()
Definition: HcalHaloAlgo.h:80
EcalRecHit.h
HcalHaloAlgo::SetPhiWedgeThresholds
void SetPhiWedgeThresholds(float SumE, int nhits)
Definition: HcalHaloAlgo.h:69
CaloTowerCollection.h
HBHERecHit.h
HcalHaloAlgo::hgeo_
const HcalGeometry * hgeo_
Definition: HcalHaloAlgo.h:103
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
HcalHaloAlgo::~HcalHaloAlgo
~HcalHaloAlgo()
Definition: HcalHaloAlgo.h:44
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:533
HcalHaloAlgo
Definition: HcalHaloAlgo.h:39
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:39
HcalHaloAlgo::GetHaloClusterCandidateHB
std::vector< reco::HaloClusterCandidateHCAL > GetHaloClusterCandidateHB(edm::Handle< EcalRecHitCollection > &ebrechitcoll, edm::Handle< HBHERecHitCollection > &hbherechitcoll, float et_thresh_seedrh)
Definition: HcalHaloAlgo.cc:253