24 : topFolder_(iConfig.getParameter<
std::
string>(
"topFolderName")) {}
32 if (hpt_eta_tkAllCPU ==
nullptr or hpt_eta_tkAllCPUmatched ==
nullptr or hphi_z_tkAllCPU ==
nullptr or 33 hphi_z_tkAllCPUmatched ==
nullptr) {
35 <<
"MEs needed for this module are not found in the input file. Skipping.";
42 "matchingeff_pt_eta",
"Efficiency of track matching; #eta; p_{T} [GeV];", 30, -
M_PI,
M_PI, 200, 0., 200.);
44 "matchingeff_phi_z",
"Efficiency of track matching; #phi; z [cm];", 30, -
M_PI,
M_PI, 30, -30., 30.);
46 hpt_eta_matchRatio->
divide(hpt_eta_tkAllCPUmatched, hpt_eta_tkAllCPU, 1., 1.,
"B");
47 hphi_z_matchRatio->
divide(hphi_z_tkAllCPUmatched, hphi_z_tkAllCPU, 1., 1.,
"B");
54 desc.add<
std::string>(
"topFolderName",
"SiPixelHeterogeneous/PixelTrackCompareGPUvsCPU/");
55 descriptions.
add(
"siPixelPhase1TrackComparisonHarvester",
desc);
~SiPixelPhase1TrackComparisonHarvester() override=default
virtual void setCurrentFolder(std::string const &fullpath)
Log< level::Error, false > LogError
const std::string topFolder_
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
#define DEFINE_FWK_MODULE(type)
SiPixelPhase1TrackComparisonHarvester(const edm::ParameterSet &)
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual MonitorElement * get(std::string const &fullpath) const
void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual void divide(const MonitorElement *, const MonitorElement *, double, double, const char *)
Replace entries with results of dividing num by denom.