20 energyThresholdEB_(0.),
21 energyThresholdEE_(0.),
22 energyThresholdEEFwd_(0.),
23 timingVsBXThreshold_(0.),
24 timeErrorThreshold_(0.),
45 for(
int iFED(0); iFED <
nDCC; iFED++){
80 MESet& meTimeAmpAll(
MEs_.at(
"TimeAmpAll"));
83 MESet& meTimeAllMap(
MEs_.at(
"TimeAllMap"));
92 if(
hit.checkFlagMask(mask))
return;
97 float energy(
hit.energy());
99 float chi2Threshold, energyThreshold;
113 if ( eeId.zside() < 0 )
119 if (energy > energyThreshold) meChi2.fill(signedSubdet,
hit.chi2());
122 if (
hit.chi2() > chi2Threshold )
return;
127 meTimeAmp.fill(
id, energy,
time);
128 meTimeAmpAll.fill(
id, energy,
time);
132 if(energy > energyThreshold){
133 meTimeAll.fill(
id,
time);
134 meTimeMap.fill(
id,
time);
136 meTime1D.fill(
id,
time);
137 meTimeAllMap.fill(
id,
time);
147 MESet& meTimeAmpBXm(
MEs_.at(
"TimeAmpBXm") );
148 MESet& meTimeAmpBXp(
MEs_.at(
"TimeAmpBXp") );
155 float chi2Threshold = 0.;
156 float ampThreshold = 0.;
166 if( uhitItr->chi2() > chi2Threshold )
continue;
169 float amp( uhitItr->amplitude() );
170 if( amp < ampThreshold )
continue;
173 float timeOff(
id.subdetId() ==
EcalBarrel ? 0.4 : 1.8 );
174 float hitTime( uhitItr->jitter()*25. + timeOff );
175 if(
std::abs(hitTime) >= 5. )
continue;
178 meTimeAmpBXm.fill(
id,amp,uhitItr->outOfTimeAmplitude(4) );
179 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< EcalUncalibratedRecHit >::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