CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalRecHitWorkerSimple.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecProducers_EcalRecHitWorkerSimple_hh
2 #define RecoLocalCalo_EcalRecProducers_EcalRecHitWorkerSimple_hh
3 
12 
15 
29 
31 public:
33  ~EcalRecHitWorkerSimple() override;
34 
35  void set(const edm::EventSetup& es) override;
36  bool run(const edm::Event& evt, const EcalUncalibratedRecHit& uncalibRH, EcalRecHitCollection& result) override;
37 
38 protected:
39  double EBLaserMIN_;
40  double EELaserMIN_;
41  double EBLaserMAX_;
42  double EELaserMAX_;
43 
49  std::vector<int> v_chstatus_;
57 
58  // Associate reco flagbit ( outer vector) to many db status flags (inner vector)
59  std::vector<std::vector<uint32_t> > v_DB_reco_flags_;
60 
61  uint32_t setFlagBits(const std::vector<std::vector<uint32_t> >& map, const uint32_t& status);
62 
63  uint32_t flagmask_; // do not propagate channels with these flags on
64 
68 
70 };
71 
72 #endif
edm::ESGetToken< EcalTimeCalibConstants, EcalTimeCalibConstantsRcd > itimeToken_
edm::ESGetToken< EcalLaserDbService, EcalLaserDbRecord > laserToken_
const edm::EventSetup & c
EcalRecHitWorkerSimple(const edm::ParameterSet &, edm::ConsumesCollector &c)
edm::ESHandle< EcalADCToGeVConstant > agc
std::vector< std::vector< uint32_t > > v_DB_reco_flags_
list status
Definition: mps_update.py:107
edm::ESGetToken< EcalTimeOffsetConstant, EcalTimeOffsetConstantRcd > offtimeToken_
edm::ESHandle< EcalChannelStatus > chStatus
tuple result
Definition: mps_fire.py:311
edm::ESGetToken< EcalIntercalibConstants, EcalIntercalibConstantsRcd > icalToken_
edm::ESHandle< EcalTimeCalibConstants > itime
EcalRecHitSimpleAlgo * rechitMaker_
std::vector< int > v_chstatus_
uint32_t setFlagBits(const std::vector< std::vector< uint32_t > > &map, const uint32_t &status)
edm::ESHandle< EcalTimeOffsetConstant > offtime
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd > agcToken_
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > chStatusToken_
bool run(const edm::Event &evt, const EcalUncalibratedRecHit &uncalibRH, EcalRecHitCollection &result) override
void set(const edm::EventSetup &es) override
edm::ESHandle< EcalIntercalibConstants > ical
edm::ESHandle< EcalLaserDbService > laser