#include <CSCUpgradeMotherboardLUTGenerator.h>
Classes | |
class | Helpers |
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 12 of file CSCUpgradeMotherboardLUTGenerator.h.
|
inline |
Definition at line 22 of file CSCUpgradeMotherboardLUTGenerator.h.
|
inline |
Definition at line 23 of file CSCUpgradeMotherboardLUTGenerator.h.
int CSCUpgradeMotherboardLUTGenerator::assignRoll | ( | const std::vector< std::pair< double, double > > & | lut_, |
double | eta | ||
) | const |
Definition at line 249 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 312 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 346 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 299 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 288 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 330 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 263 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 19 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 27 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 117 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 190 of file CSCUpgradeMotherboardLUTGenerator.cc.
References RPCGeometry::chamber(), CSCGeometry::chamber(), CSCTriggerNumbering::chamberFromTriggerLabels(), csc_g, cscHsToRpcStripLUT(), cscWgToEtaLimitsLUT(), cscWgToRollLUT(), CSCUpgradeMotherboardLUTGenerator::Helpers::getRPCfromCSC(), LogTrace, rpc_g, rpcRollToEtaLimitsLUT(), and rpcStripToCscHsLUT().
Referenced by generateLUTs(), and setRPCGeometry().
|
private |
Definition at line 276 of file CSCUpgradeMotherboardLUTGenerator.cc.
References funct::abs(), lumiPlot::lut, and RPCChamber::rolls().
Referenced by generateLUTsME3141(), and setRPCGeometry().
|
private |
Definition at line 364 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 26 of file CSCUpgradeMotherboardLUTGenerator.h.
|
inline |
Definition at line 27 of file CSCUpgradeMotherboardLUTGenerator.h.
|
inline |
Definition at line 28 of file CSCUpgradeMotherboardLUTGenerator.h.
References assignRoll(), EnergyCorrector::c, cscHsToGemPadLUT(), cscHsToRpcStripLUT(), cscWgToEtaLimitsLUT(), cscWgToRollLUT(), MillePedeFileConverter_cfg::e, PVValHelper::eta, g, gemPadToCscHsLUT(), gemRollToEtaLimitsLUT(), generateLUTs(), generateLUTsME11(), generateLUTsME21(), generateLUTsME3141(), rpc_g, rpcRollToEtaLimitsLUT(), rpcStripToCscHsLUT(), and alignCSCRings::s.
|
private |
Definition at line 64 of file CSCUpgradeMotherboardLUTGenerator.h.
Referenced by generateLUTsME11(), generateLUTsME21(), generateLUTsME3141(), and setCSCGeometry().
|
private |
Definition at line 65 of file CSCUpgradeMotherboardLUTGenerator.h.
Referenced by generateLUTsME11(), generateLUTsME21(), and setGEMGeometry().
|
private |
Definition at line 66 of file CSCUpgradeMotherboardLUTGenerator.h.
Referenced by generateLUTsME3141(), and setRPCGeometry().