1 #ifndef DataFormats_L1TMuonPhase2_KMTFTrack_h 2 #define DataFormats_L1TMuonPhase2_KMTFTrack_h 167 for (
const auto& s1 :
stubs_) {
168 for (
const auto& s2 :
other.stubs()) {
169 if (s1->phiRegion() == s2->phiRegion() && s1->etaRegion() == s2->etaRegion() &&
170 s1->depthRegion() == s2->depthRegion() && s1->id() == s2->id())
180 for (
unsigned int i = 0;
i < this->
stubs().size(); ++
i) {
183 if (s1->phiRegion() != s2->phiRegion() || s1->etaRegion() != s2->etaRegion() ||
184 s1->depthRegion() != s2->depthRegion() || s1->
id() != s2->
id() || s1->tfLayer() != s2->tfLayer())
267 unsigned int step,
unsigned int K,
float a1,
float a2,
float a3 = 0,
float a4 = 0,
float a5 = 0,
float a6 = 0) {
304 throw cms::Exception(
"WrongCondition") <<
"Critical ERROR on setting the Kalman gain\n";
int positionAngle() const
void addStub(const l1t::MuonStubRef &stub)
l1t::MuonStubRefVector stubs_
void setCoarseEta(int eta)
void setPtEtaPhiDisplaced(double pt, double eta, double phi)
ProductID id() const
Accessor for product ID.
void setApproxChi2(int chi, int chiErr, bool prompt)
double pt() const final
transverse momentum
void setCovariance(const CovarianceMatrix &c)
void setStubs(const l1t::MuonStubRefVector &stubs)
int approxPromptChi2() const
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
std::vector< double > covariance_
void setCoordinatesAtMuon(int curv, int phi, int phiB)
void setRank(int rank, bool vertex)
const Point & vertex() const override
vertex position (overwritten by PF...)
reco::LeafCandidate::PolarLorentzVector unconstrainedP4_
std::vector< KMTFTrack > KMTFTrackCollection
int approxDispErrChi2() const
bool operator==(const KMTFTrack &t2) const
std::vector< edm::Ref< MuonStubCollection > > MuonStubRefVector
bool overlapTrack(const KMTFTrack &other) const
int curvatureAtVertex() const
void setKalmanGain(unsigned int step, unsigned int K, float a1, float a2, float a3=0, float a4=0, float a5=0, float a6=0)
int approxDispChi2() const
void setIDFlag(bool passPrompt, bool passDisp)
void setPt(int ptC, int ptU)
int residual(uint i) const
~KMTFTrack() override=default
void setHitPattern(int pattern)
std::vector< float > kalmanGain3_
void setCoordinatesAtVertex(int curv, int phi, int dxy)
std::vector< float > kalmanGain1_
std::vector< float > kalmanGain0_
const std::vector< double > & covariance() const
std::vector< float > kalmanGain2_
void setPtEtaPhi(double pt, double eta, double phi)
BXVector< KMTFTrack > KMTFTrackBxCollection
const std::vector< float > & kalmanGain(unsigned int step) const
const l1t::MuonStubRefVector & stubs() const
void setCoordinates(int step, int curv, int phi, int phiB)
std::vector< int > residuals_
double phi() const final
momentum azimuthal angle
int approxPromptErrChi2() const
reco::LeafCandidate::PolarLorentzVector displacedP4() const
int curvatureAtMuon() const
void setResidual(uint i, int val)
void setP4(const LorentzVector &p4) final
set 4-momentum
KMTFTrack(const l1t::MuonStubRef &seed, int phi, int phiB)
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
double eta() const final
momentum pseudorapidity