Main Page
Namespaces
Classes
Package Documentation
RecoLocalCalo
HGCalRecAlgos
interface
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
7
#include "
RecoLocalCalo/HGCalRecAlgos/interface/RecHitTools.h
"
8
#include "
DataFormats/HGCRecHit/interface/HGCRecHitCollections.h
"
9
#include "
DataFormats/CaloRecHit/interface/CaloCluster.h
"
10
#include "
DataFormats/ParticleFlowReco/interface/HGCalMultiCluster.h
"
11
12
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
13
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
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
:
28
ClusterTools
(
const
edm::ParameterSet
&,
edm::ConsumesCollector
&);
29
~ClusterTools
() {}
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
:
42
RecHitTools
rhtools_
;
43
const
edm::EDGetTokenT<HGCRecHitCollection>
eetok,
fhtok
, bhtok;
44
const
HGCRecHitCollection
*eerh_, *
fhrh_
, *bhrh_;
45
};
46
}
47
48
#endif
hgcal::RecHitTools
Definition:
RecHitTools.h:17
HGCalGeometry
Definition:
HGCalGeometry.h:26
edm::SortedCollection< HGCRecHit >
HGCalMultiCluster.h
HGCRecHitCollections.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
RecHitTools.h
ParameterSet.h
hgcal
Definition:
ClusterTools.h:25
EventSetup
HGCalDDDConstants
Definition:
HGCalDDDConstants.h:23
reco::HGCalMultiCluster
Definition:
HGCalMultiCluster.h:12
hgcal::ClusterTools::rhtools_
RecHitTools rhtools_
Definition:
ClusterTools.h:42
CaloCluster.h
reco::CaloCluster
Definition:
CaloCluster.h:32
edm::EventSetup
Definition:
EventSetup.h:45
DetId
Definition:
DetId.h:18
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition:
Point3D.h:12
hgcal::ClusterTools::fhtok
const edm::EDGetTokenT< HGCRecHitCollection > fhtok
Definition:
ClusterTools.h:43
Event
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
hgcal::ClusterTools::fhrh_
const HGCRecHitCollection * fhrh_
Definition:
ClusterTools.h:44
hgcal::ClusterTools
Definition:
ClusterTools.h:26
edm::Event
Definition:
Event.h:66
hgcal::ClusterTools::~ClusterTools
~ClusterTools()
Definition:
ClusterTools.h:29
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11