test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
37 
38 
40 
41  private:
45  };
46 }
47 
48 #endif
void getEvent(const edm::Event &)
Definition: ClusterTools.cc:23
ClusterTools(const edm::ParameterSet &, edm::ConsumesCollector &)
Definition: ClusterTools.cc:16
Definition: Event.h:16
RecHitTools rhtools_
Definition: ClusterTools.h:42
math::XYZPoint getMultiClusterPosition(const reco::HGCalMultiCluster &, double vz=0.) const
Definition: ClusterTools.cc:77
const HGCRecHitCollection * eerh_
Definition: ClusterTools.h:44
Definition: DetId.h:18
double getMultiClusterEnergy(const reco::HGCalMultiCluster &) const
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
float getClusterHadronFraction(const reco::CaloCluster &) const
Definition: ClusterTools.cc:38
const edm::EDGetTokenT< HGCRecHitCollection > fhtok
Definition: ClusterTools.h:43
const edm::EDGetTokenT< HGCRecHitCollection > eetok
Definition: ClusterTools.h:43
const HGCRecHitCollection * bhrh_
Definition: ClusterTools.h:44
const edm::EDGetTokenT< HGCRecHitCollection > bhtok
Definition: ClusterTools.h:43
const HGCRecHitCollection * fhrh_
Definition: ClusterTools.h:44
void getEventSetup(const edm::EventSetup &)
Definition: ClusterTools.cc:34