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
PreshowerClusterProducer::alpha2_
double alpha2_
Definition: PreshowerClusterProducer.h:65
ESHandle.h
PreshowerClusterProducer::endcapSClusterToken_
edm::EDGetTokenT< reco::SuperClusterCollection > endcapSClusterToken_
Definition: PreshowerClusterProducer.h:40
edm::EDGetTokenT
Definition: EDGetToken.h:33
PreshowerClusterProducer::preshClustECut
float preshClustECut
Definition: PreshowerClusterProducer.h:47
PreshowerClusterProducer::preshClusterCollectionX_
std::string preshClusterCollectionX_
Definition: PreshowerClusterProducer.h:43
PreshowerClusterProducer::esEEInterCalib_
edm::ESHandle< ESEEIntercalibConstants > esEEInterCalib_
Definition: PreshowerClusterProducer.h:55
PreshowerClusterProducer::etThresh_
double etThresh_
Definition: PreshowerClusterProducer.h:48
PreshowerClusterProducer::nEvt_
int nEvt_
Definition: PreshowerClusterProducer.h:36
PreshowerCluster.h
EDProducer.h
PreshowerClusterProducer::~PreshowerClusterProducer
~PreshowerClusterProducer() override
Definition: PreshowerClusterProducer.cc:78
ESGain.h
ESDetId.h
PreshowerClusterProducer::bEta_
double bEta_[4]
Definition: PreshowerClusterProducer.h:68
PreshowerClusterProducer::mip_
double mip_
Definition: PreshowerClusterProducer.h:58
EcalRecHitCollections.h
PreshowerClusterProducer::alpha3_
double alpha3_
Definition: PreshowerClusterProducer.h:66
PreshowerClusterProducer::esChannelStatus_
edm::ESHandle< ESChannelStatus > esChannelStatus_
Definition: PreshowerClusterProducer.h:57
PreshowerClusterProducer::gamma3_
double gamma3_
Definition: PreshowerClusterProducer.h:62
PreshowerClusterProducer::esgain_
edm::ESHandle< ESGain > esgain_
Definition: PreshowerClusterProducer.h:53
PreshowerClusterProducer::produce
void produce(edm::Event &evt, const edm::EventSetup &es) override
Definition: PreshowerClusterProducer.cc:80
edm::ESHandle< ESGain >
PreshowerClusterProducer::presh_algo
PreshowerClusterAlgo * presh_algo
Definition: PreshowerClusterProducer.h:70
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PreshowerClusterProducer::preshNclust_
int preshNclust_
Definition: PreshowerClusterProducer.h:46
ESMissingEnergyCalibration.h
PreshowerClusterProducer::set
void set(const edm::EventSetup &es)
Definition: PreshowerClusterProducer.cc:261
CaloSubdetectorGeometry.h
edm::ParameterSet
Definition: ParameterSet.h:36
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
PreshowerClusterProducer::alpha1_
double alpha1_
Definition: PreshowerClusterProducer.h:64
Event.h
PreshowerClusterAlgo.h
PreshowerClusterProducer::aEta_
double aEta_[4]
Definition: PreshowerClusterProducer.h:67
PreshowerClusterAlgo
Definition: PreshowerClusterAlgo.h:22
ESChannelStatus.h
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
PreshowerClusterProducer::esMissingECalib_
edm::ESHandle< ESMissingEnergyCalibration > esMissingECalib_
Definition: PreshowerClusterProducer.h:56
ESEEIntercalibConstants.h
PreshowerClusterProducer::assocSClusterCollection_
std::string assocSClusterCollection_
Definition: PreshowerClusterProducer.h:51
PreshowerClusterProducer::Point
math::XYZPoint Point
Definition: PreshowerClusterProducer.h:26
PreshowerClusterProducer::gamma2_
double gamma2_
Definition: PreshowerClusterProducer.h:61
PreshowerClusterProducer::preshClusterCollectionY_
std::string preshClusterCollectionY_
Definition: PreshowerClusterProducer.h:44
PreshowerClusterProducer
Definition: PreshowerClusterProducer.h:24
SuperClusterFwd.h
PreshowerClusterProducer::gamma0_
double gamma0_
Definition: PreshowerClusterProducer.h:59
PreshowerClusterProducer::esMIPToGeV_
edm::ESHandle< ESMIPToGeVConstant > esMIPToGeV_
Definition: PreshowerClusterProducer.h:54
Point3D.h
ESMIPToGeVConstant.h
EventSetup.h
PreshowerClusterProducer::preshHitsToken_
edm::EDGetTokenT< EcalRecHitCollection > preshHitsToken_
Definition: PreshowerClusterProducer.h:39
PreshowerClusterProducer::PreshowerClusterProducer
PreshowerClusterProducer(const edm::ParameterSet &ps)
Definition: PreshowerClusterProducer.cc:48
ParameterSet.h
edm::Event
Definition: Event.h:73
PreshowerClusterProducer::gamma1_
double gamma1_
Definition: PreshowerClusterProducer.h:60
PreshowerClusterProducer::alpha0_
double alpha0_
Definition: PreshowerClusterProducer.h:63