#include <PatternOptimizerBase.h>
Static Public Member Functions | |
static double | vxIntegMuRate (double pt_GeV, double dpt, double etaFrom, double etaTo) |
static double | vxMuRate (double pt_GeV) |
Protected Member Functions | |
virtual double | getEventRateWeight (double pt) |
void | printPatterns () |
virtual void | saveHists (TFile &outfile) |
void | savePatternsInRoot (std::string rootFileName) |
Protected Attributes | |
GoldenPatternVec< GoldenPatternWithStat > & | goldenPatterns |
TH1I * | simMuFoundByOmtfPt |
TH1I * | simMuPt |
TH1F * | simMuPtSpectrum |
bool | writeLayerStat = false |
Protected Attributes inherited from EmulationObserverBase | |
unsigned int | candProcIndx = 0 |
edm::ParameterSet | edmCfg |
AlgoMuons::value_type | omtfCand |
const OMTFConfiguration * | omtfConfig |
l1t::RegionalMuonCand | regionalMuonCand |
const SimTrack * | simMuon = nullptr |
Definition at line 25 of file PatternOptimizerBase.h.
PatternOptimizerBase::PatternOptimizerBase | ( | const edm::ParameterSet & | edmCfg, |
const OMTFConfiguration * | omtfConfig, | ||
GoldenPatternVec< GoldenPatternWithStat > & | gps | ||
) |
Definition at line 64 of file PatternOptimizerBase.cc.
References EmulationObserverBase::edmCfg, edm::ParameterSet::exists(), goldenPatterns, simMuFoundByOmtfPt, simMuPt, and simMuPtSpectrum.
|
override |
Definition at line 80 of file PatternOptimizerBase.cc.
|
overridevirtual |
Implements IOMTFEmulationObserver.
Definition at line 115 of file PatternOptimizerBase.cc.
References EmulationObserverBase::edmCfg, MainPageGenerator::fName, edm::ParameterSet::getParameter(), goldenPatterns, EmulationObserverBase::omtfConfig, savePatternsInRoot(), AlCaHLTBitMon_QueryRunRegistry::string, and XMLConfigWriter::writeGPs().
Referenced by PatternGenerator::endJob().
|
inlineprotectedvirtual |
Definition at line 46 of file PatternOptimizerBase.h.
Referenced by observeEventEnd().
|
overridevirtual |
Reimplemented from IOMTFEmulationObserver.
Definition at line 100 of file PatternOptimizerBase.cc.
References funct::abs(), getEventRateWeight(), OMTFConfiguration::getPatternNum(), goldenPatterns, GoldenPattern::key(), CoreSimTrack::momentum(), EmulationObserverBase::omtfCand, EmulationObserverBase::omtfConfig, simMuFoundByOmtfPt, EmulationObserverBase::simMuon, simMuPtSpectrum, Key::theNumber, and CoreSimTrack::type().
Referenced by PatternGenerator::observeEventEnd().
|
protected |
Definition at line 82 of file PatternOptimizerBase.cc.
References OMTFConfiguration::getPatternPtRange(), goldenPatterns, RPCConst::iptFromPt(), crabWrapper::key, EmulationObserverBase::omtfConfig, DiDispStaMuonMonitor_cfi::pt, and OMTFConfiguration::PatternPt::ptFrom.
|
inlineprotectedvirtual |
Reimplemented in PatternGenerator.
Definition at line 48 of file PatternOptimizerBase.h.
Referenced by savePatternsInRoot().
|
protected |
Definition at line 125 of file PatternOptimizerBase.cc.
References svgfig::canvas(), OMTFConfiguration::getPatternPtRange(), OMTFConfiguration::getRefToLogicNumber(), goldenPatterns, runTauDisplay::gp, compareTotals::hist, OMTFConfiguration::nPdfBins(), EmulationObserverBase::omtfConfig, timingPdfMaker::outfile, OMTFConfiguration::pdfMaxValue(), OMTFConfiguration::PatternPt::ptFrom, OMTFConfiguration::PatternPt::ptTo, CSCSkim_cfi::rootFileName, saveHists(), simMuFoundByOmtfPt, simMuPtSpectrum, and writeLayerStat.
Referenced by endJob().
|
static |
Definition at line 55 of file PatternOptimizerBase.cc.
References RPCpg::rate(), and vxMuRate().
Referenced by PatternGenerator::modifyClassProb().
|
static |
Definition at line 35 of file PatternOptimizerBase.cc.
References a, JetChargeProducer_cfi::exp, amptDefaultParameters_cff::mu, and RPCpg::rate().
Referenced by vxIntegMuRate().
|
protected |
Definition at line 48 of file PatternOptimizerBase.h.
Referenced by PatternGenerator::endJob(), endJob(), PatternGenerator::groupPatterns(), PatternGenerator::initPatternGen(), PatternGenerator::modifyClassProb(), observeEventEnd(), PatternOptimizerBase(), printPatterns(), PatternGenerator::reCalibratePt(), savePatternsInRoot(), PatternGenerator::upadatePdfs(), and PatternGenerator::updateStat().
|
protected |
Definition at line 53 of file PatternOptimizerBase.h.
Referenced by observeEventEnd(), PatternOptimizerBase(), and savePatternsInRoot().
|
protected |
Definition at line 52 of file PatternOptimizerBase.h.
Referenced by PatternOptimizerBase().
|
protected |
Definition at line 55 of file PatternOptimizerBase.h.
Referenced by observeEventEnd(), PatternOptimizerBase(), and savePatternsInRoot().
|
protected |
Definition at line 57 of file PatternOptimizerBase.h.
Referenced by PatternGenerator::endJob(), and savePatternsInRoot().