Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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,
const
reco::CaloCluster
&
sc
,
float
minfrac=0.01,
bool
debug
=
false
) ;
19
20
static
bool
overlap
(
const
reco::PFClusterRef
&pfclustest,
const
reco::SuperCluster
&
sc
,
const
edm::ValueMap<reco::CaloClusterPtr>
&pfclusassoc);
21
22
static
int
checkOverlap
(
const
reco::PFCluster
& pfc,
const
std::vector<const reco::SuperCluster *>&
sc
,
float
minfrac=0.01,
bool
debug
=
false
) ;
23
24
static
int
checkOverlap
(
const
reco::PFCluster
& pfc,
const
std::vector<reco::SuperClusterRef >&
sc
,
float
minfrac=0.01,
bool
debug
=
false
) ;
25
static
int
checkOverlap
(
const
reco::PFClusterRef
& pfc,
const
std::vector<reco::SuperClusterRef >&
sc
,
const
edm::ValueMap<reco::CaloClusterPtr>
&pfclusassoc) ;
26
};
27
28
29
#endif
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
reco::PFCluster
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition:
PFCluster.h:47
edm::Ref< PFClusterCollection >
ValueMap.h
PFCluster.h
SimDataFormats::CaloAnalysis::sc
SimCluster sc
Definition:
classes.h:9
SuperClusterFwd.h
CaloClusterFwd.h
CaloCluster.h
ClusterClusterMapping
Definition:
ClusterClusterMapping.h:12
reco::CaloCluster
Definition:
CaloCluster.h:29
reco::SuperCluster
Definition:
SuperCluster.h:19
edm::ValueMap< reco::CaloClusterPtr >
debug
#define debug
Definition:
HDRShower.cc:19
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:51
ClusterClusterMapping::ClusterClusterMapping
ClusterClusterMapping()
Definition:
ClusterClusterMapping.h:14
ClusterClusterMapping::~ClusterClusterMapping
~ClusterClusterMapping()
Definition:
ClusterClusterMapping.h:15
SuperCluster.h
Generated for CMSSW Reference Manual by
1.8.5