CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/RecoParticleFlow/PFClusterTools/interface/ClusterClusterMapping.h

Go to the documentation of this file.
00001 #ifndef CLUSTERCLUSTERMAPPING_H
00002 #define CLUSTERCLUSTERMAPPING_H
00003 
00004 #include "DataFormats/CaloRecHit/interface/CaloCluster.h"
00005 #include "DataFormats/EgammaReco/interface/SuperCluster.h"
00006 #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
00007 #include "DataFormats/ParticleFlowReco/interface/PFCluster.h"
00008 
00009 class ClusterClusterMapping{
00010  public:
00011   ClusterClusterMapping(){;}
00012   ~ClusterClusterMapping(){;}
00013     
00014   // check the overlap of two CaloClusters
00015   static bool overlap(const reco::CaloCluster & sc1, const reco::CaloCluster & sc,float minfrac=0.01,bool debug=false) ;
00016   
00017   static int checkOverlap(const reco::PFCluster & pfc, std::vector<const reco::SuperCluster *> sc,float minfrac=0.01,bool debug=false) ;
00018 
00019   static int checkOverlap(const reco::PFCluster & pfc, std::vector<reco::SuperClusterRef > sc,float minfrac=0.01,bool debug=false) ;
00020 };
00021 
00022 
00023 #endif