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
EcalRecHitSimpleAlgo.h
EcalRecHitWorkerSimple::~EcalRecHitWorkerSimple
~EcalRecHitWorkerSimple() override
Definition: EcalRecHitWorkerSimple.cc:157
ESHandle.h
EcalIntercalibConstants.h
EcalRecHitWorkerSimple::offtime
edm::ESHandle< EcalTimeOffsetConstant > offtime
Definition: EcalRecHitWorkerSimple.h:40
mps_update.status
status
Definition: mps_update.py:69
EcalRecHitWorkerSimple::EELaserMIN_
double EELaserMIN_
Definition: EcalRecHitWorkerSimple.h:34
EcalRecHitWorkerSimple::laserCorrection_
bool laserCorrection_
Definition: EcalRecHitWorkerSimple.h:54
edm::SortedCollection< EcalRecHit >
EcalRecHitWorkerSimple::set
void set(const edm::EventSetup &es) override
Definition: EcalRecHitWorkerSimple.cc:56
EcalTimeCalibConstants.h
EcalRecHitWorkerSimple::run
bool run(const edm::Event &evt, const EcalUncalibratedRecHit &uncalibRH, EcalRecHitCollection &result) override
Definition: EcalRecHitWorkerSimple.cc:70
EcalRecHitWorkerSimple::laser
edm::ESHandle< EcalLaserDbService > laser
Definition: EcalRecHitWorkerSimple.h:44
EcalTimeOffsetConstant.h
EcalLaserDbService.h
edm::ESHandle
Definition: DTSurvey.h:22
EcalRecHitWorkerSimple::EcalRecHitWorkerSimple
EcalRecHitWorkerSimple(const edm::ParameterSet &, edm::ConsumesCollector &c)
Definition: EcalRecHitWorkerSimple.cc:15
EcalRecHitWorkerSimple::agc
edm::ESHandle< EcalADCToGeVConstant > agc
Definition: EcalRecHitWorkerSimple.h:41
EcalADCToGeVConstant.h
EcalRecHitWorkerSimple::EBLaserMAX_
double EBLaserMAX_
Definition: EcalRecHitWorkerSimple.h:35
edm::ParameterSet
Definition: ParameterSet.h:36
EcalRecHitWorkerBaseClass.h
EcalRecHitWorkerSimple::EBLaserMIN_
double EBLaserMIN_
Definition: EcalRecHitWorkerSimple.h:33
EcalRecHitWorkerSimple::chStatus
edm::ESHandle< EcalChannelStatus > chStatus
Definition: EcalRecHitWorkerSimple.h:42
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
EcalRecHitWorkerSimple::ical
edm::ESHandle< EcalIntercalibConstants > ical
Definition: EcalRecHitWorkerSimple.h:38
EcalUncalibratedRecHit
Definition: EcalUncalibratedRecHit.h:8
EcalRecHitWorkerSimple::skipTimeCalib_
bool skipTimeCalib_
Definition: EcalRecHitWorkerSimple.h:55
EcalRecHitWorkerSimple::itime
edm::ESHandle< EcalTimeCalibConstants > itime
Definition: EcalRecHitWorkerSimple.h:39
EcalRecHitWorkerSimple::EELaserMAX_
double EELaserMAX_
Definition: EcalRecHitWorkerSimple.h:36
EcalRecHitWorkerSimple::flagmask_
uint32_t flagmask_
Definition: EcalRecHitWorkerSimple.h:51
EcalRecHitSimpleAlgo
Definition: EcalRecHitSimpleAlgo.h:15
EcalRecHitWorkerSimple::v_chstatus_
std::vector< int > v_chstatus_
Definition: EcalRecHitWorkerSimple.h:43
mps_fire.result
result
Definition: mps_fire.py:303
genParticles_cff.map
map
Definition: genParticles_cff.py:11
EcalRecHitWorkerSimple::v_DB_reco_flags_
std::vector< std::vector< uint32_t > > v_DB_reco_flags_
Definition: EcalRecHitWorkerSimple.h:47
EcalRecHitWorkerSimple::rechitMaker_
EcalRecHitSimpleAlgo * rechitMaker_
Definition: EcalRecHitWorkerSimple.h:57
edm::Event
Definition: Event.h:73
EcalRecHitWorkerSimple::killDeadChannels_
bool killDeadChannels_
Definition: EcalRecHitWorkerSimple.h:53
EcalChannelStatus.h
EcalRecHitWorkerBaseClass
Definition: EcalRecHitWorkerBaseClass.h:13
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
EcalRecHitWorkerSimple
Definition: EcalRecHitWorkerSimple.h:23
EcalRecHitWorkerSimple::setFlagBits
uint32_t setFlagBits(const std::vector< std::vector< uint32_t > > &map, const uint32_t &status)
Definition: EcalRecHitWorkerSimple.cc:148