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 
26  public:
27 
29 
30  explicit PreshowerClusterProducer (const edm::ParameterSet& ps);
31 
32  ~PreshowerClusterProducer() override;
33 
34  void produce( edm::Event& evt, const edm::EventSetup& es) override;
35  void set(const edm::EventSetup& es);
36 
37  private:
38 
39  int nEvt_; // internal counter of events
40 
41  //clustering parameters:
42  edm::EDGetTokenT<EcalRecHitCollection> preshHitsToken_; // name of module/plugin/producer producing hits
44 
45  // name out output collections
48 
51  double etThresh_;
52 
53  // association parameters:
54  std::string assocSClusterCollection_; // name of super cluster output collection
55 
61  double mip_;
62  double gamma0_;
63  double gamma1_;
64  double gamma2_;
65  double gamma3_;
66  double alpha0_;
67  double alpha1_;
68  double alpha2_;
69  double alpha3_;
70  double aEta_[4];
71  double bEta_[4];
72 
73  PreshowerClusterAlgo * presh_algo; // algorithm doing the real work
74  // The set of used DetID's
75  //std::set<DetId> used_strips;
76 
77 
78 };
79 #endif
80 
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_