#include <PatternGenerator.h>
Protected Member Functions | |
void | groupPatterns () |
void | initPatternGen () |
void | modifyClassProb (double step) |
void | reCalibratePt () |
void | saveHists (TFile &outfile) override |
void | upadatePdfs () |
void | updateStat () |
Protected Member Functions inherited from PatternOptimizerBase | |
virtual double | getEventRateWeight (double pt) |
void | printPatterns () |
void | savePatternsInRoot (std::string rootFileName) |
Protected Attributes | |
std::vector< unsigned int > | eventCntPerGp |
std::vector< std::vector< TH2I * > > | ptDeltaPhiHists |
Protected Attributes inherited from PatternOptimizerBase | |
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from PatternOptimizerBase | |
static double | vxIntegMuRate (double pt_GeV, double dpt, double etaFrom, double etaTo) |
static double | vxMuRate (double pt_GeV) |
Definition at line 13 of file PatternGenerator.h.
PatternGenerator::PatternGenerator | ( | const edm::ParameterSet & | edmCfg, |
const OMTFConfiguration * | omtfConfig, | ||
GoldenPatternVec< GoldenPatternWithStat > & | gps | ||
) |
Definition at line 16 of file PatternGenerator.cc.
References edm::ParameterSet::getParameter(), and initPatternGen().
|
override |
Definition at line 27 of file PatternGenerator.cc.
|
overridevirtual |
Implements IOMTFEmulationObserver.
Definition at line 182 of file PatternGenerator.cc.
References EmulationObserverBase::edmCfg, PatternOptimizerBase::endJob(), eventCntPerGp, contentValuesFiles::fullPath, edm::ParameterSet::getParameter(), PatternOptimizerBase::goldenPatterns, runTauDisplay::gp, watchdog::group, groupPatterns(), modifyClassProb(), reCalibratePt(), dtT0Analyzer_cfg::rootFileName, AlCaHLTBitMon_QueryRunRegistry::string, upadatePdfs(), and PatternOptimizerBase::writeLayerStat.
|
protected |
Definition at line 594 of file PatternGenerator.cc.
References OMTFConfiguration::getPatternGroups(), OMTFConfiguration::getRefToLogicNumber(), PatternOptimizerBase::goldenPatterns, runTauDisplay::gp, watchdog::group, mps_fire::i, OMTFConfiguration::nPdfAddrBits(), EmulationObserverBase::omtfConfig, and edm::shift.
Referenced by endJob().
|
protected |
Definition at line 29 of file PatternGenerator.cc.
References PatternOptimizerBase::goldenPatterns, runTauDisplay::gp, and mps_fire::i.
Referenced by PatternGenerator().
|
protected |
Definition at line 471 of file PatternGenerator.cc.
References OMTFConfiguration::getPatternPtRange(), OMTFConfiguration::getRefToLogicNumber(), PatternOptimizerBase::goldenPatterns, runTauDisplay::gp, log, OMTFConfiguration::minPdfVal(), OMTFConfiguration::nPdfBins(), EmulationObserverBase::omtfConfig, OMTFConfiguration::pdfMaxValue(), MuonErrorMatrixValues_cff::ptRange, jetcorrextractor::sign(), and PatternOptimizerBase::vxIntegMuRate().
Referenced by endJob().
|
overridevirtual |
Reimplemented from IOMTFEmulationObserver.
Definition at line 169 of file PatternGenerator.cc.
References funct::abs(), CoreSimTrack::momentum(), PatternOptimizerBase::observeEventEnd(), EmulationObserverBase::omtfCand, EmulationObserverBase::simMuon, and updateStat().
|
protected |
Definition at line 550 of file PatternGenerator.cc.
References PatternOptimizerBase::goldenPatterns, runTauDisplay::gp, EmulationObserverBase::omtfConfig, and OMTFConfiguration::ptGevToHw().
Referenced by endJob().
|
overrideprotectedvirtual |
Reimplemented from PatternOptimizerBase.
Definition at line 459 of file PatternGenerator.cc.
|
protected |
Definition at line 268 of file PatternGenerator.cc.
References submitPVResolutionJobs::count, eventCntPerGp, OMTFConfiguration::getPatternGroups(), PatternOptimizerBase::goldenPatterns, runTauDisplay::gp, mps_fire::i, log, OMTFConfiguration::minPdfVal(), EmulationObserverBase::omtfConfig, and OMTFConfiguration::pdfMaxValue().
Referenced by endJob().
|
protected |
Definition at line 100 of file PatternGenerator.cc.
References funct::abs(), EmulationObserverBase::candProcIndx, eventCntPerGp, OMTFConfiguration::getPatternNum(), GoldenPatternBase::getResults(), GoldenPatternWithStat::getStatistics(), PatternOptimizerBase::goldenPatterns, OMTFConfiguration::isBendingLayer(), GoldenPattern::meanDistPhiValue(), CoreSimTrack::momentum(), OMTFConfiguration::nPdfAddrBits(), EmulationObserverBase::omtfCand, EmulationObserverBase::omtfConfig, EmulationObserverBase::simMuon, CoreSimTrack::type(), and GoldenPatternWithStat::updateStat().
Referenced by observeEventEnd().
|
protected |
Definition at line 44 of file PatternGenerator.h.
Referenced by endJob(), upadatePdfs(), and updateStat().
|
protected |
Definition at line 42 of file PatternGenerator.h.