CMS 3D CMS Logo

PreshowerClusterProducer.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaClusterProducers_PreshowerClusterProducer_h
2 #define RecoEcal_EgammaClusterProducers_PreshowerClusterProducer_h
3 
4 #include <memory>
5 
23 
25 public:
27 
28  explicit PreshowerClusterProducer(const edm::ParameterSet& ps);
29 
30  ~PreshowerClusterProducer() override;
31 
32  void produce(edm::Event& evt, const edm::EventSetup& es) override;
33  void set(const edm::EventSetup& es);
34 
35 private:
36  int nEvt_; // internal counter of events
37 
38  //clustering parameters:
39  edm::EDGetTokenT<EcalRecHitCollection> preshHitsToken_; // name of module/plugin/producer producing hits
41 
42  // name out output collections
45 
48  double etThresh_;
49 
50  // association parameters:
51  std::string assocSClusterCollection_; // name of super cluster output collection
52 
58  double mip_;
59  double gamma0_;
60  double gamma1_;
61  double gamma2_;
62  double gamma3_;
63  double alpha0_;
64  double alpha1_;
65  double alpha2_;
66  double alpha3_;
67  double aEta_[4];
68  double bEta_[4];
69 
70  PreshowerClusterAlgo* presh_algo; // algorithm doing the real work
71  // The set of used DetID's
72  //std::set<DetId> used_strips;
73 };
74 #endif
edm::ESHandle< ESMissingEnergyCalibration > esMissingECalib_
edm::ESHandle< ESGain > esgain_
PreshowerClusterAlgo * presh_algo
edm::ESHandle< ESChannelStatus > esChannelStatus_
edm::ESHandle< ESMIPToGeVConstant > esMIPToGeV_
edm::ESHandle< ESEEIntercalibConstants > esEEInterCalib_
edm::EDGetTokenT< EcalRecHitCollection > preshHitsToken_
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
PreshowerClusterProducer(const edm::ParameterSet &ps)
void produce(edm::Event &evt, const edm::EventSetup &es) override
edm::EDGetTokenT< reco::SuperClusterCollection > endcapSClusterToken_