1 #ifndef L1Trigger_CSCTriggerPrimitives_CSCUpgradeMotherboardLUTGenerator_h 2 #define L1Trigger_CSCTriggerPrimitives_CSCUpgradeMotherboardLUTGenerator_h 31 void generateLUTs(
unsigned e,
unsigned s,
unsigned se,
unsigned sb,
unsigned c)
const;
32 void generateLUTsME11(
unsigned e,
unsigned se,
unsigned sb,
unsigned c)
const;
33 void generateLUTsME21(
unsigned e,
unsigned se,
unsigned sb,
unsigned c)
const;
34 void generateLUTsME3141(
unsigned e,
unsigned s,
unsigned se,
unsigned sb,
unsigned c)
const;
35 int assignRoll(
const std::vector<std::pair<double,double> >&,
double eta)
const;
46 const std::vector<std::pair<double,double> >&,
47 std::vector<std::pair<int,int> >&)
const;
70 std::ostream &operator <<(std::ostream &os, const std::vector<std::pair<T,T> >&
v)
73 os <<
"{" << std::endl;
74 for(
const auto&
p :
v) {
75 os <<
" {" <<
p.first <<
", " <<
p.second <<
"}, ";
76 if (i%8==0) os << std::endl;
79 os <<
"}" << std::endl;
86 std::ostream &operator <<(std::ostream &os, const std::vector<T>&
v)
89 os <<
"{" << std::endl;
90 for(
const auto&
p :
v) {
91 os <<
" " <<
p <<
",";
92 if (i%10==0) os << std::endl;
95 os <<
"}" << std::endl;
const CSCGeometry * csc_g
void cscHsToRpcStripLUT(const CSCLayer *, const RPCRoll *, int minH, int maxH, std::vector< std::pair< int, int > > &) const
void generateLUTsME3141(unsigned e, unsigned s, unsigned se, unsigned sb, unsigned c) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
int assignRoll(const std::vector< std::pair< double, double > > &, double eta) const
void cscHsToGemPadLUT(const CSCLayer *, const GEMEtaPartition *, int minH, int maxH, std::vector< std::pair< int, int > > &) const
static RPCDetId getRPCfromCSC(const CSCDetId &csc_id)
void gemRollToEtaLimitsLUT(const GEMChamber *c, std::vector< std::pair< double, double > > &) const
void rpcStripToCscHsLUT(const CSCLayer *, const RPCRoll *, std::vector< int > &) const
void cscWgToEtaLimitsLUT(const CSCLayer *, std::vector< std::pair< double, double > > &) const
void setCSCGeometry(const CSCGeometry *g)
set CSC and GEM geometries for the matching needs
~CSCUpgradeMotherboardLUTGenerator()
const RPCGeometry * rpc_g
void rpcRollToEtaLimitsLUT(const RPCChamber *c, 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 generateLUTsME21(unsigned e, unsigned se, unsigned sb, unsigned c) const
void setRPCGeometry(const RPCGeometry *g)
CSCUpgradeMotherboardLUTGenerator()
void generateLUTs(unsigned e, unsigned s, unsigned se, unsigned sb, unsigned c) const
generate and print LUT
const GEMGeometry * gem_g
void setGEMGeometry(const GEMGeometry *g)
void generateLUTsME11(unsigned e, unsigned se, unsigned sb, unsigned c) const
void gemPadToCscHsLUT(const CSCLayer *, const GEMEtaPartition *, std::vector< int > &) const