#include <CSCUpgradeMotherboardLUTGenerator.h>
Public Member Functions | |
int | assignRoll (const std::vector< std::pair< double, double > > &, double eta) const |
CSCUpgradeMotherboardLUTGenerator () | |
void | generateLUTs (unsigned e, unsigned s, unsigned se, unsigned sb, unsigned c) const |
generate and print LUT More... | |
void | generateLUTsME11 (unsigned e, unsigned se, unsigned sb, unsigned c) const |
void | generateLUTsME21 (unsigned e, unsigned se, unsigned sb, unsigned c) const |
void | setCSCGeometry (const CSCGeometry *g) |
set CSC and GEM geometries for the matching needs More... | |
void | setGEMGeometry (const GEMGeometry *g) |
~CSCUpgradeMotherboardLUTGenerator () | |
Private Member Functions | |
void | cscHsToGemPadLUT (const CSCLayer *, const GEMEtaPartition *, int minH, int maxH, std::vector< std::pair< int, int > > &) const |
void | cscWgToEtaLimitsLUT (const CSCLayer *, std::vector< std::pair< double, double > > &) const |
void | cscWgToRollLUT (const std::vector< std::pair< double, double > > &, const std::vector< std::pair< double, double > > &, std::vector< std::pair< int, int > > &) const |
void | gemPadToCscHsLUT (const CSCLayer *, const GEMEtaPartition *, std::vector< int > &) const |
void | gemRollToCscWgLUT (const CSCLayer *, const GEMChamber *, std::vector< int > &) const |
void | gemRollToEtaLimitsLUT (const GEMChamber *c, std::vector< std::pair< double, double > > &) const |
Private Attributes | |
const CSCGeometry * | csc_g |
const GEMGeometry * | gem_g |
Definition at line 11 of file CSCUpgradeMotherboardLUTGenerator.h.
|
inline |
Definition at line 13 of file CSCUpgradeMotherboardLUTGenerator.h.
|
inline |
Definition at line 14 of file CSCUpgradeMotherboardLUTGenerator.h.
int CSCUpgradeMotherboardLUTGenerator::assignRoll | ( | const std::vector< std::pair< double, double > > & | lut, |
double | eta | ||
) | const |
Definition at line 192 of file CSCUpgradeMotherboardLUTGenerator.cc.
References funct::abs(), PVValHelper::eta, maxEta, EgHLTOffEleSelection_cfi::minEta, AlCaHLTBitMon_ParallelJobs::p, and mps_fire::result.
Referenced by cscWgToRollLUT().
|
private |
Definition at line 247 of file CSCUpgradeMotherboardLUTGenerator.cc.
References reco::ceil(), CSCLayer::geometry(), runTauDisplay::gp, mps_fire::i, me0TriggerPseudoDigis_cff::nStrips, GEMEtaPartition::pad(), GeomDet::toGlobal(), and GeomDet::toLocal().
Referenced by generateLUTsME11(), and generateLUTsME21().
|
private |
Definition at line 232 of file CSCUpgradeMotherboardLUTGenerator.cc.
References funct::abs(), CSCLayer::geometry(), mps_fire::i, SiStripPI::max, min(), and GeomDet::toGlobal().
Referenced by generateLUTsME11(), and generateLUTsME21().
|
private |
Definition at line 222 of file CSCUpgradeMotherboardLUTGenerator.cc.
References assignRoll(), ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by generateLUTsME11(), and generateLUTsME21().
|
private |
Definition at line 263 of file CSCUpgradeMotherboardLUTGenerator.cc.
References GEMEtaPartition::centreOfPad(), CSCLayer::geometry(), runTauDisplay::gp, mps_fire::i, GEMEtaPartition::npads(), digitizers_cfi::strip, GeomDet::toGlobal(), and GeomDet::toLocal().
Referenced by generateLUTsME11(), and generateLUTsME21().
|
private |
Definition at line 277 of file CSCUpgradeMotherboardLUTGenerator.cc.
References GEMChamber::etaPartitions(), CSCLayer::geometry(), GeomDet::toLocal(), x, y, and z.
Referenced by generateLUTsME11(), and generateLUTsME21().
|
private |
Definition at line 208 of file CSCUpgradeMotherboardLUTGenerator.cc.
References funct::abs(), GEMChamber::etaPartitions(), SiStripPI::max, and min().
Referenced by generateLUTsME11(), and generateLUTsME21().
void CSCUpgradeMotherboardLUTGenerator::generateLUTs | ( | unsigned | e, |
unsigned | s, | ||
unsigned | se, | ||
unsigned | sb, | ||
unsigned | c | ||
) | const |
generate and print LUT
Definition at line 7 of file CSCUpgradeMotherboardLUTGenerator.cc.
References generateLUTsME11(), and generateLUTsME21().
void CSCUpgradeMotherboardLUTGenerator::generateLUTsME11 | ( | unsigned | e, |
unsigned | se, | ||
unsigned | sb, | ||
unsigned | c | ||
) | const |
Definition at line 15 of file CSCUpgradeMotherboardLUTGenerator.cc.
References CSCDetId::chamber(), CSCGeometry::chamber(), GEMGeometry::chamber(), CSCTriggerNumbering::chamberFromTriggerLabels(), csc_g, cscHsToGemPadLUT(), cscWgToEtaLimitsLUT(), cscWgToRollLUT(), gem_g, gemPadToCscHsLUT(), gemRollToCscWgLUT(), gemRollToEtaLimitsLUT(), LogTrace, and HLT_2018_cff::region.
Referenced by generateLUTs().
void CSCUpgradeMotherboardLUTGenerator::generateLUTsME21 | ( | unsigned | e, |
unsigned | se, | ||
unsigned | sb, | ||
unsigned | c | ||
) | const |
Definition at line 111 of file CSCUpgradeMotherboardLUTGenerator.cc.
References CSCDetId::chamber(), CSCGeometry::chamber(), GEMGeometry::chamber(), CSCTriggerNumbering::chamberFromTriggerLabels(), csc_g, cscHsToGemPadLUT(), cscWgToEtaLimitsLUT(), cscWgToRollLUT(), gem_g, gemPadToCscHsLUT(), gemRollToCscWgLUT(), gemRollToEtaLimitsLUT(), LogTrace, and HLT_2018_cff::region.
Referenced by generateLUTs().
|
inline |
|
inline |
|
private |
Definition at line 48 of file CSCUpgradeMotherboardLUTGenerator.h.
Referenced by generateLUTsME11(), generateLUTsME21(), and setCSCGeometry().
|
private |
Definition at line 49 of file CSCUpgradeMotherboardLUTGenerator.h.
Referenced by generateLUTsME11(), generateLUTsME21(), and setGEMGeometry().