#include <DTResolutionAnalysisTest.h>
Public Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
Analyze. More... | |
void | beginJob () |
BeginJob. More... | |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context) |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
BeginRun. More... | |
void | bookHistos (int wh) |
book the summary histograms More... | |
void | bookHistos (int wh, int sect) |
DTResolutionAnalysisTest (const edm::ParameterSet &ps) | |
Constructor. More... | |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c) |
DQM Client Diagnostic. More... | |
void | endRun (edm::Run const &run, edm::EventSetup const &c) |
std::string | getMEName (const DTSuperLayerId &slID) |
Get the ME name. More... | |
virtual | ~DTResolutionAnalysisTest () |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
bool | meanInRange (double mean) const |
void | resetMEs () |
bool | sigmaInRange (double sigma) const |
int | slFromBin (int bin) const |
int | stationFromBin (int bin) const |
Private Attributes | |
DQMStore * | dbe |
bool | doCalibAnalysis |
MonitorElement * | globalResSummary |
std::map< int, MonitorElement * > | meanDistr |
std::map< std::pair< int, int > , MonitorElement * > | MeanHistos |
edm::ESHandle< DTGeometry > | muonGeom |
int | nevents |
unsigned int | nLumiSegs |
int | percentual |
double | permittedMeanRange |
double | permittedSigmaRange |
int | prescaleFactor |
int | run |
std::map< int, MonitorElement * > | sigmaDistr |
std::map< std::pair< int, int > , MonitorElement * > | SigmaHistos |
std::string | topHistoFolder |
std::map< int, MonitorElement * > | wheelMeanHistos |
std::map< int, MonitorElement * > | wheelSigmaHistos |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
DQM Test Client
Definition at line 31 of file DTResolutionAnalysisTest.h.
DTResolutionAnalysisTest::DTResolutionAnalysisTest | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 38 of file DTResolutionAnalysisTest.cc.
References edm::ParameterSet::getUntrackedParameter(), LogTrace, cmsCodeRules.cppFunctionSkipper::operator, ExpressReco_HICollisions_FallBack::prescaleFactor, and ExpressReco_HICollisions_FallBack::topHistoFolder.
|
virtual |
|
virtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 145 of file DTResolutionAnalysisTest.cc.
References nevents.
|
virtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 61 of file DTResolutionAnalysisTest.cc.
References bookHistos(), LogTrace, nevents, and ExpressReco_HICollisions_FallBack::topHistoFolder.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 133 of file DTResolutionAnalysisTest.cc.
References LogTrace, edm::LuminosityBlockBase::run(), and CrabTask::run.
|
virtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 123 of file DTResolutionAnalysisTest.cc.
References edm::EventSetup::get(), and LogTrace.
void DTResolutionAnalysisTest::bookHistos | ( | int | wh | ) |
book the summary histograms
Definition at line 283 of file DTResolutionAnalysisTest.cc.
References ExpressReco_HICollisions_FallBack::topHistoFolder.
void DTResolutionAnalysisTest::bookHistos | ( | int | wh, |
int | sect | ||
) |
Definition at line 332 of file DTResolutionAnalysisTest.cc.
References ExpressReco_HICollisions_FallBack::topHistoFolder.
|
virtual |
DQM Client Diagnostic.
Reimplemented from edm::EDAnalyzer.
Definition at line 153 of file DTResolutionAnalysisTest.cc.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 157 of file DTResolutionAnalysisTest.cc.
References abs, MonitorElement::getMean(), MonitorElement::getRMS(), MonitorElement::getTH1F(), LogTrace, plotscripts::mean(), DTChamberId::sector(), ExpressReco_HICollisions_FallBack::sigma, DTChamberId::station(), DTSuperLayerId::superLayer(), DTSuperLayerId::superlayer(), CommonMethods::weight(), and DTChamberId::wheel().
string DTResolutionAnalysisTest::getMEName | ( | const DTSuperLayerId & | slID | ) |
Get the ME name.
Definition at line 402 of file DTResolutionAnalysisTest.cc.
References ExpressReco_HICollisions_FallBack::folderName, DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, DTSuperLayerId::superlayer(), ExpressReco_HICollisions_FallBack::topHistoFolder, and DTChamberId::wheel().
|
private |
Definition at line 449 of file DTResolutionAnalysisTest.cc.
|
private |
Definition at line 459 of file DTResolutionAnalysisTest.cc.
References trackerHits::histo.
|
private |
Definition at line 454 of file DTResolutionAnalysisTest.cc.
|
private |
|
private |
Definition at line 436 of file DTResolutionAnalysisTest.cc.
|
private |
Definition at line 74 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 80 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 103 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 91 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 85 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 82 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 68 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 69 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 72 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 77 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 78 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 70 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 71 of file DTResolutionAnalysisTest.h.
Referenced by generateEDF.LumiInfo::__str__(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), and generateEDF.LumiInfo::fixXingInfo().
|
private |
Definition at line 92 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 86 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 106 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 88 of file DTResolutionAnalysisTest.h.
|
private |
Definition at line 89 of file DTResolutionAnalysisTest.h.