19 energyThresholdEB_(0.),
20 energyThresholdEE_(0.),
21 energyThresholdEEFwd_(0.),
22 timingVsBXThreshold_(0.),
23 timeErrorThreshold_(0.),
39 for (
int iFED(0); iFED <
nDCC; iFED++) {
67 MESet& meTimeAmpAll(
MEs_.at(
"TimeAmpAll"));
70 MESet& meTimeAllMap(
MEs_.at(
"TimeAllMap"));
79 if (
hit.checkFlagMask(mask))
100 if (eeId.zside() < 0)
106 if (
energy > energyThreshold)
107 meChi2.fill(signedSubdet,
hit.chi2());
123 if (
energy > energyThreshold) {
124 meTimeAll.fill(
id,
time);
125 meTimeMap.fill(
id,
time);
127 meTime1D.fill(
id,
time);
128 meTimeAllMap.fill(
id,
time);
137 MESet& meTimeAmpBXm(
MEs_.at(
"TimeAmpBXm"));
138 MESet& meTimeAmpBXp(
MEs_.at(
"TimeAmpBXp"));
146 float ampThreshold = 0.;
159 float amp(uhitItr->amplitude());
160 if (amp < ampThreshold)
164 float timeOff(
id.subdetId() ==
EcalBarrel ? 0.4 : 1.8);
165 float hitTime(uhitItr->jitter() * 25. + timeOff);
170 meTimeAmpBXm.fill(
id, amp, uhitItr->outOfTimeAmplitude(4));
171 meTimeAmpBXp.fill(
id, amp, uhitItr->outOfTimeAmplitude(6));
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_ECALDQM_WORKER(TYPE)
edm::LuminosityBlockNumber_t iLumi
std::vector< T >::const_iterator const_iterator
bool isForward(DetId const &)
int bunchCrossing() const
void beginEvent(edm::Event const &, edm::EventSetup const &) override
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
void setParams(edm::ParameterSet const &) override
float timingVsBXThreshold_
void runOnRecHits(EcalRecHitCollection const &, Collections)
float energyThresholdEEFwd_
Abs< T >::type abs(const T &t)
virtual void reset(double=0., double=0., double=0.)
void runOnUncalibRecHits(EcalUncalibratedRecHitCollection const &)
const_iterator end() const
virtual void fill(DetId const &, double=1., double=1., double=1.)
std::vector< int > bxBinEdges_
bool filterRunType(short const *) override
float timeErrorThreshold_
const_iterator begin() const