6 #ifndef L1Trigger_TrackFindingTracklet_interface_TrackletConfigBuilder_h 7 #define L1Trigger_TrackFindingTracklet_interface_TrackletConfigBuilder_h 57 std::string TPROJName(
unsigned int iSeed,
unsigned int iTC,
unsigned int ilayer,
unsigned int ireg)
const;
88 void writeDTCphirange()
const;
102 std::pair<unsigned int, unsigned int>
seedLayers(
unsigned int iSeed);
112 std::pair<double, double>
seedPhiRange(
double rproj,
unsigned int iSeed,
unsigned int iTC);
118 double phi(
double r1,
double phi1,
double r2,
double phi2,
double r);
123 double rinv(
double r1,
double phi1,
double r2,
double phi2);
132 unsigned int iseed)
const;
144 unsigned int iseed)
const;
154 unsigned int count)
const;
163 unsigned int iseed)
const;
171 unsigned int count)
const;
180 unsigned int iseed)
const;
183 std::string TParName(
unsigned int l1,
unsigned int l2,
unsigned int l3,
unsigned int itc)
const;
186 std::string TCDName(
unsigned int l1,
unsigned int l2,
unsigned int l3,
unsigned int itc)
const;
193 unsigned int projlay,
194 unsigned int projreg)
const;
260 std::pair<std::vector<std::pair<double, double> >, std::vector<std::pair<double, double> > >
274 int matchport_[
N_SEED_PROMPT][
N_LAYER +
N_DISK] = {{-1, -1, 1, 2, 3, 4, 4, 3, 2, 1, -1},
275 {1, -1, -1, 2, 3, -1, 4, 3, 2, 1, -1},
276 {1, 2, -1, -1, 3, 4, 4, 3, -1, -1, -1},
277 {1, 2, 3, 4, -1, -1, -1, -1, -1, -1, -1},
278 {1, 2, -1, -1, -1, -1, -1, -1, 2, 3, 4},
279 {1, -1, -1, -1, -1, -1, 2, 3, -1, -1, 4},
280 {-1, -1, -1, -1, -1, -1, -1, 1, 2, 3, 4},
281 {1, -1, -1, -1, -1, -1, -1, 2, 3, 4, -1}};
void writeProjectionMemories(std::ostream &os, std::ostream &memories, std::ostream &modules)
std::vector< std::vector< std::pair< unsigned int, unsigned int > > > projections_[N_LAYER+N_DISK]
std::list< DTCinfo > vecDTCinfo_
static std::string numStr(unsigned int i)
TrackletConfigBuilder(const Settings &settings, const tt::Setup *setup=nullptr)
Class to process and provide run-time constants used by Track Trigger emulators.
void writeAll(std::ostream &wires, std::ostream &memories, std::ostream &modules)
static std::string LayerName(unsigned int ilayer)
void writeASMemories(std::ostream &os, std::ostream &memories, std::ostream &modules)
void writeILMemories(std::ostream &os, std::ostream &memories, std::ostream &modules)
void writeFMMemories(std::ostream &os, std::ostream &memories, std::ostream &modules)
std::vector< std::pair< double, double > > VMStubsME_[N_LAYER+N_DISK]
std::vector< std::pair< unsigned int, unsigned int > > TE_[N_SEED_PROMPT]
std::string TREName(unsigned int l1, unsigned int ireg1, unsigned int l2, unsigned int ireg2, unsigned int iseed, unsigned int count) const
std::string iRegStr(unsigned int iReg, unsigned int iSeed) const
std::string FTName(unsigned int l1, unsigned int l2, unsigned int l3) const
void setDTCphirange(const tt::Setup *setup=nullptr)
std::string TEDName(unsigned int l1, unsigned int ireg1, unsigned int ivm1, unsigned int l2, unsigned int ireg2, unsigned int ivm2, unsigned int iseed) const
std::string PRName(unsigned int ilayer, unsigned int ireg) const
unsigned int NTC_[N_SEED_PROMPT]
std::string iSeedStr(unsigned int iSeed) const
void writeTPARMemories(std::ostream &os, std::ostream &memories, std::ostream &modules)
std::string iTCStr(unsigned int iTC) const
std::string TCName(unsigned int iSeed, unsigned int iTC) const
std::vector< std::vector< unsigned int > > TC_[N_SEED_PROMPT]
const Settings & settings_
void writeSPMemories(std::ostream &os, std::ostream &memories, std::ostream &modules)
std::pair< std::vector< std::pair< double, double > >, std::vector< std::pair< double, double > > > VMStubsTE_[N_SEED_PROMPT]
std::string STName(unsigned int l1, unsigned int ireg1, unsigned int l2, unsigned int ireg2, unsigned int l3, unsigned int ireg3, unsigned int iseed, unsigned int count) const
unsigned int NVMME_[N_LAYER+N_DISK]
double rinv(double r1, double phi1, double r2, double phi2)
std::pair< double, double > seedRadii(unsigned int iseed)
void writeCMMemories(std::ostream &os, std::ostream &memories, std::ostream &modules)
unsigned int NRegions_[N_LAYER+N_DISK]
bool validTEPair(unsigned int iseed, unsigned int iTE1, unsigned int iTE2)
void writeVMPROJMemories(std::ostream &os, std::ostream &memories, std::ostream &modules)
void writeTFMemories(std::ostream &os, std::ostream &memories, std::ostream &modules)
std::vector< std::pair< double, double > > allStubs_[N_LAYER+N_DISK]
std::string TCDName(unsigned int l1, unsigned int l2, unsigned int l3, unsigned int itc) const
void writeCTMemories(std::ostream &os, std::ostream &memories, std::ostream &modules)
std::pair< unsigned int, unsigned int > seedLayers(unsigned int iSeed)
int matchport_[N_SEED_PROMPT][N_LAYER+N_DISK]
std::string TPROJName(unsigned int iSeed, unsigned int iTC, unsigned int ilayer, unsigned int ireg) const
std::string TEName(unsigned int l1, unsigned int ireg1, unsigned int ivm1, unsigned int l2, unsigned int ireg2, unsigned int ivm2, unsigned int iseed) const
std::pair< double, double > seedPhiRange(double rproj, unsigned int iSeed, unsigned int iTC)
std::string SPDName(unsigned int l1, unsigned int ireg1, unsigned int ivm1, unsigned int l2, unsigned int ireg2, unsigned int ivm2, unsigned int l3, unsigned int ireg3, unsigned int ivm3, unsigned int iseed) const
std::string TParName(unsigned int l1, unsigned int l2, unsigned int l3, unsigned int itc) const
void writeAPMemories(std::ostream &os, std::ostream &memories, std::ostream &modules)
void writeSPDMemories(std::ostream &os, std::ostream &memories, std::ostream &modules)
void writeVMSMemories(std::ostream &os, std::ostream &memories, std::ostream &modules)
double phi(double r1, double phi1, double r2, double phi2, double r)
constexpr unsigned int N_SEED_PROMPT
std::string SPName(unsigned int l1, unsigned int ireg1, unsigned int ivm1, unsigned int l2, unsigned int ireg2, unsigned int ivm2, unsigned int iseed) const
std::pair< unsigned int, unsigned int > NVMTE_[N_SEED_PROMPT]