1 #ifndef DQMServices_ClientConfig_DQMGenericClient_H
2 #define DQMServices_ClientConfig_DQMGenericClient_H
22 #if ROOT_VERSION_CODE >= ROOT_VERSION(5,27,0)
23 #include <TEfficiency.h>
25 #include <TGraphAsymmErrors.h>
68 const std::string& efficMEName,
69 const std::string& efficMETitle,
70 const std::string& recoMEName,
71 const std::string& simMEName,
73 const bool makeProfile =
false);
75 const std::string& fitMEPrefix,
const std::string& fitMETitlePrefix,
76 const std::string& srcMEName);
78 void normalizeToEntries(
const std::string& startDir,
const std::string& histName,
const std::string& normHistName);
101 #if ROOT_VERSION_CODE >= ROOT_VERSION(5,27,0)
104 class TGraphAsymmErrorsWrapper :
public TGraphAsymmErrors {
107 double eff, low, high;
108 Efficiency(numerator, denominator, 0.683, eff, low, high);
109 double error = (eff - low > high - eff) ? eff - low : high - eff;
110 return std::pair<double, double>(eff,
error);
std::vector< EfficOption > efficOptions_
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
void makeCumulativeDist(const std::string &startDir, const std::string &cdName)
std::vector< ResolOption > resolOptions_
void findAllSubdirectories(std::string dir, std::set< std::string > *myList, TString pattern)
std::vector< std::string > subDirs_
void computeResolution(const std::string &startDir, const std::string &fitMEPrefix, const std::string &fitMETitlePrefix, const std::string &srcMEName)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
std::string outputFileName_
std::vector< CDOption > cdOptions_
void computeEfficiency(const std::string &startDir, const std::string &efficMEName, const std::string &efficMETitle, const std::string &recoMEName, const std::string &simMEName, const int type=1, const bool makeProfile=false)
DQMGenericClient(const edm::ParameterSet &pset)
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
void normalizeToEntries(const std::string &startDir, const std::string &histName, const std::string &normHistName)
void limitedFit(MonitorElement *srcME, MonitorElement *meanME, MonitorElement *sigmaME)
void generic_eff(TH1 *denom, TH1 *numer, MonitorElement *efficiencyHist, const int type=1)
std::vector< NormOption > normOptions_