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 
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
EcalRecHitWorkerSimple::icalToken_
edm::ESGetToken< EcalIntercalibConstants, EcalIntercalibConstantsRcd > icalToken_
Definition: EcalRecHitWorkerSimple.h:51
EcalRecHitWorkerSimple::chStatusToken_
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > chStatusToken_
Definition: EcalRecHitWorkerSimple.h:55
EcalRecHitSimpleAlgo.h
EcalRecHitWorkerSimple::~EcalRecHitWorkerSimple
~EcalRecHitWorkerSimple() override
Definition: EcalRecHitWorkerSimple.cc:160
ESHandle.h
EcalIntercalibConstants.h
EcalRecHitWorkerSimple::offtime
edm::ESHandle< EcalTimeOffsetConstant > offtime
Definition: EcalRecHitWorkerSimple.h:46
mps_update.status
status
Definition: mps_update.py:69
EcalRecHitWorkerSimple::EELaserMIN_
double EELaserMIN_
Definition: EcalRecHitWorkerSimple.h:40
EcalRecHitWorkerSimple::laserCorrection_
bool laserCorrection_
Definition: EcalRecHitWorkerSimple.h:66
edm::SortedCollection< EcalRecHit >
EcalRecHitWorkerSimple::set
void set(const edm::EventSetup &es) override
Definition: EcalRecHitWorkerSimple.cc:59
EcalTimeCalibConstants.h
EcalRecHitWorkerSimple::run
bool run(const edm::Event &evt, const EcalUncalibratedRecHit &uncalibRH, EcalRecHitCollection &result) override
Definition: EcalRecHitWorkerSimple.cc:73
EcalRecHitWorkerSimple::laser
edm::ESHandle< EcalLaserDbService > laser
Definition: EcalRecHitWorkerSimple.h:50
ESGetToken.h
EcalRecHitWorkerSimple::itimeToken_
edm::ESGetToken< EcalTimeCalibConstants, EcalTimeCalibConstantsRcd > itimeToken_
Definition: EcalRecHitWorkerSimple.h:52
EcalTimeOffsetConstant.h
EcalRecHitWorkerSimple::agcToken_
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd > agcToken_
Definition: EcalRecHitWorkerSimple.h:54
EcalLaserDbService.h
EcalTimeOffsetConstantRcd.h
edm::ESHandle
Definition: DTSurvey.h:22
EcalRecHitWorkerSimple::EcalRecHitWorkerSimple
EcalRecHitWorkerSimple(const edm::ParameterSet &, edm::ConsumesCollector &c)
Definition: EcalRecHitWorkerSimple.cc:8
EcalRecHitWorkerSimple::agc
edm::ESHandle< EcalADCToGeVConstant > agc
Definition: EcalRecHitWorkerSimple.h:47
EcalADCToGeVConstant.h
EcalRecHitWorkerSimple::offtimeToken_
edm::ESGetToken< EcalTimeOffsetConstant, EcalTimeOffsetConstantRcd > offtimeToken_
Definition: EcalRecHitWorkerSimple.h:53
EcalRecHitWorkerSimple::EBLaserMAX_
double EBLaserMAX_
Definition: EcalRecHitWorkerSimple.h:41
edm::ParameterSet
Definition: ParameterSet.h:47
EcalRecHitWorkerBaseClass.h
EcalRecHitWorkerSimple::EBLaserMIN_
double EBLaserMIN_
Definition: EcalRecHitWorkerSimple.h:39
EcalADCToGeVConstantRcd.h
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
EcalRecHitWorkerSimple::chStatus
edm::ESHandle< EcalChannelStatus > chStatus
Definition: EcalRecHitWorkerSimple.h:48
edm::EventSetup
Definition: EventSetup.h:57
EcalRecHitWorkerSimple::laserToken_
edm::ESGetToken< EcalLaserDbService, EcalLaserDbRecord > laserToken_
Definition: EcalRecHitWorkerSimple.h:56
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
edm::ESGetToken
Definition: EventSetup.h:48
EcalRecHitWorkerSimple::ical
edm::ESHandle< EcalIntercalibConstants > ical
Definition: EcalRecHitWorkerSimple.h:44
EcalUncalibratedRecHit
Definition: EcalUncalibratedRecHit.h:8
EcalLaserDbRecord.h
EcalRecHitWorkerSimple::skipTimeCalib_
bool skipTimeCalib_
Definition: EcalRecHitWorkerSimple.h:67
EcalRecHitWorkerSimple::itime
edm::ESHandle< EcalTimeCalibConstants > itime
Definition: EcalRecHitWorkerSimple.h:45
EcalRecHitWorkerSimple::EELaserMAX_
double EELaserMAX_
Definition: EcalRecHitWorkerSimple.h:42
EcalRecHitWorkerSimple::flagmask_
uint32_t flagmask_
Definition: EcalRecHitWorkerSimple.h:63
EcalRecHitSimpleAlgo
Definition: EcalRecHitSimpleAlgo.h:15
EcalRecHitWorkerSimple::v_chstatus_
std::vector< int > v_chstatus_
Definition: EcalRecHitWorkerSimple.h:49
mps_fire.result
result
Definition: mps_fire.py:311
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:59
EcalTimeCalibConstantsRcd.h
EcalRecHitWorkerSimple::rechitMaker_
EcalRecHitSimpleAlgo * rechitMaker_
Definition: EcalRecHitWorkerSimple.h:69
edm::Event
Definition: Event.h:73
EcalRecHitWorkerSimple::killDeadChannels_
bool killDeadChannels_
Definition: EcalRecHitWorkerSimple.h:65
EcalIntercalibConstantsRcd.h
EcalChannelStatus.h
EcalRecHitWorkerBaseClass
Definition: EcalRecHitWorkerBaseClass.h:13
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
EcalChannelStatusRcd.h
EcalRecHitWorkerSimple
Definition: EcalRecHitWorkerSimple.h:30
EcalRecHitWorkerSimple::setFlagBits
uint32_t setFlagBits(const std::vector< std::vector< uint32_t > > &map, const uint32_t &status)
Definition: EcalRecHitWorkerSimple.cc:151