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 
31 
33 public:
35 
36  explicit PreshowerClusterProducer(const edm::ParameterSet& ps);
37 
38  ~PreshowerClusterProducer() override;
39 
40  void produce(edm::Event& evt, const edm::EventSetup& es) override;
41  void set(const edm::EventSetup& es);
42 
43 private:
44  int nEvt_; // internal counter of events
45 
46  //clustering parameters:
47  edm::EDGetTokenT<EcalRecHitCollection> preshHitsToken_; // name of module/plugin/producer producing hits
49 
50  // name out output collections
53 
56  double etThresh_;
57 
58  // association parameters:
59  std::string assocSClusterCollection_; // name of super cluster output collection
60 
72 
73  double mip_;
74  double gamma0_;
75  double gamma1_;
76  double gamma2_;
77  double gamma3_;
78  double alpha0_;
79  double alpha1_;
80  double alpha2_;
81  double alpha3_;
82  double aEta_[4];
83  double bEta_[4];
84 
85  PreshowerClusterAlgo* presh_algo; // algorithm doing the real work
86  // The set of used DetID's
87  //std::set<DetId> used_strips;
88 };
89 #endif
PreshowerClusterProducer::alpha2_
double alpha2_
Definition: PreshowerClusterProducer.h:80
PreshowerClusterProducer::esGainToken_
edm::ESGetToken< ESGain, ESGainRcd > esGainToken_
Definition: PreshowerClusterProducer.h:66
ESHandle.h
PreshowerClusterProducer::endcapSClusterToken_
edm::EDGetTokenT< reco::SuperClusterCollection > endcapSClusterToken_
Definition: PreshowerClusterProducer.h:48
edm::EDGetTokenT
Definition: EDGetToken.h:33
PreshowerClusterProducer::preshClustECut
float preshClustECut
Definition: PreshowerClusterProducer.h:55
PreshowerClusterProducer::preshClusterCollectionX_
std::string preshClusterCollectionX_
Definition: PreshowerClusterProducer.h:51
PreshowerClusterProducer::esEEInterCalib_
edm::ESHandle< ESEEIntercalibConstants > esEEInterCalib_
Definition: PreshowerClusterProducer.h:63
PreshowerClusterProducer::etThresh_
double etThresh_
Definition: PreshowerClusterProducer.h:56
PreshowerClusterProducer::nEvt_
int nEvt_
Definition: PreshowerClusterProducer.h:44
PreshowerCluster.h
EDProducer.h
PreshowerClusterProducer::~PreshowerClusterProducer
~PreshowerClusterProducer() override
Definition: PreshowerClusterProducer.cc:78
ESGain.h
ESDetId.h
PreshowerClusterProducer::bEta_
double bEta_[4]
Definition: PreshowerClusterProducer.h:83
ESMissingEnergyCalibrationRcd.h
ESChannelStatusRcd.h
PreshowerClusterProducer::mip_
double mip_
Definition: PreshowerClusterProducer.h:73
ESGainRcd.h
ESGetToken.h
EcalRecHitCollections.h
PreshowerClusterProducer::alpha3_
double alpha3_
Definition: PreshowerClusterProducer.h:81
PreshowerClusterProducer::esMissingECalibToken_
edm::ESGetToken< ESMissingEnergyCalibration, ESMissingEnergyCalibrationRcd > esMissingECalibToken_
Definition: PreshowerClusterProducer.h:69
PreshowerClusterProducer::esChannelStatus_
edm::ESHandle< ESChannelStatus > esChannelStatus_
Definition: PreshowerClusterProducer.h:65
PreshowerClusterProducer::gamma3_
double gamma3_
Definition: PreshowerClusterProducer.h:77
PreshowerClusterProducer::esgain_
edm::ESHandle< ESGain > esgain_
Definition: PreshowerClusterProducer.h:61
PreshowerClusterProducer::caloGeometryToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryToken_
Definition: PreshowerClusterProducer.h:71
PreshowerClusterProducer::esChannelStatusToken_
edm::ESGetToken< ESChannelStatus, ESChannelStatusRcd > esChannelStatusToken_
Definition: PreshowerClusterProducer.h:70
PreshowerClusterProducer::esMIPToGeVToken_
edm::ESGetToken< ESMIPToGeVConstant, ESMIPToGeVConstantRcd > esMIPToGeVToken_
Definition: PreshowerClusterProducer.h:67
PreshowerClusterProducer::produce
void produce(edm::Event &evt, const edm::EventSetup &es) override
Definition: PreshowerClusterProducer.cc:80
edm::ESHandle< ESGain >
ESMIPToGeVConstantRcd.h
PreshowerClusterProducer::presh_algo
PreshowerClusterAlgo * presh_algo
Definition: PreshowerClusterProducer.h:85
CaloGeometryRecord.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PreshowerClusterProducer::preshNclust_
int preshNclust_
Definition: PreshowerClusterProducer.h:54
ESMissingEnergyCalibration.h
PreshowerClusterProducer::set
void set(const edm::EventSetup &es)
Definition: PreshowerClusterProducer.cc:260
CaloSubdetectorGeometry.h
edm::ParameterSet
Definition: ParameterSet.h:47
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
PreshowerClusterProducer::alpha1_
double alpha1_
Definition: PreshowerClusterProducer.h:79
Event.h
PreshowerClusterAlgo.h
PreshowerClusterProducer::aEta_
double aEta_[4]
Definition: PreshowerClusterProducer.h:82
PreshowerClusterAlgo
Definition: PreshowerClusterAlgo.h:22
ESChannelStatus.h
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:58
PreshowerClusterProducer::esMissingECalib_
edm::ESHandle< ESMissingEnergyCalibration > esMissingECalib_
Definition: PreshowerClusterProducer.h:64
ESEEIntercalibConstantsRcd.h
ESEEIntercalibConstants.h
edm::ESGetToken< ESGain, ESGainRcd >
PreshowerClusterProducer::assocSClusterCollection_
std::string assocSClusterCollection_
Definition: PreshowerClusterProducer.h:59
PreshowerClusterProducer::Point
math::XYZPoint Point
Definition: PreshowerClusterProducer.h:34
PreshowerClusterProducer::gamma2_
double gamma2_
Definition: PreshowerClusterProducer.h:76
PreshowerClusterProducer::preshClusterCollectionY_
std::string preshClusterCollectionY_
Definition: PreshowerClusterProducer.h:52
PreshowerClusterProducer
Definition: PreshowerClusterProducer.h:32
SuperClusterFwd.h
PreshowerClusterProducer::gamma0_
double gamma0_
Definition: PreshowerClusterProducer.h:74
CaloGeometry.h
PreshowerClusterProducer::esMIPToGeV_
edm::ESHandle< ESMIPToGeVConstant > esMIPToGeV_
Definition: PreshowerClusterProducer.h:62
Point3D.h
ESMIPToGeVConstant.h
EventSetup.h
PreshowerClusterProducer::preshHitsToken_
edm::EDGetTokenT< EcalRecHitCollection > preshHitsToken_
Definition: PreshowerClusterProducer.h:47
PreshowerClusterProducer::PreshowerClusterProducer
PreshowerClusterProducer(const edm::ParameterSet &ps)
Definition: PreshowerClusterProducer.cc:41
ParameterSet.h
PreshowerClusterProducer::esEEInterCalibToken_
edm::ESGetToken< ESEEIntercalibConstants, ESEEIntercalibConstantsRcd > esEEInterCalibToken_
Definition: PreshowerClusterProducer.h:68
edm::Event
Definition: Event.h:73
PreshowerClusterProducer::gamma1_
double gamma1_
Definition: PreshowerClusterProducer.h:75
PreshowerClusterProducer::alpha0_
double alpha0_
Definition: PreshowerClusterProducer.h:78