Go to the documentation of this file.
11 : kLogCategory_(log_category) {
36 const char* name_prefix,
37 const char* title_prefix) {
41 TString
name = TString::Format(
"%s_occ_zr%s", name_prefix, name_suffix.Data());
42 TString
title = TString::Format(
"%s ZR Occupancy :%s;|Z| [cm];R [cm]", title_prefix, title_suffix.Data());
49 std::vector<Double_t> xbins_vector;
50 for (Double_t
i = station1_xmin - 1;
i < station2_xmax + 1;
i += 0.25) {
51 if (
i > station1_xmax + 1 and
i < station2_xmin - 1)
53 xbins_vector.push_back(
i);
56 Int_t nbinsx = xbins_vector.size() - 1;
62 auto hist =
new TH2F(
name,
title, nbinsx, &xbins_vector[0], nbinsy, ylow, yup);
std::vector< Double_t > zr_occ_range_
std::vector< Int_t > zr_occ_num_bins_
T getUntrackedParameter(std::string const &, T const &) const
TString getSuffixName(Int_t region_id)
Bool_t isMuonSimHit(const PSimHit &)
dqm::impl::MonitorElement * bookZROccupancy(DQMStore::IBooker &booker, Int_t region_id, const char *name_prfix, const char *title_prefix)
~GEMBaseValidation() override=0
const GEMGeometry * initGeometry(const edm::EventSetup &)
GEMBaseValidation(const edm::ParameterSet &, std::string)
std::vector< Double_t > eta_range_
T getParameter(std::string const &) const
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
TString getSuffixTitle(Int_t region_id)
Abs< T >::type abs(const T &t)
Int_t getDetOccBinX(Int_t chamber_id, Int_t layer_id)