test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
hgcal::ClusterTools::getEvent
void getEvent(const edm::Event &)
Definition:
ClusterTools.cc:23
edm::SortedCollection< HGCRecHit >
RecHitTools.h
hgcal::ClusterTools::ClusterTools
ClusterTools(const edm::ParameterSet &, edm::ConsumesCollector &)
Definition:
ClusterTools.cc:16
HGCalMultiCluster.h
HGCRecHitCollections.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Event
Definition:
Event.h:16
ParameterSet.h
EventSetup
HGCalDDDConstants
Definition:
HGCalDDDConstants.h:23
reco::HGCalMultiCluster
Definition:
HGCalMultiCluster.h:12
hgcal::ClusterTools::rhtools_
RecHitTools rhtools_
Definition:
ClusterTools.h:42
CaloCluster.h
hgcal::ClusterTools::getMultiClusterPosition
math::XYZPoint getMultiClusterPosition(const reco::HGCalMultiCluster &, double vz=0.) const
Definition:
ClusterTools.cc:77
reco::CaloCluster
Definition:
CaloCluster.h:29
edm::EventSetup
Definition:
EventSetup.h:45
hgcal::ClusterTools::eerh_
const HGCRecHitCollection * eerh_
Definition:
ClusterTools.h:44
DetId
Definition:
DetId.h:18
hgcal::ClusterTools::getMultiClusterEnergy
double getMultiClusterEnergy(const reco::HGCalMultiCluster &) const
Definition:
ClusterTools.cc:101
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition:
Point3D.h:12
hgcal::ClusterTools::getClusterHadronFraction
float getClusterHadronFraction(const reco::CaloCluster &) const
Definition:
ClusterTools.cc:38
hgcal::ClusterTools::fhtok
const edm::EDGetTokenT< HGCRecHitCollection > fhtok
Definition:
ClusterTools.h:43
hgcal::ClusterTools::eetok
const edm::EDGetTokenT< HGCRecHitCollection > eetok
Definition:
ClusterTools.h:43
hgcal::ClusterTools::bhrh_
const HGCRecHitCollection * bhrh_
Definition:
ClusterTools.h:44
hgcal::ClusterTools::bhtok
const edm::EDGetTokenT< HGCRecHitCollection > bhtok
Definition:
ClusterTools.h:43
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
hgcal::ClusterTools::getEventSetup
void getEventSetup(const edm::EventSetup &)
Definition:
ClusterTools.cc:34
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.5