CMS 3D CMS Logo

EcalRecHitWorkerSimple.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecProducers_EcalRecHitWorkerSimple_hh
2 #define RecoLocalCalo_EcalRecProducers_EcalRecHitWorkerSimple_hh
3 
12 
14 
20 
22 
24 public:
27  ~EcalRecHitWorkerSimple() override;
28 
29  void set(const edm::EventSetup& es) override;
30  bool run(const edm::Event& evt, const EcalUncalibratedRecHit& uncalibRH, EcalRecHitCollection& result) override;
31 
32 protected:
33  double EBLaserMIN_;
34  double EELaserMIN_;
35  double EBLaserMAX_;
36  double EELaserMAX_;
37 
43  std::vector<int> v_chstatus_;
45 
46  // Associate reco flagbit ( outer vector) to many db status flags (inner vector)
47  std::vector<std::vector<uint32_t> > v_DB_reco_flags_;
48 
49  uint32_t setFlagBits(const std::vector<std::vector<uint32_t> >& map, const uint32_t& status);
50 
51  uint32_t flagmask_; // do not propagate channels with these flags on
52 
56 
58 };
59 
60 #endif
EcalRecHitWorkerSimple(const edm::ParameterSet &, edm::ConsumesCollector &c)
edm::ESHandle< EcalADCToGeVConstant > agc
std::vector< std::vector< uint32_t > > v_DB_reco_flags_
edm::ESHandle< EcalChannelStatus > chStatus
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
bool run(const edm::Event &evt, const EcalUncalibratedRecHit &uncalibRH, EcalRecHitCollection &result) override
edm::ESHandle< EcalIntercalibConstants > ical
edm::ESHandle< EcalLaserDbService > laser