CMS 3D CMS Logo

ClusterTools.h
Go to the documentation of this file.
1 #ifndef __RecoLocalCalo_HGCalRecAlgos_ClusterTools_h__
2 #define __RecoLocalCalo_HGCalRecAlgos_ClusterTools_h__
3 
4 #include <array>
5 #include <cmath>
6 
11 
14 
15 
16 class HGCalGeometry;
17 class HGCalDDDConstants;
18 class DetId;
19 
20 namespace edm {
21  class Event;
22  class EventSetup;
23 }
24 
25 namespace hgcal {
26  class ClusterTools {
27  public:
30 
31  void getEvent(const edm::Event&);
32  void getEventSetup(const edm::EventSetup&);
33 
34  float getClusterHadronFraction(const reco::CaloCluster&) const;
35 
36  math::XYZPoint getMultiClusterPosition(const reco::HGCalMultiCluster&, double vz = 0.) const;
37 
38 
39  double getMultiClusterEnergy(const reco::HGCalMultiCluster&) const;
40 
41  private:
44  const HGCRecHitCollection *eerh_, *fhrh_, *bhrh_;
45  };
46 }
47 
48 #endif
RecHitTools rhtools_
Definition: ClusterTools.h:42
Definition: DetId.h:18
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
const edm::EDGetTokenT< HGCRecHitCollection > fhtok
Definition: ClusterTools.h:43
HLT enums.
const HGCRecHitCollection * fhrh_
Definition: ClusterTools.h:44