|
|
Go to the documentation of this file. 1 #ifndef L1Trigger_TrackFindingTMTT_L1fittedTrack_h
2 #define L1Trigger_TrackFindingTMTT_L1fittedTrack_h
39 const std::vector<Stub*>&
stubs,
82 if (settings !=
nullptr) {
96 if (settings !=
nullptr && not settings->
hybrid()) {
109 L1fittedTrack() :
L1fittedTrack(nullptr, nullptr,
noStubs_, 0, 0., 0., 0., 0., 0., 0., 0., 0,
false) {}
124 void setInfoKF(
unsigned int nSkippedLayers,
unsigned int numUpdateCalls) {
128 void setInfoLR(
int numIterations,
std::string lostMatchingState, std::unordered_map<std::string, int> stateCalls) {
135 void infoKF(
unsigned int& nSkippedLayers,
unsigned int& numUpdateCalls)
const {
141 std::unordered_map<std::string, int>& stateCalls)
const {
176 const std::vector<Stub*>&
stubs()
const override {
return stubs_; }
209 if (nStubCount > 0) {
212 std::set<const TP*> assTPs =
s->assocTPs();
213 if (assTPs.find(
tp) != assTPs.end())
227 constexpr
float small = 1.0e-6;
228 return 1. / (small + this->
invPt());
246 constexpr
float small = 1.0e-6;
254 if (beamConstraint) {
308 std::pair<unsigned int, unsigned int> htCell = this->
cellLocationHT();
313 std::pair<unsigned int, unsigned int> htCell10(htCell.first + 1, htCell.second);
314 std::pair<unsigned int, unsigned int> htCell01(htCell.first, htCell.second + 1);
315 std::pair<unsigned int, unsigned int> htCell11(htCell.first + 1, htCell.second + 1);
333 return (insidePhi && insideEta);
unsigned int iPhiSec() const override
double invPtToDphi() const
const TP * matchedTP() const override
void digitizeTrack(const std::string &fitterName)
void setConsistentHTcell()
unsigned int countLayers(const Settings *settings, const std::vector< const Stub * > &stubs, bool disableReducedLayerID=false, bool onlyPS=false)
bool consistentSector() const
std::shared_ptr< Sector > secTmp_
unsigned int iEtaReg() const override
std::vector< Stub * > stubs_
constexpr double deltaPhi(double phi1, double phi2)
float chi2dof_bcon() const
void setInfoLR(int numIterations, std::string lostMatchingState, std::unordered_map< std::string, int > stateCalls)
unsigned int iEtaReg() const override
unsigned int numDOFrphi() const
unsigned int numKilledStubs() const
unsigned int numDOFrz() const
std::pair< unsigned int, unsigned int > cellLocationFit() const
std::pair< unsigned int, unsigned int > cellLocationHT() const override
unsigned int numDOF_bcon() const
unsigned int numMatchedStubs() const override
std::unordered_map< std::string, int > stateCalls_
double chosenRofPhi() const
~L1fittedTrack() override=default
float nHelixParam() const
float charge_bcon() const
static const std::vector< Stub * > noStubs_
unsigned int iPhiSec() const override
const DigitalTrack * digitaltrack() const
const TP * matchedTP() const override
std::shared_ptr< HTrphi > htRphiTmp_
float qOverPt() const override
bool consistentHTcell() const
unsigned int numLayers() const override
bool mergedHTcell() const
const std::vector< Stub * > & stubs() const override
L1fittedTrack(const Settings *settings, const L1track3D *l1track3D, const std::vector< Stub * > &stubs, unsigned int hitPattern, float qOverPt, float d0, float phi0, float z0, float tanLambda, float chi2rphi, float chi2rz, unsigned int nHelixParam, bool accepted=true)
void setInfoKF(unsigned int nSkippedLayers, unsigned int numUpdateCalls)
float phi0() const override
float chi2rphi_bcon() const
const std::vector< const Stub * > & matchedStubs() const override
unsigned int nSkippedLayers_
const Settings * settings_
unsigned int hitPattern() const
unsigned int numDOFrphi_bcon() const
unsigned int numStubs() const override
Tan< T >::type tan(const T &t)
double chosenRofZ() const
unsigned int optoLinkID() const override
unsigned int numUpdateCalls_
const L1track3D * l1track3D_
const std::vector< const Stub * > & stubsConst() const override
std::shared_ptr< DigitalTrack > digitalTrack_
std::vector< const Stub * > matchedStubs_
const L1track3D * l1track3D() const
unsigned int numKilledMatchedStubs() const
std::pair< unsigned int, unsigned int > cellLocationHT() const override
unsigned int nMatchedLayers_
std::string lostMatchingState_
float qOverPt_bcon() const
void setBeamConstr(float qOverPt_bcon, float phi0_bcon, float chi2rphi_bcon)
unsigned int numMatchedLayers() const override
KFTrackletTrack returnKFTrackletTrack()
unsigned int nHelixParam_
const TP * matchingTP(const Settings *settings, const std::vector< const Stub * > &vstubs, unsigned int &nMatchedLayersBest, std::vector< const Stub * > &matchedStubsBest)
void infoLR(int &numIterations, std::string &lostMatchingState, std::unordered_map< std::string, int > &stateCalls) const
std::vector< const Stub * > stubsConst_
unsigned int numMatchedStubs() const override
unsigned int optoLinkID() const override
Abs< T >::type abs(const T &t)
float phiAtChosenR(bool beamConstraint) const
=== This is the base class for the linearised chi-squared track fit algorithms.
unsigned int numStubs() const override
unsigned int numDOF() const
void infoKF(unsigned int &nSkippedLayers, unsigned int &numUpdateCalls) const