|
|
Go to the documentation of this file.
19 energyThresholdEB_(0.),
20 energyThresholdEE_(0.),
21 energyThresholdEEFwd_(0.),
22 timingVsBXThreshold_(0.),
23 timeErrorThreshold_(0.),
24 meTimeMapByLS(nullptr) {}
28 :
_params.getUntrackedParameter<std::vector<int> >(
"bxBinsFine");
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)
107 meChi2.fill(signedSubdet,
hit.chi2());
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));
void runOnRecHits(EcalRecHitCollection const &, Collections)
std::vector< T >::const_iterator const_iterator
void beginEvent(edm::Event const &, edm::EventSetup const &) override
int bunchCrossing() const
bool filterRunType(short const *) override
bool isForward(DetId const &)
float timingVsBXThreshold_
virtual void fill(DetId const &, double=1., double=1., double=1.)
float timeErrorThreshold_
__host__ constexpr __device__ RandomIt upper_bound(RandomIt first, RandomIt last, const T &value, Compare comp={})
const_iterator begin() const
float energyThresholdEEFwd_
const_iterator end() const
void setParams(edm::ParameterSet const &) override
virtual void reset(double=0., double=0., double=0.)
void runOnUncalibRecHits(EcalUncalibratedRecHitCollection const &)
edm::LuminosityBlockNumber_t iLumi
std::vector< int > bxBinEdges_
#define DEFINE_ECALDQM_WORKER(TYPE)
Abs< T >::type abs(const T &t)
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override