#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 | generateLUTsME3141 (unsigned e, unsigned s, 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) |
void | setRPCGeometry (const RPCGeometry *g) |
~CSCUpgradeMotherboardLUTGenerator () | |
Private Member Functions | |
void | cscHsToGemPadLUT (const CSCLayer *, const GEMEtaPartition *, int minH, int maxH, std::vector< std::pair< int, int > > &) const |
void | cscHsToRpcStripLUT (const CSCLayer *, const RPCRoll *, 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 |
void | rpcRollToEtaLimitsLUT (const RPCChamber *c, std::vector< std::pair< double, double > > &) const |
void | rpcStripToCscHsLUT (const CSCLayer *, const RPCRoll *, std::vector< int > &) const |
Private Attributes | |
const CSCGeometry * | csc_g |
const GEMGeometry * | gem_g |
const RPCGeometry * | rpc_g |
Definition at line 27 of file CSCUpgradeMotherboardLUTGenerator.h.
|
inline |
Definition at line 31 of file CSCUpgradeMotherboardLUTGenerator.h.
|
inline |
Definition at line 32 of file CSCUpgradeMotherboardLUTGenerator.h.
int CSCUpgradeMotherboardLUTGenerator::assignRoll | ( | const std::vector< std::pair< double, double > > & | lut_, |
double | eta | ||
) | const |
Definition at line 238 of file CSCUpgradeMotherboardLUTGenerator.cc.
References funct::abs(), maxEta, cutBasedElectronID_CSA14_50ns_V0_cff::minEta, AlCaHLTBitMon_ParallelJobs::p, and mps_fire::result.
Referenced by cscWgToRollLUT(), and setRPCGeometry().
|
private |
Definition at line 301 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 setRPCGeometry().
|
private |
Definition at line 335 of file CSCUpgradeMotherboardLUTGenerator.cc.
References CSCLayer::geometry(), runTauDisplay::gp, mps_fire::i, lumiPlot::lut, digi_MixPreMix_cfi::strip, RPCRoll::strip(), GeomDet::toGlobal(), and GeomDet::toLocal().
Referenced by generateLUTsME3141(), and setRPCGeometry().
|
private |
Definition at line 288 of file CSCUpgradeMotherboardLUTGenerator.cc.
References CSCLayer::geometry(), mps_fire::i, lumiPlot::lut, and GeomDet::toGlobal().
Referenced by generateLUTsME11(), generateLUTsME21(), generateLUTsME3141(), and setRPCGeometry().
|
private |
Definition at line 277 of file CSCUpgradeMotherboardLUTGenerator.cc.
References assignRoll(), ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by generateLUTsME11(), generateLUTsME21(), generateLUTsME3141(), and setRPCGeometry().
|
private |
Definition at line 319 of file CSCUpgradeMotherboardLUTGenerator.cc.
References GEMEtaPartition::centreOfPad(), CSCLayer::geometry(), runTauDisplay::gp, mps_fire::i, GEMEtaPartition::npads(), digi_MixPreMix_cfi::strip, GeomDet::toGlobal(), and GeomDet::toLocal().
Referenced by generateLUTsME11(), generateLUTsME21(), and setRPCGeometry().
|
private |
Definition at line 252 of file CSCUpgradeMotherboardLUTGenerator.cc.
References funct::abs(), GEMChamber::etaPartitions(), and lumiPlot::lut.
Referenced by generateLUTsME11(), generateLUTsME21(), and setRPCGeometry().
void CSCUpgradeMotherboardLUTGenerator::generateLUTs | ( | unsigned | e, |
unsigned | s, | ||
unsigned | se, | ||
unsigned | sb, | ||
unsigned | c | ||
) | const |
generate and print LUT
Definition at line 8 of file CSCUpgradeMotherboardLUTGenerator.cc.
References generateLUTsME11(), generateLUTsME21(), and generateLUTsME3141().
Referenced by setRPCGeometry().
void CSCUpgradeMotherboardLUTGenerator::generateLUTsME11 | ( | unsigned | e, |
unsigned | se, | ||
unsigned | sb, | ||
unsigned | c | ||
) | const |
Definition at line 16 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 setRPCGeometry().
void CSCUpgradeMotherboardLUTGenerator::generateLUTsME21 | ( | unsigned | e, |
unsigned | se, | ||
unsigned | sb, | ||
unsigned | c | ||
) | const |
Definition at line 106 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 setRPCGeometry().
void CSCUpgradeMotherboardLUTGenerator::generateLUTsME3141 | ( | unsigned | e, |
unsigned | s, | ||
unsigned | se, | ||
unsigned | sb, | ||
unsigned | c | ||
) | const |
Definition at line 179 of file CSCUpgradeMotherboardLUTGenerator.cc.
References RPCGeometry::chamber(), CSCGeometry::chamber(), CSCTriggerNumbering::chamberFromTriggerLabels(), csc_g, cscHsToRpcStripLUT(), cscWgToEtaLimitsLUT(), cscWgToRollLUT(), LogTrace, rpc_g, rpcRollToEtaLimitsLUT(), and rpcStripToCscHsLUT().
Referenced by generateLUTs(), and setRPCGeometry().
|
private |
Definition at line 265 of file CSCUpgradeMotherboardLUTGenerator.cc.
References funct::abs(), lumiPlot::lut, and RPCChamber::rolls().
Referenced by generateLUTsME3141(), and setRPCGeometry().
|
private |
Definition at line 353 of file CSCUpgradeMotherboardLUTGenerator.cc.
References RPCRoll::centreOfStrip(), CSCLayer::geometry(), runTauDisplay::gp, mps_fire::i, RPCRoll::nstrips(), digi_MixPreMix_cfi::strip, GeomDet::toGlobal(), and GeomDet::toLocal().
Referenced by generateLUTsME3141(), and setRPCGeometry().
|
inline |
set CSC and GEM geometries for the matching needs
Definition at line 35 of file CSCUpgradeMotherboardLUTGenerator.h.
|
inline |
Definition at line 36 of file CSCUpgradeMotherboardLUTGenerator.h.
|
inline |
Definition at line 37 of file CSCUpgradeMotherboardLUTGenerator.h.
References assignRoll(), EnergyCorrector::c, cscHsToGemPadLUT(), cscHsToRpcStripLUT(), cscWgToEtaLimitsLUT(), cscWgToRollLUT(), MillePedeFileConverter_cfg::e, stringResolutionProvider_cfi::eta, g, gemPadToCscHsLUT(), gemRollToEtaLimitsLUT(), generateLUTs(), generateLUTsME11(), generateLUTsME21(), generateLUTsME3141(), rpc_g, rpcRollToEtaLimitsLUT(), rpcStripToCscHsLUT(), and alignCSCRings::s.
|
private |
Definition at line 73 of file CSCUpgradeMotherboardLUTGenerator.h.
Referenced by generateLUTsME11(), generateLUTsME21(), generateLUTsME3141(), and setCSCGeometry().
|
private |
Definition at line 74 of file CSCUpgradeMotherboardLUTGenerator.h.
Referenced by generateLUTsME11(), generateLUTsME21(), and setGEMGeometry().
|
private |
Definition at line 75 of file CSCUpgradeMotherboardLUTGenerator.h.
Referenced by generateLUTsME3141(), and setRPCGeometry().