Go to the documentation of this file. 1 #ifndef L1Trigger_TrackFindingTracklet_interface_TrackletCalculatorBase_h
2 #define L1Trigger_TrackFindingTracklet_interface_TrackletCalculatorBase_h
39 double phiprojdisk[
N_DISK],
59 double phiproj[
N_DISK - 2],
79 double phiproj[
N_DISK - 2],
112 bool inSector(
int iphi0,
int irinv,
double phi0approx,
double rinvapprox);
116 const Stub* outerFPGAStub,
120 const Stub* outerFPGAStub,
124 const Stub* outerFPGAStub,
constexpr unsigned int N_PSLAYER
void addProjectionDisk(int disk, int iphi, TrackletProjectionsMemory *trackletprojs, Tracklet *tracklet)
TrackletParametersMemory * trackletpars_
void addProjection(int layer, int iphi, TrackletProjectionsMemory *trackletprojs, Tracklet *tracklet)
bool barrelSeeding(const Stub *innerFPGAStub, const L1TStub *innerStub, const Stub *outerFPGAStub, const L1TStub *outerStub)
std::vector< std::vector< TrackletProjectionsMemory * > > trackletprojlayers_
void exactproj(double rproj, double rinv, double phi0, double t, double z0, double &phiproj, double &zproj, double &phider, double &zder)
void addDiskProj(Tracklet *tracklet, int disk)
bool diskSeeding(const Stub *innerFPGAStub, const L1TStub *innerStub, const Stub *outerFPGAStub, const L1TStub *outerStub)
bool addLayerProj(Tracklet *tracklet, int layer)
constexpr std::array< uint8_t, layerIndexSize > layer
void exacttracklet(double r1, double z1, double phi1, double r2, double z2, double phi2, double, double &rinv, double &phi0, double &t, double &z0, double phiproj[N_LAYER - 2], double zproj[N_LAYER - 2], double phider[N_LAYER - 2], double zder[N_LAYER - 2], double phiprojdisk[N_DISK], double rprojdisk[N_DISK], double phiderdisk[N_DISK], double rderdisk[N_DISK])
double rinv(double phi1, double phi2, double r1, double r2)
bool overlapSeeding(const Stub *innerFPGAStub, const L1TStub *innerStub, const Stub *outerFPGAStub, const L1TStub *outerStub)
std::vector< std::vector< TrackletProjectionsMemory * > > trackletprojdisks_
TrackletCalculatorBase(std::string name, Settings const &settings, Globals *global, unsigned int iSector)
void exacttrackletOverlap(double r1, double z1, double phi1, double r2, double z2, double phi2, double, double &rinv, double &phi0, double &t, double &z0, double phiprojLayer[N_PSLAYER], double zprojLayer[N_PSLAYER], double phiderLayer[N_PSLAYER], double zderLayer[N_PSLAYER], double phiproj[N_DISK - 2], double rproj[N_DISK - 2], double phider[N_DISK - 2], double rder[N_DISK - 2])
bool inSector(int iphi0, int irinv, double phi0approx, double rinvapprox)
void exactprojdisk(double zproj, double rinv, double phi0, double t, double z0, double &phiproj, double &rproj, double &phider, double &rder)
void exacttrackletdisk(double r1, double z1, double phi1, double r2, double z2, double phi2, double, double &rinv, double &phi0, double &t, double &z0, double phiprojLayer[N_PSLAYER], double zprojLayer[N_PSLAYER], double phiderLayer[N_PSLAYER], double zderLayer[N_PSLAYER], double phiproj[N_DISK - 2], double rproj[N_DISK - 2], double phider[N_DISK - 2], double rder[N_DISK - 2])
~TrackletCalculatorBase() override=default
bool goodTrackPars(bool goodrinv, bool goodz0)