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  virtual ~EcalRecHitWorkerSimple();
28 
29  void set(const edm::EventSetup& es);
30  bool run(const edm::Event& evt, const EcalUncalibratedRecHit& uncalibRH, EcalRecHitCollection & result);
31 
32 
33 
34  protected:
35 
36  double EBLaserMIN_;
37  double EELaserMIN_;
38  double EBLaserMAX_;
39  double EELaserMAX_;
40 
41 
47  std::vector<int> v_chstatus_;
49 
50  // Associate reco flagbit ( outer vector) to many db status flags (inner vector)
51  std::vector<std::vector<uint32_t> > v_DB_reco_flags_;
52 
53  uint32_t setFlagBits(const std::vector<std::vector<uint32_t> >& map,
54  const uint32_t& status );
55 
56  uint32_t flagmask_; // do not propagate channels with these flags on
57 
61 
63 
64 };
65 
66 #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)
edm::ESHandle< EcalIntercalibConstants > ical
edm::ESHandle< EcalLaserDbService > laser