RecoParticleFlow
PFClusterTools
interface
ClusterClusterMapping.h
Go to the documentation of this file.
1
#ifndef CLUSTERCLUSTERMAPPING_H
2
#define CLUSTERCLUSTERMAPPING_H
3
4
#include "
DataFormats/CaloRecHit/interface/CaloCluster.h
"
5
#include "
DataFormats/CaloRecHit/interface/CaloClusterFwd.h
"
6
#include "
DataFormats/EgammaReco/interface/SuperCluster.h
"
7
#include "
DataFormats/EgammaReco/interface/SuperClusterFwd.h
"
8
#include "
DataFormats/ParticleFlowReco/interface/PFCluster.h
"
9
#include "
DataFormats/ParticleFlowReco/interface/PFClusterFwd.h
"
10
#include "
DataFormats/Common/interface/ValueMap.h
"
11
12
class
ClusterClusterMapping
{
13
public
:
14
ClusterClusterMapping
() { ; }
15
~ClusterClusterMapping
() { ; }
16
17
// check the overlap of two CaloClusters (by detid)
18
static
bool
overlap
(
const
reco::CaloCluster
&sc1,
19
const
reco::CaloCluster
&sc,
20
float
minfrac = 0.01,
21
bool
debug
=
false
);
22
23
static
bool
overlap
(
const
reco::PFClusterRef
&pfclustest,
24
const
reco::SuperCluster
&sc,
25
const
edm::ValueMap<reco::CaloClusterPtr>
&pfclusassoc);
26
27
static
int
checkOverlap
(
const
reco::PFCluster
&pfc,
28
const
std::vector<const reco::SuperCluster *> &sc,
29
float
minfrac = 0.01,
30
bool
debug
=
false
);
31
32
static
int
checkOverlap
(
const
reco::PFCluster
&pfc,
33
const
std::vector<reco::SuperClusterRef> &sc,
34
float
minfrac = 0.01,
35
bool
debug
=
false
);
36
static
int
checkOverlap
(
const
reco::PFClusterRef
&pfc,
37
const
std::vector<reco::SuperClusterRef> &sc,
38
const
edm::ValueMap<reco::CaloClusterPtr>
&pfclusassoc);
39
};
40
41
#endif
ClusterClusterMapping::checkOverlap
static int checkOverlap(const reco::PFCluster &pfc, const std::vector< const reco::SuperCluster * > &sc, float minfrac=0.01, bool debug=false)
Definition:
ClusterClusterMapping.cc:54
reco::SuperCluster
Definition:
SuperCluster.h:18
edm::Ref< PFClusterCollection >
ClusterClusterMapping::~ClusterClusterMapping
~ClusterClusterMapping()
Definition:
ClusterClusterMapping.h:15
debug
#define debug
Definition:
HDRShower.cc:19
reco::CaloCluster
Definition:
CaloCluster.h:31
PFCluster.h
CaloClusterFwd.h
ClusterClusterMapping::overlap
static bool overlap(const reco::CaloCluster &sc1, const reco::CaloCluster &sc, float minfrac=0.01, bool debug=false)
Definition:
ClusterClusterMapping.cc:4
PFClusterFwd.h
ValueMap.h
ClusterClusterMapping
Definition:
ClusterClusterMapping.h:12
SuperClusterFwd.h
edm::ValueMap
Definition:
ValueMap.h:107
SuperCluster.h
reco::PFCluster
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition:
PFCluster.h:46
ClusterClusterMapping::ClusterClusterMapping
ClusterClusterMapping()
Definition:
ClusterClusterMapping.h:14
CaloCluster.h
Generated for CMSSW Reference Manual by
1.8.16