#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 | 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 15 of file CSCUpgradeMotherboardLUTGenerator.h.
|
inline |
Definition at line 16 of file CSCUpgradeMotherboardLUTGenerator.h.
int CSCUpgradeMotherboardLUTGenerator::assignRoll | ( | const std::vector< std::pair< double, double > > & | lut_, |
double | eta | ||
) | const |
Definition at line 176 of file CSCUpgradeMotherboardLUTGenerator.cc.
References funct::abs(), maxEta, heepElectronID_HEEPV50_cff::minEta, AlCaHLTBitMon_ParallelJobs::p, and mps_fire::result.
Referenced by cscWgToRollLUT(), and setGEMGeometry().
|
private |
Definition at line 227 of file CSCUpgradeMotherboardLUTGenerator.cc.
References CSCLayer::geometry(), runTauDisplay::gp, mps_fire::i, lumiPlot::lut, GEMEtaPartition::pad(), GeomDet::toGlobal(), and GeomDet::toLocal().
Referenced by generateLUTsME11(), generateLUTsME21(), and setGEMGeometry().
|
private |
Definition at line 214 of file CSCUpgradeMotherboardLUTGenerator.cc.
References CSCLayer::geometry(), mps_fire::i, lumiPlot::lut, and GeomDet::toGlobal().
Referenced by generateLUTsME11(), generateLUTsME21(), and setGEMGeometry().
|
private |
Definition at line 203 of file CSCUpgradeMotherboardLUTGenerator.cc.
References assignRoll(), ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by generateLUTsME11(), generateLUTsME21(), and setGEMGeometry().
|
private |
Definition at line 245 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(), generateLUTsME21(), and setGEMGeometry().
|
private |
Definition at line 190 of file CSCUpgradeMotherboardLUTGenerator.cc.
References funct::abs(), GEMChamber::etaPartitions(), and lumiPlot::lut.
Referenced by generateLUTsME11(), generateLUTsME21(), and setGEMGeometry().
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().
Referenced by setGEMGeometry().
void CSCUpgradeMotherboardLUTGenerator::generateLUTsME11 | ( | unsigned | e, |
unsigned | se, | ||
unsigned | sb, | ||
unsigned | c | ||
) | const |
Definition at line 13 of file CSCUpgradeMotherboardLUTGenerator.cc.
References CSCDetId::chamber(), CSCGeometry::chamber(), GEMGeometry::chamber(), CSCTriggerNumbering::chamberFromTriggerLabels(), csc_g, cscHsToGemPadLUT(), cscWgToEtaLimitsLUT(), cscWgToRollLUT(), gem_g, gemPadToCscHsLUT(), gemRollToEtaLimitsLUT(), and LogTrace.
Referenced by generateLUTs(), and setGEMGeometry().
void CSCUpgradeMotherboardLUTGenerator::generateLUTsME21 | ( | unsigned | e, |
unsigned | se, | ||
unsigned | sb, | ||
unsigned | c | ||
) | const |
Definition at line 103 of file CSCUpgradeMotherboardLUTGenerator.cc.
References CSCDetId::chamber(), CSCGeometry::chamber(), GEMGeometry::chamber(), CSCTriggerNumbering::chamberFromTriggerLabels(), csc_g, cscHsToGemPadLUT(), cscWgToEtaLimitsLUT(), cscWgToRollLUT(), gem_g, gemPadToCscHsLUT(), gemRollToEtaLimitsLUT(), and LogTrace.
Referenced by generateLUTs(), and setGEMGeometry().
|
inline |
set CSC and GEM geometries for the matching needs
Definition at line 19 of file CSCUpgradeMotherboardLUTGenerator.h.
|
inline |
Definition at line 20 of file CSCUpgradeMotherboardLUTGenerator.h.
References assignRoll(), EnergyCorrector::c, cscHsToGemPadLUT(), cscWgToEtaLimitsLUT(), cscWgToRollLUT(), MillePedeFileConverter_cfg::e, PVValHelper::eta, g, gem_g, gemPadToCscHsLUT(), gemRollToEtaLimitsLUT(), generateLUTs(), generateLUTsME11(), generateLUTsME21(), and alignCSCRings::s.
|
private |
Definition at line 46 of file CSCUpgradeMotherboardLUTGenerator.h.
Referenced by generateLUTsME11(), generateLUTsME21(), and setCSCGeometry().
|
private |
Definition at line 47 of file CSCUpgradeMotherboardLUTGenerator.h.
Referenced by generateLUTsME11(), generateLUTsME21(), and setGEMGeometry().