Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:38

0001 #ifndef RecoEcal_EgammaClusterAlgos_ExampleClusterAlgo_h
0002 #define RecoEcal_EgammaClusterAlgos_ExampleClusterAlgo_h
0003 
0004 #include "DataFormats/EgammaReco/interface/BasicClusterFwd.h"
0005 #include "DataFormats/EgammaReco/interface/BasicCluster.h"
0006 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
0007 
0008 class ExampleClusterAlgo {
0009 public:
0010   ExampleClusterAlgo();
0011   ExampleClusterAlgo(double energyCut, int nXtalCut);
0012   ~ExampleClusterAlgo();
0013 
0014   void setEnergyCut(double value) { energyCut_ = value; }
0015   void setNXtalCut(int value) { nXtalCut_ = value; }
0016 
0017   reco::BasicCluster makeOneCluster();
0018   reco::BasicClusterCollection makeClusters(const EcalRecHitCollection& rechits);
0019 
0020 private:
0021   double energyCut_;
0022   int nXtalCut_;
0023 };
0024 #endif