#include <OMTFConfiguration.h>
Classes | |
struct | PatternPt |
pattern pt range in Gev More... | |
Public Types | |
typedef std::vector< int > | vector1D |
typedef std::vector< int > | vector1D |
typedef std::vector< std::pair< unsigned int, unsigned int > > | vector1D_pair |
typedef std::vector< std::pair< unsigned int, unsigned int > > | vector1D_pair |
typedef std::vector< vector1D > | vector2D |
typedef std::vector< vector1D > | vector2D |
typedef std::vector< vector1D_pair > | vector2D_pair |
typedef std::vector< vector1D_pair > | vector2D_pair |
typedef std::vector< vector2D > | vector3D |
typedef std::vector< vector2D > | vector3D |
typedef std::vector< vector2D_pair > | vector3D_pair |
typedef std::vector< vector2D_pair > | vector3D_pair |
typedef std::vector< vector3D > | vector4D |
typedef std::vector< vector3D > | vector4D |
Public Member Functions | |
void | configure (const L1TMuonOverlapParams *omtfParams) |
virtual void | configure (const L1TMuonOverlapParams *omtfParams) |
void | configureFromEdmParameterSet (const edm::ParameterSet &edmParameterSet) override |
int | etaToHwEta (double eta) const override |
unsigned int | fwVersion () const |
unsigned int | fwVersion () const |
const std::vector< unsigned int > & | getBarrelMax () const |
const std::vector< unsigned int > & | getBarrelMax () const |
const std::vector< unsigned int > & | getBarrelMin () const |
const std::vector< unsigned int > & | getBarrelMin () const |
const std::set< int > & | getBendingLayers () const |
const std::set< int > & | getBendingLayers () const |
const vector3D_pair & | getConnections () const |
const vector3D_pair & | getConnections () const |
const std::vector< unsigned int > & | getEndcap10DegMax () const |
const std::vector< unsigned int > & | getEndcap10DegMax () const |
const std::vector< unsigned int > & | getEndcap10DegMin () const |
const std::vector< unsigned int > & | getEndcap10DegMin () const |
const std::vector< unsigned int > & | getEndcap20DegMax () const |
const std::vector< unsigned int > & | getEndcap20DegMax () const |
const std::vector< unsigned int > & | getEndcap20DegMin () const |
const std::vector< unsigned int > & | getEndcap20DegMin () const |
const std::string & | getGhostBusterType () const |
int | getGoldenPatternResultFinalizeFunction () const |
const std::map< int, int > & | getHwToLogicLayer () const |
const std::map< int, int > & | getHwToLogicLayer () const |
uint32_t | getLayerNumber (uint32_t rawId) const |
uint32_t | getLayerNumber (uint32_t rawId) const |
const std::map< int, int > & | getLogicToHwLayer () const |
const std::map< int, int > & | getLogicToHwLayer () const |
const std::map< int, int > & | getLogicToLogic () const |
const std::map< int, int > & | getLogicToLogic () const |
vector4D & | getMeasurements4D () |
const vector4D & | getMeasurements4D () const |
vector4D & | getMeasurements4D () |
const vector4D & | getMeasurements4D () const |
vector4D & | getMeasurements4Dref () |
const vector4D & | getMeasurements4Dref () const |
vector4D & | getMeasurements4Dref () |
const vector4D & | getMeasurements4Dref () const |
template<class GoldenPatternType > | |
vector2D | getPatternGroups (const std::vector< std::unique_ptr< GoldenPatternType > > &goldenPats) const |
unsigned int | getPatternNum (double pt, int charge) const |
charge: -1 - negative, +1 - positive More... | |
PatternPt | getPatternPtRange (unsigned int patNum) const |
const std::vector< std::vector< int > > & | getProcessorPhiVsRefLayer () const |
const std::vector< std::vector< int > > & | getProcessorPhiVsRefLayer () const |
unsigned int | getProcIndx (unsigned int iProcessor, l1t::tftype mtfType) const |
input phi should be in the hardware scale (nPhiBins units for 2pi), can be in range -nPhiBins ... nPhiBins, More... | |
int | getProcScalePhi (unsigned int iProcessor, double phiRad) const |
int | getProcScalePhi (double phiRad, double procPhiZeroRad=0) const override |
const L1TMuonOverlapParams * | getRawParams () const |
const L1TMuonOverlapParams * | getRawParams () const |
const std::vector< std::vector< RefHitDef > > & | getRefHitsDefs () const |
const std::vector< std::vector< RefHitDef > > & | getRefHitsDefs () const |
const std::vector< int > & | getRefToLogicNumber () const |
const std::vector< int > & | getRefToLogicNumber () const |
unsigned int | getRegionNumberFromMap (unsigned int iInput, unsigned int iRefLayer, int iPhi) const |
unsigned int | getRegionNumberFromMap (unsigned int iInput, unsigned int iRefLayer, int iPhi) const |
const std::vector< std::vector< std::vector< std::pair< int, int > > > > & | getRegionPhisVsRefLayerVsInput () const |
const std::vector< std::vector< std::vector< std::pair< int, int > > > > & | getRegionPhisVsRefLayerVsInput () const |
int | getSorterType () const |
int | globalPhiStart (unsigned int iProcessor) const |
int | globalPhiStart (unsigned int iProcessor) const |
virtual double | hwEtaToEta (int hwEta) const |
center of eta bin More... | |
virtual double | hwPhiToGlobalPhi (int phi) const |
double | hwPtToGev (int hwPt) const override |
uGMT pt scale conversion More... | |
void | initCounterMatrices () |
void | initCounterMatrices () |
bool | isBendingLayer (unsigned int iLayer) const override |
bool | isInRegionRange (int iPhiStart, unsigned int coneSize, int iPhi) const |
bool | isInRegionRange (int iPhiStart, unsigned int coneSize, int iPhi) const |
bool | isNoHitValueInPdf () const |
float | minPdfVal () const |
float | minPdfVal () const |
unsigned int | nGoldenPatterns () const |
unsigned int | nGoldenPatterns () const |
unsigned int | nHitsPerLayer () const |
unsigned int | nHitsPerLayer () const |
unsigned int | nInputs () const |
unsigned int | nInputs () const |
unsigned int | nLayers () const |
unsigned int | nLayers () const override |
unsigned int | nLogicRegions () const |
unsigned int | nLogicRegions () const |
unsigned int | nPdfAddrBits () const |
unsigned int | nPdfAddrBits () const |
unsigned int | nPdfBins () const |
unsigned int | nPdfValBits () const |
unsigned int | nPdfValBits () const |
unsigned int | nPhiBins () const |
unsigned int | nPhiBins () const override |
unsigned int | nPhiBits () const |
unsigned int | nPhiBits () const |
unsigned int | nProcessors () const |
unsigned int | nProcessors () const |
unsigned int | nRefHits () const |
unsigned int | nRefHits () const |
unsigned int | nRefLayers () const |
unsigned int | nRefLayers () const |
unsigned int | nTestRefHits () const |
unsigned int | nTestRefHits () const |
OMTFConfiguration () | |
OMTFConfiguration () | |
unsigned int | patternsVersion () const |
unsigned int | patternsVersion () const |
int | pdfMaxValue () const |
virtual int | phiToGlobalHwPhi (double phi) const |
void | printConfig () const |
unsigned int | processorCnt () const |
double | procHwPhiToGlobalPhi (int procHwPhi, int procHwPhi0) const |
int | procPhiToGmtPhi (int procPhi) const |
int | ptGevToHw (double ptGev) const override |
uGMT pt scale conversion: [0GeV, 0.5GeV) = 1 [0.5GeV, 1 Gev) = 2 More... | |
void | setGhostBusterType (const std::string &ghostBusterType="") |
void | setGoldenPatternResultFinalizeFunction (int goldenPatternResultFinalizeFunction=0) |
void | setNoHitValueInPdf (bool noHitValueInPdf=false) |
void | setPatternPtRange (const std::vector< PatternPt > &patternPts) |
void | setSorterType (int sorterType=0) |
Public Member Functions inherited from ProcConfigurationBase | |
virtual int | cscLctCentralBx () const |
virtual unsigned int | etaHwToEtaBin (int etaHw) const |
virtual int | foldPhi (int phi) const |
virtual unsigned int | getBxToProcess () const |
virtual bool | getFixCscGeometryOffset () const |
virtual int | getMinDtPhiBQuality () const |
virtual int | getMinDtPhiQuality () const |
virtual bool | getRpcDropAllClustersIfMoreThanMax () const |
virtual unsigned int | getRpcMaxClusterCnt () const |
virtual unsigned int | getRpcMaxClusterSize () const |
ProcConfigurationBase () | |
virtual unsigned int | ptGeVToPtBin (float ptGeV) const |
virtual unsigned int | ptHwToPtBin (int ptHw) const |
virtual void | setCscLctCentralBx (int lctCentralBx) |
virtual bool | setFixCscGeometryOffset (bool fixCscGeometryOffset) |
virtual void | setMinDtPhiBQuality (int minDtPhiBQuality=2) |
virtual void | setMinDtPhiQuality (int minDtPhiQuality=2) |
virtual void | setRpcDropAllClustersIfMoreThanMax (bool rpcDropAllClustersIfMoreThanMax=true) |
virtual void | setRpcMaxClusterCnt (unsigned int rpcMaxClusterCnt=2) |
virtual void | setRpcMaxClusterSize (unsigned int rpcMaxClusterSize=4) |
virtual | ~ProcConfigurationBase () |
Public Attributes | |
double | etaUnit = 0.010875 |
double | phiGmtUnit = 2. * M_PI / 576 |
double | ptUnit = 0.5 |
Static Public Attributes | |
static const unsigned int | patternsInGroup = 4 |
Private Attributes | |
std::vector< unsigned int > | barrelMax |
std::vector< unsigned int > | barrelMin |
std::set< int > | bendingLayers |
vector3D_pair | connections |
Map of connections. More... | |
std::vector< unsigned int > | endcap10DegMax |
std::vector< unsigned int > | endcap10DegMin |
std::vector< unsigned int > | endcap20DegMax |
std::vector< unsigned int > | endcap20DegMin |
std::string | ghostBusterType = "" |
int | goldenPatternResultFinalizeFunction = 0 |
std::map< int, int > | hwToLogicLayer |
std::map< int, int > | logicToHwLayer |
std::map< int, int > | logicToLogic |
vector4D | measurements4D |
4D matrices used during creation of the connections tables. More... | |
vector4D | measurements4Dref |
bool | noHitValueInPdf = false |
std::vector< PatternPt > | patternPts |
unsigned int | pdfBins = 0 |
int | pdfMaxVal = 0 |
std::vector< std::vector< int > > | processorPhiVsRefLayer |
L1TMuonOverlapParams | rawParams |
std::vector< std::vector< RefHitDef > > | refHitsDefs |
std::vector< int > | refToLogicNumber |
std::vector< std::vector< std::vector< std::pair< int, int > > > > | regionPhisVsRefLayerVsInput |
int | sorterType = 0 |
Friends | |
std::ostream & | operator<< (std::ostream &out, const OMTFConfiguration &aConfig) |
std::ostream & | operator<< (std::ostream &out, const OMTFConfiguration &aConfig) |
Definition at line 44 of file OMTFConfiguration.h.
typedef std::vector<int> OMTFConfiguration::vector1D |
Definition at line 50 of file OMTFConfiguration.h.
typedef std::vector<int> OMTFConfiguration::vector1D |
Definition at line 58 of file OMTFConfiguration.h.
typedef std::vector<std::pair<unsigned int, unsigned int> > OMTFConfiguration::vector1D_pair |
Definition at line 46 of file OMTFConfiguration.h.
typedef std::vector<std::pair<unsigned int, unsigned int> > OMTFConfiguration::vector1D_pair |
Definition at line 54 of file OMTFConfiguration.h.
typedef std::vector<vector1D> OMTFConfiguration::vector2D |
Definition at line 51 of file OMTFConfiguration.h.
typedef std::vector<vector1D> OMTFConfiguration::vector2D |
Definition at line 59 of file OMTFConfiguration.h.
typedef std::vector<vector1D_pair> OMTFConfiguration::vector2D_pair |
Definition at line 47 of file OMTFConfiguration.h.
typedef std::vector<vector1D_pair> OMTFConfiguration::vector2D_pair |
Definition at line 55 of file OMTFConfiguration.h.
typedef std::vector<vector2D> OMTFConfiguration::vector3D |
Definition at line 52 of file OMTFConfiguration.h.
typedef std::vector<vector2D> OMTFConfiguration::vector3D |
Definition at line 60 of file OMTFConfiguration.h.
typedef std::vector<vector2D_pair> OMTFConfiguration::vector3D_pair |
Definition at line 48 of file OMTFConfiguration.h.
typedef std::vector<vector2D_pair> OMTFConfiguration::vector3D_pair |
Definition at line 56 of file OMTFConfiguration.h.
typedef std::vector<vector3D> OMTFConfiguration::vector4D |
Definition at line 53 of file OMTFConfiguration.h.
typedef std::vector<vector3D> OMTFConfiguration::vector4D |
Definition at line 61 of file OMTFConfiguration.h.
|
inline |
Definition at line 55 of file OMTFConfiguration.h.
|
inline |
Definition at line 63 of file OMTFConfiguration.h.
void OMTFConfiguration::configure | ( | const L1TMuonOverlapParams * | omtfParams | ) |
Set chamber sectors connections to logic processros.
Set connections tables
connections tables for each processor each logic cone Vector of all layers
Vector of all logic cones
Vector of all processors
Starting phis of each region Vector of all regions in one processor
Vector of all reflayers
Vector of all inputs
Vector of all processros
Symetrize connections. Use th same connections for all processors
Definition at line 49 of file OMTFConfiguration.cc.
References barrelMax, barrelMin, L1TMuonOverlapParams::LayerMapNode::bendingLayer, bendingLayers, L1TMuonOverlapParams::LayerMapNode::connectedToLayer, connections, filterCSVwithJSON::copy, endcap10DegMax, endcap10DegMin, endcap20DegMax, endcap20DegMin, L1TMuonOverlapParams::LayerMapNode::hwNumber, hwToLogicLayer, initCounterMatrices(), L1TMuonOverlapParams::LayerMapNode::logicNumber, L1TMuonOverlapParams::RefLayerMapNode::logicNumber, logicToHwLayer, logicToLogic, nInputs(), nLayers(), nLogicRegions(), nPhiBins(), nProcessors(), nRefHits(), nRefLayers(), fakeOmtfParams_cff::omtfParams, processorPhiVsRefLayer, rawParams, refHitsDefs, L1TMuonOverlapParams::RefLayerMapNode::refLayer, refToLogicNumber, and regionPhisVsRefLayerVsInput.
Referenced by OMTFPatternMaker::beginRun(), OMTFReconstruction::beginRun(), and OMTFPatternMaker::endJob().
|
virtual |
|
overridevirtual |
configuration from the edm::ParameterSet the parameters are set (i.e. overwritten) only if their exist in the edmParameterSet
Reimplemented from ProcConfigurationBase.
Definition at line 189 of file OMTFConfiguration.cc.
References ProcConfigurationBase::configureFromEdmParameterSet(), edm::ParameterSet::exists(), getGhostBusterType(), edm::ParameterSet::getParameter(), ProcConfigurationBase::setFixCscGeometryOffset(), setGhostBusterType(), setGoldenPatternResultFinalizeFunction(), setNoHitValueInPdf(), sorterType, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Implements ProcConfigurationBase.
Definition at line 152 of file OMTFConfiguration.h.
References PVValHelper::eta, and etaUnit.
|
inline |
Definition at line 81 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::fwVersion(), and rawParams.
Referenced by OMTFReconstruction::beginRun(), OMTFSorter< GoldenPatternType >::candidates(), OMTFResult::finalise(), GoldenPatternResult::finalise0(), OMTFinputMaker::processDT(), and GhostBusterPreferRefDt::select().
|
inline |
Definition at line 89 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::fwVersion(), and rawParams.
|
inline |
Definition at line 108 of file OMTFConfiguration.h.
References barrelMax.
Referenced by OMTFinputMaker::acceptDigi().
|
inline |
Definition at line 121 of file OMTFConfiguration.h.
References barrelMax.
|
inline |
Definition at line 107 of file OMTFConfiguration.h.
References barrelMin.
Referenced by OMTFinputMaker::acceptDigi(), and OMTFinputMaker::getInputNumber().
|
inline |
Definition at line 120 of file OMTFConfiguration.h.
References barrelMin.
|
inline |
Definition at line 104 of file OMTFConfiguration.h.
References bendingLayers.
Referenced by OMTFProcessor< GoldenPatternType >::fillCounts(), OMTFResult::finalise(), GoldenPatternResult::finalise0(), GoldenPatternResult::finalise2(), isBendingLayer(), OMTFProcessor< GoldenPatternType >::processInput(), and OMTFinput::shiftMyPhi().
|
inline |
|
inline |
Definition at line 120 of file OMTFConfiguration.h.
References connections.
Referenced by OMTFProcessor< GoldenPatternType >::restrictInput().
|
inline |
Definition at line 133 of file OMTFConfiguration.h.
References connections.
|
inline |
Definition at line 110 of file OMTFConfiguration.h.
References endcap10DegMax.
Referenced by OMTFinputMaker::acceptDigi().
|
inline |
Definition at line 123 of file OMTFConfiguration.h.
References endcap10DegMax.
|
inline |
Definition at line 109 of file OMTFConfiguration.h.
References endcap10DegMin.
Referenced by OMTFinputMaker::acceptDigi(), and OMTFinputMaker::getInputNumber().
|
inline |
Definition at line 122 of file OMTFConfiguration.h.
References endcap10DegMin.
|
inline |
Definition at line 112 of file OMTFConfiguration.h.
References endcap20DegMax.
Referenced by OMTFinputMaker::acceptDigi().
|
inline |
Definition at line 125 of file OMTFConfiguration.h.
References endcap20DegMax.
|
inline |
Definition at line 111 of file OMTFConfiguration.h.
References endcap20DegMin.
Referenced by OMTFinputMaker::acceptDigi(), and OMTFinputMaker::getInputNumber().
|
inline |
Definition at line 124 of file OMTFConfiguration.h.
References endcap20DegMin.
|
inline |
Definition at line 252 of file OMTFConfiguration.h.
References ghostBusterType.
Referenced by configureFromEdmParameterSet(), and GhostBusterPreferRefDt::select().
|
inline |
Definition at line 236 of file OMTFConfiguration.h.
References goldenPatternResultFinalizeFunction.
Referenced by GoldenPatternResult::init().
|
inline |
Definition at line 101 of file OMTFConfiguration.h.
References hwToLogicLayer.
Referenced by OMTFinputMaker::processCSC(), OMTFinputMaker::processDT(), and OMTFinputMaker::processRPC().
|
inline |
Definition at line 114 of file OMTFConfiguration.h.
References hwToLogicLayer.
uint32_t OMTFConfiguration::getLayerNumber | ( | uint32_t | rawId | ) | const |
Return layer number encoding subsystem, and station number in a simple formula: aLayer+100*detId.subdetId() where aLayer is a layer number counting from vertex
Definition at line 204 of file OMTFConfiguration.cc.
References gather_cfg::cout, MuonSubdetId::CSC, omtf::DataWord64::csc, DetId::det(), MuonSubdetId::DT, dt, PixelPluginsPhase0_cfi::isBarrel, RPCDetId::layer(), DetId::Muon, RPCDetId::region(), MuonSubdetId::RPC, RPCDetId::station(), and DetId::subdetId().
Referenced by OMTFinputMaker::processCSC(), OMTFinputMaker::processDT(), and OMTFinputMaker::processRPC().
uint32_t OMTFConfiguration::getLayerNumber | ( | uint32_t | rawId | ) | const |
Return layer number encoding subsystem, and station number in a simple formula: aLayer+100*detId.subdetId() where aLayer is a layer number counting from vertex
|
inline |
Definition at line 102 of file OMTFConfiguration.h.
References logicToHwLayer.
|
inline |
Definition at line 115 of file OMTFConfiguration.h.
References logicToHwLayer.
|
inline |
Definition at line 103 of file OMTFConfiguration.h.
References logicToLogic.
Referenced by OMTFResult::finalise(), GoldenPatternResult::finalise0(), GoldenPatternResult::finalise2(), GoldenPatternResult::finalise5(), GoldenPatternResult::finalise6(), GoldenPatternResult::finalise8(), and GoldenPatternResult::finalise9().
|
inline |
|
inline |
Definition at line 122 of file OMTFConfiguration.h.
References measurements4D.
Referenced by OMTFPatternMaker::endJob(), OMTFConfigMaker::fillInputRange(), and XMLConfigWriter::writeConnectionsData().
|
inline |
Definition at line 125 of file OMTFConfiguration.h.
References measurements4D.
|
inline |
Definition at line 135 of file OMTFConfiguration.h.
References measurements4D.
|
inline |
Definition at line 138 of file OMTFConfiguration.h.
References measurements4D.
|
inline |
Definition at line 123 of file OMTFConfiguration.h.
References measurements4Dref.
Referenced by OMTFConfigMaker::fillInputRange(), OMTFConfigMaker::printConnections(), and XMLConfigWriter::writeConnectionsData().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 209 of file OMTFConfiguration.h.
References watchdog::group, and findQualityFiles::size.
Referenced by PatternGenerator::groupPatterns(), PatternGenerator::upadatePdfs(), and XMLConfigWriter::writeGPs().
unsigned int OMTFConfiguration::getPatternNum | ( | double | pt, |
int | charge | ||
) | const |
charge: -1 - negative, +1 - positive
Definition at line 374 of file OMTFConfiguration.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, OMTFConfiguration::PatternPt::charge, getPatternPtRange(), patternPts, DiDispStaMuonMonitor_cfi::pt, OMTFConfiguration::PatternPt::ptFrom, and OMTFConfiguration::PatternPt::ptTo.
Referenced by PatternOptimizerBase::observeEventEnd(), and PatternGenerator::updateStat().
OMTFConfiguration::PatternPt OMTFConfiguration::getPatternPtRange | ( | unsigned int | patNum | ) | const |
Definition at line 364 of file OMTFConfiguration.cc.
References Exception, and patternPts.
Referenced by getPatternNum(), PatternGenerator::modifyClassProb(), PatternOptimizerBase::printPatterns(), and PatternOptimizerBase::savePatternsInRoot().
|
inline |
Definition at line 114 of file OMTFConfiguration.h.
References processorPhiVsRefLayer.
Referenced by XMLConfigWriter::writeConnectionsData().
|
inline |
Definition at line 127 of file OMTFConfiguration.h.
References processorPhiVsRefLayer.
|
inline |
input phi should be in the hardware scale (nPhiBins units for 2pi), can be in range -nPhiBins ... nPhiBins,
Continuous processor number [0...12], to be used in as array index,
Definition at line 183 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nProcessors(), l1t::omtf_neg, and rawParams.
Referenced by EmulationObserverBase::observeProcesorEmulation(), and EventCapture::observeProcesorEmulation().
int OMTFConfiguration::getProcScalePhi | ( | unsigned int | iProcessor, |
double | phiRad | ||
) | const |
iProcessor - 0...5 phiRad [-pi,pi] return phi inside the processor
Definition at line 329 of file OMTFConfiguration.cc.
References M_PI, and nPhiBins().
|
inlineoverridevirtual |
Implements ProcConfigurationBase.
Definition at line 166 of file OMTFConfiguration.h.
|
inline |
Definition at line 84 of file OMTFConfiguration.h.
References rawParams.
Referenced by OMTFPatternMaker::endJob().
|
inline |
|
inline |
Definition at line 118 of file OMTFConfiguration.h.
References refHitsDefs.
Referenced by OMTFProcessor< GoldenPatternType >::fillCounts(), OMTFinput::getRefHits(), and OMTFProcessor< GoldenPatternType >::processInput().
|
inline |
Definition at line 131 of file OMTFConfiguration.h.
References refHitsDefs.
|
inline |
Definition at line 105 of file OMTFConfiguration.h.
References refToLogicNumber.
Referenced by GoldenPattern::addCount(), OMTFProcessor< GoldenPatternType >::fillCounts(), OMTFConfigMaker::fillPhiMaps(), OMTFinput::getRefHits(), PatternGenerator::groupPatterns(), OMTFConfigMaker::makeConnetionsMap(), PatternGenerator::modifyClassProb(), GoldenPattern::normalise(), DataROOTDumper2::observeEventEnd(), operator<<(), OMTFProcessor< GoldenPatternType >::processInput(), PatternOptimizerBase::savePatternsInRoot(), GhostBusterPreferRefDt::select(), and XMLConfigWriter::writeResultsData().
|
inline |
Definition at line 118 of file OMTFConfiguration.h.
References refToLogicNumber.
unsigned int OMTFConfiguration::getRegionNumberFromMap | ( | unsigned int | iInput, |
unsigned int | iRefLayer, | ||
int | iPhi | ||
) | const |
Find logic region number using first input number and then local phi value. The input and phi ranges are taken from DB.
Definition at line 188 of file OMTFConfiguration.cc.
References dqmdumpme::first, nLogicRegions(), regionPhisVsRefLayerVsInput, and edm::second().
Referenced by OMTFConfigMaker::fillPhiMaps(), and OMTFConfigMaker::makeConnetionsMap().
unsigned int OMTFConfiguration::getRegionNumberFromMap | ( | unsigned int | iInput, |
unsigned int | iRefLayer, | ||
int | iPhi | ||
) | const |
Find logic region number using first input number and then local phi value. The input and phi ranges are taken from DB.
|
inline |
Definition at line 115 of file OMTFConfiguration.h.
References regionPhisVsRefLayerVsInput.
|
inline |
Definition at line 128 of file OMTFConfiguration.h.
References regionPhisVsRefLayerVsInput.
|
inline |
int OMTFConfiguration::globalPhiStart | ( | unsigned int | iProcessor | ) | const |
Return global phi for beggining of given processor Uses minim phi over all reference layers.
Definition at line 199 of file OMTFConfiguration.cc.
References mps_fire::end, and processorPhiVsRefLayer.
Referenced by XMLConfigWriter::writeConnectionsData().
int OMTFConfiguration::globalPhiStart | ( | unsigned int | iProcessor | ) | const |
Return global phi for beggining of given processor Uses minim phi over all reference layers.
|
inlinevirtual |
center of eta bin
Definition at line 150 of file OMTFConfiguration.h.
References etaUnit, and l1trig_cff::hwEta.
Referenced by DataROOTDumper2::observeEventEnd().
|
inlinevirtual |
|
inlineoverridevirtual |
uGMT pt scale conversion
Implements ProcConfigurationBase.
Definition at line 143 of file OMTFConfiguration.h.
References l1trig_cff::hwPt, and ptUnit.
Referenced by EventCapture::observeEventEnd(), and DataROOTDumper2::observeEventEnd().
void OMTFConfiguration::initCounterMatrices | ( | ) |
Vector of all inputs
Vector of all layers
Vector of all logic cones
Vector of all processors
Definition at line 31 of file OMTFConfiguration.cc.
References measurements4D, measurements4Dref, nInputs(), nLayers(), nLogicRegions(), and nProcessors().
Referenced by configure().
void OMTFConfiguration::initCounterMatrices | ( | ) |
|
inlineoverridevirtual |
Implements ProcConfigurationBase.
Definition at line 188 of file OMTFConfiguration.h.
References getBendingLayers().
Referenced by GoldenPatternResult::finalise5(), GoldenPatternResult::finalise6(), GoldenPatternResult::finalise8(), GoldenPatternResult::finalise9(), OMTFinput::getHitEta(), OMTFinput::getPhiHw(), StubsSimHitsMatcher::match(), DataROOTDumper2::observeEventEnd(), operator<<(), GoldenPatternBase::process1Layer1RefLayer(), and PatternGenerator::updateStat().
bool OMTFConfiguration::isInRegionRange | ( | int | iPhiStart, |
unsigned int | coneSize, | ||
int | iPhi | ||
) | const |
Check if given referecne hit is in phi range for some logic cone. Care is needed arounf +Pi and +2Pi points
Definition at line 171 of file OMTFConfiguration.cc.
References HLT_2023v12_cff::coneSize, createfilelist::int, and nPhiBins().
bool OMTFConfiguration::isInRegionRange | ( | int | iPhiStart, |
unsigned int | coneSize, | ||
int | iPhi | ||
) | const |
Check if given referecne hit is in phi range for some logic cone. Care is needed arounf +Pi and +2Pi points
|
inline |
Definition at line 244 of file OMTFConfiguration.h.
References noHitValueInPdf.
Referenced by GoldenPatternBase::process1Layer1RefLayer().
|
inline |
Definition at line 86 of file OMTFConfiguration.h.
Referenced by PatternGenerator::modifyClassProb(), GoldenPattern::normalise(), and PatternGenerator::upadatePdfs().
|
inline |
Definition at line 94 of file OMTFConfiguration.h.
|
inline |
Definition at line 99 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nGoldenPatterns(), and rawParams.
Referenced by OMTFProcessor< GoldenPatternType >::configure().
|
inline |
Definition at line 112 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nGoldenPatterns(), and rawParams.
|
inline |
Definition at line 88 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nHitsPerLayer(), and rawParams.
Referenced by operator<<().
|
inline |
Definition at line 96 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nHitsPerLayer(), and rawParams.
|
inline |
Definition at line 98 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nInputs(), and rawParams.
Referenced by configure(), OMTFConfigMaker::fillPhiMaps(), initCounterMatrices(), and OMTFConfigMaker::printConnections().
|
inline |
Definition at line 111 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nInputs(), and rawParams.
|
inlinevirtual |
Implements ProcConfigurationBase.
Definition at line 87 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nLayers(), and rawParams.
Referenced by OMTFProcessor< GoldenPatternType >::averagePatterns(), OMTFinput::clear(), OMTFResult::clear(), OMTFProcessor< GoldenPatternType >::configure(), configure(), OMTFProcessor< GoldenPatternType >::fillCounts(), OMTFConfigMaker::fillInputRange(), GoldenPatternResult::init(), initCounterMatrices(), OMTFinput::mergeData(), operator<<(), OMTFConfigMaker::printConnections(), OMTFProcessor< GoldenPatternType >::processInput(), GoldenPattern::reset(), OMTFProcessor< GoldenPatternType >::shiftGP(), StubsSimHitsMatcher::StubsSimHitsMatcher(), XMLConfigWriter::writeConnectionsData(), XMLConfigWriter::writeEventData(), XMLConfigWriter::writeGPData(), and XMLConfigWriter::writeResultsData().
|
inlineoverridevirtual |
Implements ProcConfigurationBase.
Definition at line 95 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nLayers(), and rawParams.
|
inline |
Definition at line 97 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nLogicRegions(), and rawParams.
Referenced by configure(), getRegionNumberFromMap(), initCounterMatrices(), OMTFConfigMaker::makeConnetionsMap(), OMTFConfigMaker::OMTFConfigMaker(), and OMTFConfigMaker::printPhiMap().
|
inline |
Definition at line 110 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nLogicRegions(), and rawParams.
|
inline |
Definition at line 91 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nPdfAddrBits(), and rawParams.
Referenced by GoldenPattern::addCount(), OMTFProcessor< GoldenPatternType >::configure(), PatternGenerator::groupPatterns(), GoldenPattern::meanDistPhiValue(), GoldenPattern::normalise(), operator<<(), GoldenPattern::process1Layer1RefLayer(), GoldenPatternBase::process1Layer1RefLayer(), GoldenPattern::reset(), OMTFProcessor< GoldenPatternType >::shiftGP(), PatternGenerator::updateStat(), and XMLConfigWriter::writeGPData().
|
inline |
Definition at line 99 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nPdfAddrBits(), and rawParams.
|
inline |
Definition at line 100 of file OMTFConfiguration.h.
References pdfBins.
Referenced by PatternGenerator::modifyClassProb(), and PatternOptimizerBase::savePatternsInRoot().
|
inline |
Definition at line 92 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nPdfValBits(), and rawParams.
Referenced by GoldenPattern::normalise(), and operator<<().
|
inline |
Definition at line 101 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nPdfValBits(), and rawParams.
|
inlinevirtual |
Implements ProcConfigurationBase.
Definition at line 93 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nPhiBins(), and rawParams.
Referenced by GoldenPattern::addCount(), OMTFinput::addLayerHit(), OMTFReconstruction::beginRun(), OMTFinput::clear(), configure(), OMTFConfigMaker::fillInputRange(), OMTFConfigMaker::fillPhiMaps(), OMTFinput::getHitEta(), OMTFinput::getPhiHw(), getProcScalePhi(), OMTFinput::getRefHits(), OMTFinputMaker::initialize(), isInRegionRange(), OMTFConfigMaker::OMTFConfigMaker(), operator<<(), GoldenPattern::process1Layer1RefLayer(), GoldenPatternBase::process1Layer1RefLayer(), procHwPhiToGlobalPhi(), OMTFProcessor< GoldenPatternType >::restrictInput(), OMTFinput::shiftMyPhi(), XMLConfigWriter::writeConnectionsData(), and XMLConfigWriter::writeEventData().
|
inlineoverridevirtual |
Implements ProcConfigurationBase.
Definition at line 103 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nPhiBins(), and rawParams.
|
inline |
Definition at line 90 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nPhiBits(), and rawParams.
Referenced by OMTFinput::shiftMyPhi(), and XMLConfigWriter::writeConnectionsData().
|
inline |
Definition at line 98 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nPhiBits(), and rawParams.
|
inline |
Definition at line 96 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nProcessors(), and rawParams.
Referenced by configure(), initCounterMatrices(), operator<<(), and OMTFReconstruction::reconstruct().
|
inline |
Definition at line 107 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nProcessors(), and rawParams.
|
inline |
Definition at line 94 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nRefHits(), and rawParams.
Referenced by configure(), OMTFProcessor< GoldenPatternType >::fillCounts(), OMTFProcessor< GoldenPatternType >::processInput(), and XMLConfigWriter::writeConnectionsData().
|
inline |
Definition at line 104 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nRefHits(), and rawParams.
|
inline |
Definition at line 89 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nRefLayers(), and rawParams.
Referenced by OMTFProcessor< GoldenPatternType >::averagePatterns(), OMTFResult::clear(), OMTFProcessor< GoldenPatternType >::configure(), configure(), OMTFResult::empty(), OMTFConfigMaker::fillPhiMaps(), OMTFConfigMaker::makeConnetionsMap(), OMTFConfigMaker::OMTFConfigMaker(), operator<<(), OMTFConfigMaker::printPhiMap(), GoldenPattern::reset(), OMTFProcessor< GoldenPatternType >::shiftGP(), XMLConfigWriter::writeConnectionsData(), XMLConfigWriter::writeGPData(), and XMLConfigWriter::writeResultsData().
|
inline |
Definition at line 97 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nRefLayers(), and rawParams.
|
inline |
Definition at line 95 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nTestRefHits(), and rawParams.
Referenced by OMTFProcessor< GoldenPatternType >::configure(), DataROOTDumper2::DataROOTDumper2(), OMTFProcessor< GoldenPatternType >::processInput(), GoldenPatternBase::setConfig(), and OMTFReconstruction::writeResultToXML().
|
inline |
Definition at line 105 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nTestRefHits(), and rawParams.
|
inline |
Definition at line 82 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::fwVersion(), and rawParams.
Referenced by XMLConfigWriter::initialiseXMLDocument().
|
inline |
Definition at line 90 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::fwVersion(), and rawParams.
|
inline |
Definition at line 102 of file OMTFConfiguration.h.
References pdfMaxVal.
Referenced by PatternGenerator::modifyClassProb(), PatternOptimizerBase::savePatternsInRoot(), and PatternGenerator::upadatePdfs().
|
inlinevirtual |
void OMTFConfiguration::printConfig | ( | ) | const |
Definition at line 388 of file OMTFConfiguration.cc.
References ProcConfigurationBase::cscLctCentralBx(), ProcConfigurationBase::getMinDtPhiBQuality(), ProcConfigurationBase::getMinDtPhiQuality(), ProcConfigurationBase::getRpcDropAllClustersIfMoreThanMax(), ProcConfigurationBase::getRpcMaxClusterCnt(), ProcConfigurationBase::getRpcMaxClusterSize(), ghostBusterType, goldenPatternResultFinalizeFunction, noHitValueInPdf, and sorterType.
|
inline |
Definition at line 109 of file OMTFConfiguration.h.
References L1TMuonOverlapParams::nProcessors(), and rawParams.
Referenced by GoldenPatternBase::setConfig().
double OMTFConfiguration::procHwPhiToGlobalPhi | ( | int | procHwPhi, |
int | procHwPhi0 | ||
) | const |
Definition at line 356 of file OMTFConfiguration.cc.
References ProcConfigurationBase::foldPhi(), M_PI, and nPhiBins().
Referenced by StubsSimHitsMatcher::match(), and EventCapture::observeEventEnd().
|
inline |
conversion factor from OMTF to uGMT scale is 5400/576 i.e. phiValue/=9.375;
Definition at line 172 of file OMTFConfiguration.h.
Referenced by GhostBuster::select(), and GhostBusterPreferRefDt::select().
|
inlineoverridevirtual |
uGMT pt scale conversion: [0GeV, 0.5GeV) = 1 [0.5GeV, 1 Gev) = 2
Implements ProcConfigurationBase.
Definition at line 146 of file OMTFConfiguration.h.
References ptUnit.
Referenced by PatternGenerator::reCalibratePt().
|
inline |
Definition at line 254 of file OMTFConfiguration.h.
References ghostBusterType.
Referenced by configureFromEdmParameterSet().
|
inline |
Definition at line 238 of file OMTFConfiguration.h.
References goldenPatternResultFinalizeFunction.
Referenced by configureFromEdmParameterSet().
|
inline |
Definition at line 246 of file OMTFConfiguration.h.
References noHitValueInPdf.
Referenced by configureFromEdmParameterSet().
|
inline |
Definition at line 200 of file OMTFConfiguration.h.
References patternPts.
Referenced by ProcessorBase< GoldenPatternType >::configure(), and ProcessorBase< GoldenPatternType >::ProcessorBase().
|
inline |
|
friend |
Definition at line 154 of file OMTFConfiguration.cc.
|
friend |
Definition at line 154 of file OMTFConfiguration.cc.
|
private |
Definition at line 143 of file OMTFConfiguration.h.
Referenced by configure(), and getBarrelMax().
|
private |
Starting and final sectors connected to processors. Index: processor number
Definition at line 142 of file OMTFConfiguration.h.
Referenced by configure(), and getBarrelMin().
|
private |
Definition at line 136 of file OMTFConfiguration.h.
Referenced by configure(), and getBendingLayers().
|
private |
Map of connections.
Definition at line 171 of file OMTFConfiguration.h.
Referenced by configure(), and getConnections().
|
private |
Definition at line 145 of file OMTFConfiguration.h.
Referenced by configure(), and getEndcap10DegMax().
|
private |
Definition at line 144 of file OMTFConfiguration.h.
Referenced by configure(), and getEndcap10DegMin().
|
private |
Definition at line 147 of file OMTFConfiguration.h.
Referenced by configure(), and getEndcap20DegMax().
|
private |
Definition at line 146 of file OMTFConfiguration.h.
Referenced by configure(), and getEndcap20DegMin().
double OMTFConfiguration::etaUnit = 0.010875 |
Definition at line 148 of file OMTFConfiguration.h.
Referenced by etaToHwEta(), and hwEtaToEta().
|
private |
Definition at line 316 of file OMTFConfiguration.h.
Referenced by getGhostBusterType(), printConfig(), and setGhostBusterType().
|
private |
Definition at line 310 of file OMTFConfiguration.h.
Referenced by getGoldenPatternResultFinalizeFunction(), printConfig(), and setGoldenPatternResultFinalizeFunction().
|
private |
Definition at line 133 of file OMTFConfiguration.h.
Referenced by configure(), and getHwToLogicLayer().
|
private |
Definition at line 134 of file OMTFConfiguration.h.
Referenced by configure(), and getLogicToHwLayer().
|
private |
Definition at line 135 of file OMTFConfiguration.h.
Referenced by configure(), and getLogicToLogic().
|
private |
4D matrices used during creation of the connections tables.
Definition at line 174 of file OMTFConfiguration.h.
Referenced by getMeasurements4D(), and initCounterMatrices().
|
private |
Definition at line 175 of file OMTFConfiguration.h.
Referenced by getMeasurements4Dref(), and initCounterMatrices().
|
private |
Definition at line 312 of file OMTFConfiguration.h.
Referenced by isNoHitValueInPdf(), printConfig(), and setNoHitValueInPdf().
|
private |
Definition at line 305 of file OMTFConfiguration.h.
Referenced by getPatternNum(), getPatternPtRange(), and setPatternPtRange().
|
static |
Definition at line 205 of file OMTFConfiguration.h.
|
private |
Definition at line 308 of file OMTFConfiguration.h.
Referenced by nPdfBins().
|
private |
Definition at line 307 of file OMTFConfiguration.h.
Referenced by pdfMaxValue().
double OMTFConfiguration::phiGmtUnit = 2. * M_PI / 576 |
Definition at line 154 of file OMTFConfiguration.h.
Referenced by hwPhiToGlobalPhi(), and phiToGlobalHwPhi().
|
private |
Starting iPhi for each processor and each referecne layer Global phi scale is used First index: processor number Second index: referecne layer number
Definition at line 153 of file OMTFConfiguration.h.
Referenced by configure(), getProcessorPhiVsRefLayer(), globalPhiStart(), and operator<<().
double OMTFConfiguration::ptUnit = 0.5 |
Definition at line 141 of file OMTFConfiguration.h.
Referenced by hwPtToGev(), and ptGevToHw().
|
private |
Definition at line 131 of file OMTFConfiguration.h.
Referenced by configure(), fwVersion(), getProcIndx(), getRawParams(), nGoldenPatterns(), nHitsPerLayer(), nInputs(), nLayers(), nLogicRegions(), nPdfAddrBits(), nPdfValBits(), nPhiBins(), nPhiBits(), nProcessors(), nRefHits(), nRefLayers(), nTestRefHits(), patternsVersion(), and processorCnt().
|
private |
Vector with definitions of reference hits Vector has fixed size of nRefHits Order of elements defines priority order First index: processor number (0-5) Second index: ref hit number (0-127)
Definition at line 168 of file OMTFConfiguration.h.
Referenced by configure(), and getRefHitsDefs().
|
private |
Definition at line 137 of file OMTFConfiguration.h.
Referenced by configure(), and getRefToLogicNumber().
|
private |
Begin and end local phi for each logis region First index: input number Second index: reference layer number Third index: region pair.first: starting phi of region (inclusive) pair.second: ending phi of region (inclusive)
Definition at line 161 of file OMTFConfiguration.h.
Referenced by configure(), getRegionNumberFromMap(), and getRegionPhisVsRefLayerVsInput().
|
private |
Definition at line 314 of file OMTFConfiguration.h.
Referenced by configureFromEdmParameterSet(), getSorterType(), printConfig(), and setSorterType().