Go to the documentation of this file.
55 if (!meBtlHitLogEnergy || !meNevents) {
56 edm::LogError(
"BtlSimHitsHarvester") <<
"Monitoring histograms not found!" << std::endl;
63 const float scale = (Nevents > 0 ? 1. / (Nevents * NBtlCrystals) : 1.);
68 "BTL cell occupancy vs hit energy;log_{10}(E_{SIM} [MeV]); Occupancy per event",
70 meBtlHitLogEnergy->
getTH1()->GetXaxis()->GetXmin(),
71 meBtlHitLogEnergy->
getTH1()->GetXaxis()->GetXmax());
75 for (
int ibin = meBtlHitLogEnergy->
getNbinsX(); ibin >= 1; --ibin) {
87 descriptions.
add(
"btlSimHitsPostProcessor", desc);
ParameterDescriptionBase * add(U const &iLabel, T const &value)
MonitorElement * meHitOccupancy_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const std::string folder_
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static constexpr int MAX_ROD
virtual TH1 * getTH1() const
virtual double getEntries() const
get # of entries
~BtlSimHitsHarvester() override
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
BtlSimHitsHarvester(const edm::ParameterSet &iConfig)
static constexpr int kCrystalsPerRODBarPhiFlat
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual int getNbinsX() const
get # of bins in X-axis
virtual MonitorElement * get(std::string const &fullpath) const
virtual double getBinContent(int binx) const
get content of bin (1-D)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())