CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
static bool overlap(const reco::CaloCluster &sc1, const reco::CaloCluster &sc, float minfrac=0.01, bool debug=false)
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:42
#define debug
Definition: HDRShower.cc:19
static int checkOverlap(const reco::PFCluster &pfc, const std::vector< const reco::SuperCluster * > &sc, float minfrac=0.01, bool debug=false)