20 if (!
h.lumisection)
return;
21 uint32_t
ls =
h.lumisection->id().luminosityBlock();
24 uint32_t
block = (
ls / onlineblock) % n_onlineblocks;
25 uint32_t next_block = ((
ls / onlineblock)+1) % n_onlineblocks;
26 if (block == next_block)
return;
29 TH1* th1 =
e.second.th1;
30 if (
std::string(th1->GetYaxis()->GetTitle()).
find(
"OnlineBlock") != std::string::npos) {
31 for (
int i = 1;
i <= th1->GetNbinsX();
i++) {
32 th1->SetBinContent(
i, next_block+1, 0);
T getParameter(std::string const &) const
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
#define DEFINE_FWK_MODULE(type)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
std::map< GeometryInterface::Values, AbstractHistogram > Table
std::vector< HistogramManager > histo
SiPixelPhase1OnlineHarvester(const edm::ParameterSet &iConfig)