#include <DTLocalTriggerSynchTest.h>
Public Member Functions | |
DTLocalTriggerSynchTest (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~DTLocalTriggerSynchTest () |
Destructor. More... | |
Public Member Functions inherited from DTLocalTriggerBaseTest | |
DTLocalTriggerBaseTest () | |
Constructor. More... | |
virtual | ~DTLocalTriggerBaseTest () |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Protected Member Functions | |
void | beginJob () |
Begin Job. More... | |
void | beginRun (const edm::Run &run, const edm::EventSetup &c) |
begin Run More... | |
void | bookChambHistos (DTChamberId chambId, std::string htype, std::string subfolder="") |
Book the new MEs (for each chamber) More... | |
void | endJob () |
End Job. More... | |
float | getFloatFromME (DTChamberId chId, std::string meType) |
Get float MEs. More... | |
void | makeRatioME (TH1F *numerator, TH1F *denominator, MonitorElement *result) |
Compute efficiency plots. More... | |
void | runClientDiagnostic () |
DQM Client Diagnostic. More... | |
Protected Member Functions inherited from DTLocalTriggerBaseTest | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
Analyze. More... | |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context) |
Perform begin lumiblock operations. More... | |
void | bookCmsHistos (std::string hTag, std::string folder="") |
Book the new MEs (CMS summary) More... | |
void | bookSectorHistos (int wheel, int sector, std::string hTag, std::string folder="") |
Book the new MEs (for each sector) More... | |
void | bookWheelHistos (int wheel, std::string hTag, std::string folder="") |
Book the new MEs (for each wheel) More... | |
std::string | category () |
Get message logger name. More... | |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context) |
Perform client diagnostic in online. More... | |
void | endRun (edm::Run const &run, edm::EventSetup const &context) |
Perform client diagnostic in offline. More... | |
std::string | fullName (std::string htype) |
Create fullname from histo partial name. More... | |
template<class T > | |
T * | getHisto (MonitorElement *me) |
Convert ME to Histogram fo type T. More... | |
std::string | getMEName (std::string histoTag, std::string subfolder, const DTChamberId &chambid) |
Get the ME name (by chamber) More... | |
std::string | getMEName (std::string histoTag, std::string subfolder, int wh) |
Get the ME name (by wheel) More... | |
std::pair< float, float > | phiRange (const DTChamberId &id) |
Calculate phi range for histograms. More... | |
void | setConfig (const edm::ParameterSet &ps, std::string name) |
Set configuration variables. More... | |
std::string & | topFolder (bool isDCC) |
Get top folder name. More... | |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Private Attributes | |
double | bxTime |
std::map< uint32_t, std::map < std::string, MonitorElement * > > | chambME |
std::string | denHistoTag |
int | minEntries |
int | nBXHigh |
int | nBXLow |
std::string | numHistoTag |
bool | rangeInBX |
std::string | ratioHistoTag |
DTTPGParameters | wPhaseMap |
bool | writeDB |
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 Attributes inherited from DTLocalTriggerBaseTest | |
std::string | baseFolderDCC |
std::string | baseFolderDDU |
std::map< std::string, MonitorElement * > | cmsME |
DQMStore * | dbe |
std::string | hwSource |
std::vector< std::string > | hwSources |
edm::ESHandle< DTGeometry > | muonGeom |
int | nevents |
unsigned int | nLumiSegs |
edm::ParameterSet | parameters |
int | prescaleFactor |
int | run |
bool | runOnline |
std::map< int, std::map < std::string, MonitorElement * > > | secME |
std::string | sourceFolder |
std::string | testName |
std::string | trigSource |
std::vector< std::string > | trigSources |
std::map< int, std::map < std::string, MonitorElement * > > | whME |
DQM Test Client
Definition at line 21 of file DTLocalTriggerSynchTest.h.
DTLocalTriggerSynchTest::DTLocalTriggerSynchTest | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 44 of file DTLocalTriggerSynchTest.cc.
|
virtual |
|
protectedvirtual |
Begin Job.
Reimplemented from DTLocalTriggerBaseTest.
Definition at line 58 of file DTLocalTriggerSynchTest.cc.
References Parameters::parameters.
|
protectedvirtual |
begin Run
Reimplemented from DTLocalTriggerBaseTest.
Definition at line 71 of file DTLocalTriggerSynchTest.cc.
References DTLocalTriggerBaseTest::beginRun(), category(), edm::EventSetup::get(), and Parameters::parameters.
|
protected |
Book the new MEs (for each chamber)
Definition at line 250 of file DTLocalTriggerSynchTest.cc.
References category(), newFWLiteAna::fullName, edm::max(), edm::min(), RecoTauCommonJetSelections_cfi::nbins, DetId::rawId(), DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, and DTChamberId::wheel().
|
protectedvirtual |
End Job.
Reimplemented from DTLocalTriggerBaseTest.
Definition at line 155 of file DTLocalTriggerSynchTest.cc.
References DTTPGParameters::begin(), category(), DTTPGParameters::end(), DTLocalTriggerBaseTest::endJob(), DTTimeUnits::ns, Parameters::parameters, DTTPGParameters::set(), and DTCalibDBUtils::writeToDB().
|
protected |
Get float MEs.
Definition at line 223 of file DTLocalTriggerSynchTest.cc.
References category(), MonitorElement::getFloatValue(), DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, and DTChamberId::wheel().
|
protected |
Compute efficiency plots.
Definition at line 216 of file DTLocalTriggerSynchTest.cc.
References postValidation_cfi::efficiency, and MonitorElement::getTH1F().
|
protectedvirtual |
DQM Client Diagnostic.
Implements DTLocalTriggerBaseTest.
Definition at line 108 of file DTLocalTriggerSynchTest.cc.
References category(), FitTarget::Fit, newFWLiteAna::fullName, MonitorElement::getName(), and DetId::rawId().
|
private |
Definition at line 60 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 56 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 58 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 64 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 63 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 62 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 57 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 61 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 59 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 66 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 65 of file DTLocalTriggerSynchTest.h.