Go to the documentation of this file. 1 #ifndef Validation_MuonGEMHits_MuonGEMBaseHarvestor_h
2 #define Validation_MuonGEMHits_MuonGEMBaseHarvestor_h
25 const TH1F&
passed,
const TH1F&
total,
const char*
name,
const char*
title, Double_t confidence_level = 0.683);
31 const TString& passed_path,
32 const TString& total_path,
34 const TString& eff_name,
35 const TString& eff_title =
"Efficiency");
39 const TString& passed_path,
40 const TString& total_path,
42 const TString& eff_name,
43 const TString& eff_title =
"Efficiency");
49 #endif // Validation_MuonGEMHits_MuonGEMBaseHarvestor_h
57 std::vector<std::string> mes = getter.
getMEs();
65 if (
auto tmp_me = getter.
get(
path.Data())) {
66 if (
auto tmp_hist = dynamic_cast<T*>(tmp_me->getRootObject()->Clone())) {
virtual std::vector< std::string > getMEs() const
virtual void setCurrentFolder(std::string const &fullpath)
Log< level::Info, false > LogInfo
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
TProfile * computeEfficiency(const TH1F &passed, const TH1F &total, const char *name, const char *title, Double_t confidence_level=0.683)
void bookEff2D(DQMStore::IBooker &ibooker, DQMStore::IGetter &getter, const TString &passed_path, const TString &total_path, const TString &folder, const TString &eff_name, const TString &eff_title="Efficiency")
MuonGEMBaseHarvestor(const edm::ParameterSet &, std::string)
Log< level::Error, false > LogError
void bookEff1D(DQMStore::IBooker &ibooker, DQMStore::IGetter &getter, const TString &passed_path, const TString &total_path, const TString &folder, const TString &eff_name, const TString &eff_title="Efficiency")
virtual MonitorElement * get(std::string const &fullpath) const
T * getElement(DQMStore::IGetter &getter, const TString &path)
const std::string kLogCategory_