CMS 3D CMS Logo

ClusterClusterMapping.h
Go to the documentation of this file.
1 #ifndef CLUSTERCLUSTERMAPPING_H
2 #define CLUSTERCLUSTERMAPPING_H
3 
11 
13 public:
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:42
ClusterClusterMapping::ClusterClusterMapping
ClusterClusterMapping()
Definition: ClusterClusterMapping.h:14
CaloCluster.h