CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
L1MuKBMTrack Class Reference

#include <L1MuKBMTrack.h>

Inheritance diagram for L1MuKBMTrack:
reco::LeafCandidate reco::Candidate

Public Member Functions

void addStub (const L1MuKBMTCombinedStubRef &)
 
int approxChi2 () const
 
int bendingAngle () const
 
int bx () const
 
int coarseEta () const
 
const std::vector< double > & covariance () const
 
int curvature () const
 
int curvatureAtMuon () const
 
int curvatureAtVertex () const
 
int dxy () const
 
int fineEta () const
 
bool hasFineEta () const
 
int hitPattern () const
 
const std::vector< float > & kalmanGain (unsigned int) const
 
 L1MuKBMTrack ()
 
 L1MuKBMTrack (const L1MuKBMTCombinedStubRef &, int, int)
 
bool operator== (const L1MuKBMTrack &t2) const
 
bool overlapTrack (const L1MuKBMTrack &) const
 
int phiAtMuon () const
 
int phiAtVertex () const
 
int phiBAtMuon () const
 
int positionAngle () const
 
float ptUnconstrained () const
 
int quality () const
 
int rank () const
 
int residual (uint) const
 
int sector () const
 
void setApproxChi2 (int)
 
void setCoarseEta (int)
 
void setCoordinates (int, int, int, int)
 
void setCoordinatesAtMuon (int, int, int)
 
void setCoordinatesAtVertex (int, int, int)
 
void setCovariance (const CovarianceMatrix &)
 
void setFineEta (int)
 
void setHitPattern (int)
 
void setKalmanGain (unsigned int step, unsigned int K, float a1, float a2, float a3, float a4=0, float a5=0, float a6=0)
 
void setPtEtaPhi (double, double, double)
 
void setPtUnconstrained (float)
 
void setRank (int)
 
void setResidual (uint, int)
 
int step () const
 
const L1MuKBMTCombinedStubRefVectorstubs () const
 
int wheel () const
 
 ~L1MuKBMTrack () override
 
- Public Member Functions inherited from reco::LeafCandidate
Vector boostToCM () const final
 
int charge () const final
 electric charge More...
 
LeafCandidateclone () const override
 returns a clone of the Candidate object More...
 
void construct (int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status)
 
const Candidatedaughter (size_type) const override
 return daughter at a given position (throws an exception) More...
 
Candidatedaughter (size_type) override
 return daughter at a given position (throws an exception) More...
 
Candidatedaughter (const std::string &s) override
 return daughter with a specified role name More...
 
const Candidatedaughter (const std::string &s) const override
 return daughter with a specified role name More...
 
double energy () const final
 energy More...
 
double et () const final
 transverse energy More...
 
double et2 () const final
 transverse energy squared (use this for cut!) More...
 
double eta () const final
 momentum pseudorapidity More...
 
void fillVertexCovariance (CovarianceMatrix &v) const override
 fill SMatrix More...
 
template<typename T >
T get () const
 get a component More...
 
template<typename T , typename Tag >
T get () const
 get a component More...
 
template<typename T >
T get (size_type i) const
 get a component More...
 
template<typename T , typename Tag >
T get (size_type i) const
 get a component More...
 
bool hasMasterClone () const override
 
bool hasMasterClonePtr () const override
 
bool isCaloMuon () const override
 
bool isConvertedPhoton () const override
 
bool isElectron () const override
 
bool isGlobalMuon () const override
 
bool isJet () const override
 
bool isMuon () const override
 
bool isPhoton () const override
 
bool isStandAloneMuon () const override
 
bool isTrackerMuon () const override
 
 LeafCandidate ()
 
 LeafCandidate (const Candidate &c)
 
template<typename... Args>
 LeafCandidate (Args &&...args)
 
 LeafCandidate (LeafCandidate &rh)
 
 LeafCandidate (LeafCandidate &&)=default
 
 LeafCandidate (LeafCandidate const &)=default
 
bool longLived () const final
 is long lived? More...
 
double mass () const final
 mass More...
 
bool massConstraint () const final
 do mass constraint? More...
 
double massSqr () const final
 mass squared More...
 
const CandidateBaseRefmasterClone () const override
 
const CandidatePtrmasterClonePtr () const override
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
Vector momentum () const final
 spatial momentum vector More...
 
const Candidatemother (size_type) const override
 return mother at a given position (throws an exception) More...
 
double mt () const final
 transverse mass More...
 
double mtSqr () const final
 transverse mass squared More...
 
template<typename T >
size_type numberOf () const
 number of components More...
 
template<typename T , typename Tag >
size_type numberOf () const
 number of components More...
 
size_t numberOfDaughters () const override
 number of daughters More...
 
size_t numberOfMothers () const override
 number of mothers More...
 
size_t numberOfSourceCandidatePtrs () const override
 
LeafCandidateoperator= (LeafCandidate &&)=default
 
LeafCandidateoperator= (LeafCandidate const &)=default
 
double p () const final
 magnitude of momentum vector More...
 
const LorentzVectorp4 () const final
 four-momentum Lorentz vector More...
 
int pdgId () const final
 PDG identifier. More...
 
double phi () const final
 momentum azimuthal angle More...
 
const PolarLorentzVectorpolarP4 () const final
 four-momentum Lorentz vector More...
 
double pt () const final
 transverse momentum More...
 
double px () const final
 x coordinate of momentum vector More...
 
double py () const final
 y coordinate of momentum vector More...
 
double pz () const final
 z coordinate of momentum vector More...
 
double rapidity () const final
 rapidity More...
 
void setCharge (Charge q) final
 set electric charge More...
 
void setLongLived () final
 
void setMass (double m) final
 set particle mass More...
 
void setMassConstraint () final
 
void setP4 (const LorentzVector &p4) final
 set 4-momentum More...
 
void setP4 (const PolarLorentzVector &p4) final
 set 4-momentum More...
 
void setPdgId (int pdgId) final
 
void setPz (double pz) final
 
void setStatus (int status) final
 set status word More...
 
void setThreeCharge (Charge qx3) final
 set electric charge More...
 
void setVertex (const Point &vertex) override
 set vertex More...
 
CandidatePtr sourceCandidatePtr (size_type i) const override
 
int status () const final
 status word More...
 
double theta () const final
 momentum polar angle More...
 
int threeCharge () const final
 electric charge More...
 
const Pointvertex () const override
 vertex position (overwritten by PF...) More...
 
double vertexChi2 () const override
 chi-squares More...
 
double vertexCovariance (int i, int j) const override
 (i, j)-th element of error matrix, i, j = 0, ... 2 More...
 
CovarianceMatrix vertexCovariance () const final
 return SMatrix More...
 
double vertexNdof () const override
 
double vertexNormalizedChi2 () const override
 chi-squared divided by n.d.o.f. More...
 
double vx () const override
 x coordinate of vertex position More...
 
double vy () const override
 y coordinate of vertex position More...
 
double vz () const override
 z coordinate of vertex position More...
 
double y () const final
 rapidity More...
 
 ~LeafCandidate () override
 destructor More...
 
- Public Member Functions inherited from reco::Candidate
const_iterator begin () const
 first daughter const_iterator More...
 
iterator begin ()
 first daughter iterator More...
 
virtual const TrackbestTrack () const
 
 Candidate ()
 default constructor More...
 
virtual float dxyError () const
 uncertainty on dxy More...
 
virtual float dzError () const
 uncertainty on dz More...
 
const_iterator end () const
 last daughter const_iterator More...
 
iterator end ()
 last daughter iterator More...
 
template<typename T >
T get () const
 get a component More...
 
template<typename T , typename Tag >
T get () const
 get a component More...
 
template<typename T >
T get (size_type i) const
 get a component More...
 
template<typename T , typename Tag >
T get (size_type i) const
 get a component More...
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
template<typename T >
size_type numberOf () const
 number of components More...
 
template<typename T , typename Tag >
size_type numberOf () const
 number of components More...
 
virtual void setSourceCandidatePtr (const CandidatePtr &ptr)
 Set the ptr to the source Candidate. More...
 
virtual ~Candidate ()
 destructor More...
 

Private Attributes

int approxChi2_
 
int bx_
 
int coarseEta_
 
std::vector< double > covariance_
 
int curv_
 
int curvMuon_
 
int curvVertex_
 
int dxy_
 
int fineEta_
 
bool hasFineEta_
 
int hitPattern_
 
std::vector< float > kalmanGain0_
 
std::vector< float > kalmanGain1_
 
std::vector< float > kalmanGain2_
 
std::vector< float > kalmanGain3_
 
int phi_
 
int phiB_
 
int phiBMuon_
 
int phiMuon_
 
int phiVertex_
 
float ptUnconstrained_
 
int quality_
 
int rank_
 
std::vector< int > residuals_
 
int sector_
 
int step_
 
L1MuKBMTCombinedStubRefVector stubs_
 
int wheel_
 

Additional Inherited Members

- Public Types inherited from reco::LeafCandidate
typedef int Charge
 electric charge type More...
 
typedef CandidateCollection daughters
 collection of daughter candidates More...
 
typedef unsigned int index
 
typedef math::XYZTLorentzVector LorentzVector
 Lorentz vector. More...
 
typedef math::XYZPoint Point
 point in the space More...
 
typedef math::PtEtaPhiMLorentzVector PolarLorentzVector
 Lorentz vector. More...
 
typedef math::XYZVector Vector
 point in the space More...
 
- Public Types inherited from reco::Candidate
enum  { dimension = 3 }
 
enum  { size = dimension * (dimension + 1)/2 }
 matix size More...
 
typedef int Charge
 electric charge type More...
 
typedef candidate::const_iterator const_iterator
 
typedef math::Error< dimension >::type CovarianceMatrix
 covariance error matrix (3x3) More...
 
typedef unsigned int index
 index type More...
 
typedef candidate::iterator iterator
 
typedef math::XYZTLorentzVector LorentzVector
 Lorentz vector. More...
 
typedef math::XYZPoint Point
 point in the space More...
 
typedef math::PtEtaPhiMLorentzVector PolarLorentzVector
 Lorentz vector. More...
 
typedef size_t size_type
 
typedef math::XYZVector Vector
 point in the space More...
 

Detailed Description

Definition at line 19 of file L1MuKBMTrack.h.

Constructor & Destructor Documentation

L1MuKBMTrack::L1MuKBMTrack ( )

Definition at line 3 of file L1MuKBMTrack.cc.

3  :
5 {
6 }
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
L1MuKBMTrack::~L1MuKBMTrack ( )
override

Definition at line 8 of file L1MuKBMTrack.cc.

8  {
9 
10 }
L1MuKBMTrack::L1MuKBMTrack ( const L1MuKBMTCombinedStubRef seed,
int  phi,
int  phiB 
)

Definition at line 12 of file L1MuKBMTrack.cc.

References residuals_, and stubs_.

12  :
14  covariance_(std::vector<double>(6,0.0)),
15  curvVertex_(0),
16  phiVertex_(0),
17  dxy_(0),
18  curvMuon_(0),
19  phiMuon_(0),
20  phiBMuon_(0),
21  curv_(0),
22  phi_(phi),
23  phiB_(phiB),
24  coarseEta_(0),
25  approxChi2_(0),
26  hitPattern_(0),
27  step_(seed->stNum()),
28  sector_(seed->scNum()),
29  wheel_(seed->whNum()),
30  quality_(seed->quality()),
31  hasFineEta_(false),
32  bx_(seed->bxNum()),
33  rank_(seed->bxNum()),
34  ptUnconstrained_(0.0)
35 {
36  stubs_.push_back(seed);
37  residuals_.push_back(0);
38  residuals_.push_back(0);
39  residuals_.push_back(0);
40 
41 }
float ptUnconstrained_
Definition: L1MuKBMTrack.h:204
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
std::vector< int > residuals_
Definition: L1MuKBMTrack.h:213
std::vector< double > covariance_
Definition: L1MuKBMTrack.h:151
L1MuKBMTCombinedStubRefVector stubs_
Definition: L1MuKBMTrack.h:153
double phi() const final
momentum azimuthal angle

Member Function Documentation

void L1MuKBMTrack::addStub ( const L1MuKBMTCombinedStubRef stub)

Definition at line 177 of file L1MuKBMTrack.cc.

References quality_, and stubs_.

Referenced by operator==(), L1TMuonBarrelKalmanAlgo::updateLUT(), L1TMuonBarrelKalmanAlgo::updateOffline(), and L1TMuonBarrelKalmanAlgo::updateOffline1D().

177  {
178  if (stub->quality()<quality_)
179  quality_ = stub->quality();
180  stubs_.push_back(stub);
181 
182 
183 }
L1MuKBMTCombinedStubRefVector stubs_
Definition: L1MuKBMTrack.h:153
int L1MuKBMTrack::approxChi2 ( ) const

Definition at line 82 of file L1MuKBMTrack.cc.

References approxChi2_.

Referenced by L1TMuonBarrelKalmanAlgo::punchThroughVeto(), and L1TMuonBarrelKalmanAlgo::rank().

82  {
83  return approxChi2_;
84 }
int L1MuKBMTrack::bendingAngle ( ) const
int L1MuKBMTrack::bx ( ) const

Definition at line 116 of file L1MuKBMTrack.cc.

References bx_.

116  {
117  return bx_;
118 }
int L1MuKBMTrack::coarseEta ( ) const

Definition at line 78 of file L1MuKBMTrack.cc.

References coarseEta_.

Referenced by L1TMuonBarrelKalmanAlgo::convertToBMTF(), and L1TMuonBarrelKalmanAlgo::setFloatingPointValues().

78  {
79  return coarseEta_;
80 }
const std::vector< double > & L1MuKBMTrack::covariance ( void  ) const
int L1MuKBMTrack::curvature ( ) const
int L1MuKBMTrack::curvatureAtMuon ( ) const
int L1MuKBMTrack::curvatureAtVertex ( ) const
int L1MuKBMTrack::dxy ( ) const
int L1MuKBMTrack::fineEta ( ) const

Definition at line 108 of file L1MuKBMTrack.cc.

References fineEta_.

Referenced by L1TMuonBarrelKalmanAlgo::convertToBMTF(), and L1TMuonBarrelKalmanAlgo::setFloatingPointValues().

108  {
109  return fineEta_;
110 }
bool L1MuKBMTrack::hasFineEta ( ) const

Definition at line 112 of file L1MuKBMTrack.cc.

References hasFineEta_.

Referenced by L1TMuonBarrelKalmanAlgo::convertToBMTF(), and L1TMuonBarrelKalmanAlgo::setFloatingPointValues().

112  {
113  return hasFineEta_;
114 }
int L1MuKBMTrack::hitPattern ( ) const
const std::vector< float > & L1MuKBMTrack::kalmanGain ( unsigned int  step) const

Definition at line 242 of file L1MuKBMTrack.cc.

References kalmanGain0_, kalmanGain1_, kalmanGain2_, and kalmanGain3_.

242  {
243  switch(step) {
244  case 3:
245  return kalmanGain3_;
246  case 2:
247  return kalmanGain2_;
248  case 1:
249  return kalmanGain1_;
250  case 0:
251  return kalmanGain0_;
252  }
253  return kalmanGain0_;
254 }
std::vector< float > kalmanGain0_
Definition: L1MuKBMTrack.h:207
std::vector< float > kalmanGain1_
Definition: L1MuKBMTrack.h:208
std::vector< float > kalmanGain3_
Definition: L1MuKBMTrack.h:210
std::vector< float > kalmanGain2_
Definition: L1MuKBMTrack.h:209
step
bool L1MuKBMTrack::operator== ( const L1MuKBMTrack t2) const
inline

Definition at line 90 of file L1MuKBMTrack.h.

References addStub(), mps_fire::i, indexGen::s2, setApproxChi2(), setCoarseEta(), setCoordinates(), setCoordinatesAtMuon(), setCoordinatesAtVertex(), setCovariance(), setFineEta(), setHitPattern(), setKalmanGain(), setPtEtaPhi(), setPtUnconstrained(), setRank(), setResidual(), reco::Candidate::size, stubs(), and parallelization::uint().

90  {
91  if (this->stubs().size()!=t2.stubs().size())
92  return false;
93  for (unsigned int i=0;i<this->stubs().size();++i) {
94  const L1MuKBMTCombinedStubRef& s1 = this->stubs()[i];
95  const L1MuKBMTCombinedStubRef& s2 = t2.stubs()[i];
96  if (s1->scNum()!= s2->scNum() ||
97  s1->whNum()!=s2->whNum() ||
98  s1->stNum()!=s2->stNum() ||
99  s1->tag()!=s2->tag())
100  return false;
101  }
102  return true;
103  }
const L1MuKBMTCombinedStubRefVector & stubs() const
bool L1MuKBMTrack::overlapTrack ( const L1MuKBMTrack other) const

Definition at line 262 of file L1MuKBMTrack.cc.

References indexGen::s2, stubs(), and stubs_.

262  {
263 
264  for (const auto& s1 : stubs_) {
265  for (const auto& s2 : other.stubs()) {
266  if (s1->scNum()== s2->scNum() &&
267  s1->whNum()==s2->whNum() &&
268  s1->stNum()==s2->stNum() &&
269  s1->tag()==s2->tag())
270  return true;
271  }
272  }
273  return false;
274 }
const L1MuKBMTCombinedStubRefVector & stubs() const
L1MuKBMTCombinedStubRefVector stubs_
Definition: L1MuKBMTrack.h:153
int L1MuKBMTrack::phiAtMuon ( ) const

Definition at line 47 of file L1MuKBMTrack.cc.

References phiMuon_.

Referenced by L1TMuonBarrelKalmanAlgo::convertToBMTF(), and L1TMuonBarrelKalmanAlgo::estimateChiSquare().

47  {
48  return phiMuon_;
49 }
int L1MuKBMTrack::phiAtVertex ( ) const

Definition at line 58 of file L1MuKBMTrack.cc.

References phiVertex_.

Referenced by L1TMuonBarrelKalmanAlgo::setFloatingPointValues().

58  {
59  return phiVertex_;
60 }
int L1MuKBMTrack::phiBAtMuon ( ) const

Definition at line 50 of file L1MuKBMTrack.cc.

References phiBMuon_.

Referenced by L1TMuonBarrelKalmanAlgo::estimateChiSquare().

50  {
51  return phiBMuon_;
52 }
int L1MuKBMTrack::positionAngle ( ) const
float L1MuKBMTrack::ptUnconstrained ( ) const

Definition at line 104 of file L1MuKBMTrack.cc.

References ptUnconstrained_.

104  {
105  return ptUnconstrained_;
106 }
float ptUnconstrained_
Definition: L1MuKBMTrack.h:204
int L1MuKBMTrack::quality ( ) const

Definition at line 100 of file L1MuKBMTrack.cc.

References quality_.

100  {
101  return quality_;
102 }
int L1MuKBMTrack::rank ( ) const

Definition at line 120 of file L1MuKBMTrack.cc.

References rank_.

Referenced by setRank().

120  {
121  return rank_;
122 }
int L1MuKBMTrack::residual ( uint  i) const

Definition at line 130 of file L1MuKBMTrack.cc.

References mps_fire::i, and residuals_.

130  {
131  return residuals_[i];
132 }
std::vector< int > residuals_
Definition: L1MuKBMTrack.h:213
int L1MuKBMTrack::sector ( ) const
void L1MuKBMTrack::setApproxChi2 ( int  chi)

Definition at line 165 of file L1MuKBMTrack.cc.

References approxChi2_.

Referenced by L1TMuonBarrelKalmanAlgo::estimateChiSquare(), and operator==().

165  {
166  approxChi2_ = chi;
167 }
void L1MuKBMTrack::setCoarseEta ( int  eta)

Definition at line 157 of file L1MuKBMTrack.cc.

References coarseEta_, and reco::LeafCandidate::eta().

Referenced by L1TMuonBarrelKalmanAlgo::calculateEta(), and operator==().

157  {
158  coarseEta_ = eta;
159 }
double eta() const final
momentum pseudorapidity
void L1MuKBMTrack::setCoordinates ( int  step,
int  curv,
int  phi,
int  phiB 
)

Definition at line 136 of file L1MuKBMTrack.cc.

References curv_, reco::LeafCandidate::phi(), phi_, phiB_, step(), and step_.

Referenced by operator==(), L1TMuonBarrelKalmanAlgo::propagate(), L1TMuonBarrelKalmanAlgo::updateLUT(), L1TMuonBarrelKalmanAlgo::updateOffline(), and L1TMuonBarrelKalmanAlgo::updateOffline1D().

136  {
137  step_=step;
138  curv_ = curv;
139  phiB_=phiB;
140  phi_=phi;
141 
142 }
int step() const
Definition: L1MuKBMTrack.cc:90
double phi() const final
momentum azimuthal angle
void L1MuKBMTrack::setCoordinatesAtMuon ( int  curv,
int  phi,
int  phiB 
)

Definition at line 150 of file L1MuKBMTrack.cc.

References curvMuon_, reco::LeafCandidate::phi(), phiBMuon_, and phiMuon_.

Referenced by operator==().

150  {
151  curvMuon_ = curv;
152  phiMuon_ = phi;
153  phiBMuon_ = phiB;
154 }
double phi() const final
momentum azimuthal angle
void L1MuKBMTrack::setCoordinatesAtVertex ( int  curv,
int  phi,
int  dxy 
)

Definition at line 144 of file L1MuKBMTrack.cc.

References curvVertex_, dxy(), dxy_, reco::LeafCandidate::phi(), and phiVertex_.

Referenced by operator==(), L1TMuonBarrelKalmanAlgo::vertexConstraintLUT(), and L1TMuonBarrelKalmanAlgo::vertexConstraintOffline().

144  {
145  curvVertex_ = curv;
146  phiVertex_ = phi;
147  dxy_ = dxy;
148 }
int dxy() const
Definition: L1MuKBMTrack.cc:62
double phi() const final
momentum azimuthal angle
void L1MuKBMTrack::setCovariance ( const CovarianceMatrix c)

Definition at line 278 of file L1MuKBMTrack.cc.

References EnergyCorrector::c, and covariance_.

Referenced by operator==(), L1TMuonBarrelKalmanAlgo::propagate(), L1TMuonBarrelKalmanAlgo::updateOffline(), L1TMuonBarrelKalmanAlgo::updateOffline1D(), and L1TMuonBarrelKalmanAlgo::vertexConstraintOffline().

278  {
279  covariance_[0] = c(0,0);
280  covariance_[1] = c(0,1);
281  covariance_[2] = c(1,1);
282  covariance_[3] = c(0,2);
283  covariance_[4] = c(1,2);
284  covariance_[5] = c(2,2);
285 }
std::vector< double > covariance_
Definition: L1MuKBMTrack.h:151
void L1MuKBMTrack::setFineEta ( int  eta)

Definition at line 185 of file L1MuKBMTrack.cc.

References reco::LeafCandidate::eta(), fineEta_, and hasFineEta_.

Referenced by L1TMuonBarrelKalmanAlgo::calculateEta(), and operator==().

185  {
186  fineEta_ = eta;
187  hasFineEta_=true;
188 }
double eta() const final
momentum pseudorapidity
void L1MuKBMTrack::setHitPattern ( int  pattern)
void L1MuKBMTrack::setKalmanGain ( unsigned int  step,
unsigned int  K,
float  a1,
float  a2,
float  a3,
float  a4 = 0,
float  a5 = 0,
float  a6 = 0 
)

Definition at line 195 of file L1MuKBMTrack.cc.

References kalmanGain0_, kalmanGain1_, kalmanGain2_, and kalmanGain3_.

Referenced by operator==(), L1TMuonBarrelKalmanAlgo::updateLUT(), L1TMuonBarrelKalmanAlgo::updateOffline(), L1TMuonBarrelKalmanAlgo::updateOffline1D(), L1TMuonBarrelKalmanAlgo::vertexConstraintLUT(), and L1TMuonBarrelKalmanAlgo::vertexConstraintOffline().

195  {
196  switch(step) {
197  case 3:
198  kalmanGain3_.push_back(K);
199  kalmanGain3_.push_back(a1);
200  kalmanGain3_.push_back(a2);
201  kalmanGain3_.push_back(a3);
202  kalmanGain3_.push_back(a4);
203  kalmanGain3_.push_back(a5);
204  kalmanGain3_.push_back(a6);
205  break;
206  case 2:
207  kalmanGain2_.push_back(K);
208  kalmanGain2_.push_back(a1);
209  kalmanGain2_.push_back(a2);
210  kalmanGain2_.push_back(a3);
211  kalmanGain2_.push_back(a4);
212  kalmanGain2_.push_back(a5);
213  kalmanGain2_.push_back(a6);
214  break;
215  case 1:
216  kalmanGain1_.push_back(K);
217  kalmanGain1_.push_back(a1);
218  kalmanGain1_.push_back(a2);
219  kalmanGain1_.push_back(a3);
220  kalmanGain1_.push_back(a4);
221  kalmanGain1_.push_back(a5);
222  kalmanGain1_.push_back(a6);
223  break;
224  case 0:
225  kalmanGain0_.push_back(K);
226  kalmanGain0_.push_back(a1);
227  kalmanGain0_.push_back(a2);
228  kalmanGain0_.push_back(a3);
229  break;
230 
231  default:
232  printf("Critical ERROR on setting the Klamn gain\n");
233  }
234 }
std::vector< float > kalmanGain0_
Definition: L1MuKBMTrack.h:207
std::vector< float > kalmanGain1_
Definition: L1MuKBMTrack.h:208
std::vector< float > kalmanGain3_
Definition: L1MuKBMTrack.h:210
std::vector< float > kalmanGain2_
Definition: L1MuKBMTrack.h:209
step
void L1MuKBMTrack::setPtEtaPhi ( double  pt,
double  eta,
double  phi 
)

Definition at line 169 of file L1MuKBMTrack.cc.

References reco::LeafCandidate::setP4(), and findQualityFiles::v.

Referenced by operator==(), and L1TMuonBarrelKalmanAlgo::setFloatingPointValues().

169  {
170  PolarLorentzVector v(pt,eta,phi,0.105);
171  setP4(v);
172 }
double eta() const final
momentum pseudorapidity
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
double pt() const final
transverse momentum
double phi() const final
momentum azimuthal angle
void setP4(const LorentzVector &p4) final
set 4-momentum
void L1MuKBMTrack::setPtUnconstrained ( float  pt)

Definition at line 173 of file L1MuKBMTrack.cc.

References reco::LeafCandidate::pt(), and ptUnconstrained_.

Referenced by operator==(), and L1TMuonBarrelKalmanAlgo::setFloatingPointValues().

173  {
175 }
float ptUnconstrained_
Definition: L1MuKBMTrack.h:204
double pt() const final
transverse momentum
void L1MuKBMTrack::setRank ( int  rank)

Definition at line 190 of file L1MuKBMTrack.cc.

References rank(), and rank_.

Referenced by operator==().

190  {
191  rank_ = rank;
192 }
int rank() const
void L1MuKBMTrack::setResidual ( uint  i,
int  val 
)

Definition at line 237 of file L1MuKBMTrack.cc.

References mps_fire::i, residuals_, and heppy_batch::val.

Referenced by operator==(), and L1TMuonBarrelKalmanAlgo::updateOffline().

237  {
238  residuals_[i]=val;
239 }
std::vector< int > residuals_
Definition: L1MuKBMTrack.h:213
int L1MuKBMTrack::step ( ) const
const L1MuKBMTCombinedStubRefVector & L1MuKBMTrack::stubs ( ) const
int L1MuKBMTrack::wheel ( ) const

Member Data Documentation

int L1MuKBMTrack::approxChi2_
private

Definition at line 174 of file L1MuKBMTrack.h.

Referenced by approxChi2(), and setApproxChi2().

int L1MuKBMTrack::bx_
private

Definition at line 197 of file L1MuKBMTrack.h.

Referenced by bx().

int L1MuKBMTrack::coarseEta_
private

Definition at line 171 of file L1MuKBMTrack.h.

Referenced by coarseEta(), and setCoarseEta().

std::vector<double> L1MuKBMTrack::covariance_
private

Definition at line 151 of file L1MuKBMTrack.h.

Referenced by covariance(), and setCovariance().

int L1MuKBMTrack::curv_
private

Definition at line 167 of file L1MuKBMTrack.h.

Referenced by curvature(), and setCoordinates().

int L1MuKBMTrack::curvMuon_
private

Definition at line 161 of file L1MuKBMTrack.h.

Referenced by curvatureAtMuon(), and setCoordinatesAtMuon().

int L1MuKBMTrack::curvVertex_
private

Definition at line 156 of file L1MuKBMTrack.h.

Referenced by curvatureAtVertex(), and setCoordinatesAtVertex().

int L1MuKBMTrack::dxy_
private

Definition at line 158 of file L1MuKBMTrack.h.

Referenced by dxy(), and setCoordinatesAtVertex().

int L1MuKBMTrack::fineEta_
private

Definition at line 191 of file L1MuKBMTrack.h.

Referenced by fineEta(), and setFineEta().

bool L1MuKBMTrack::hasFineEta_
private

Definition at line 194 of file L1MuKBMTrack.h.

Referenced by hasFineEta(), and setFineEta().

int L1MuKBMTrack::hitPattern_
private

Definition at line 177 of file L1MuKBMTrack.h.

Referenced by hitPattern(), and setHitPattern().

std::vector<float> L1MuKBMTrack::kalmanGain0_
private

Definition at line 207 of file L1MuKBMTrack.h.

Referenced by kalmanGain(), and setKalmanGain().

std::vector<float> L1MuKBMTrack::kalmanGain1_
private

Definition at line 208 of file L1MuKBMTrack.h.

Referenced by kalmanGain(), and setKalmanGain().

std::vector<float> L1MuKBMTrack::kalmanGain2_
private

Definition at line 209 of file L1MuKBMTrack.h.

Referenced by kalmanGain(), and setKalmanGain().

std::vector<float> L1MuKBMTrack::kalmanGain3_
private

Definition at line 210 of file L1MuKBMTrack.h.

Referenced by kalmanGain(), and setKalmanGain().

int L1MuKBMTrack::phi_
private

Definition at line 168 of file L1MuKBMTrack.h.

Referenced by positionAngle(), and setCoordinates().

int L1MuKBMTrack::phiB_
private

Definition at line 169 of file L1MuKBMTrack.h.

Referenced by bendingAngle(), and setCoordinates().

int L1MuKBMTrack::phiBMuon_
private

Definition at line 163 of file L1MuKBMTrack.h.

Referenced by phiBAtMuon(), and setCoordinatesAtMuon().

int L1MuKBMTrack::phiMuon_
private

Definition at line 162 of file L1MuKBMTrack.h.

Referenced by phiAtMuon(), and setCoordinatesAtMuon().

int L1MuKBMTrack::phiVertex_
private

Definition at line 157 of file L1MuKBMTrack.h.

Referenced by phiAtVertex(), and setCoordinatesAtVertex().

float L1MuKBMTrack::ptUnconstrained_
private

Definition at line 204 of file L1MuKBMTrack.h.

Referenced by ptUnconstrained(), and setPtUnconstrained().

int L1MuKBMTrack::quality_
private

Definition at line 188 of file L1MuKBMTrack.h.

Referenced by addStub(), and quality().

int L1MuKBMTrack::rank_
private

Definition at line 200 of file L1MuKBMTrack.h.

Referenced by rank(), and setRank().

std::vector<int> L1MuKBMTrack::residuals_
private

Definition at line 213 of file L1MuKBMTrack.h.

Referenced by L1MuKBMTrack(), residual(), and setResidual().

int L1MuKBMTrack::sector_
private

Definition at line 183 of file L1MuKBMTrack.h.

Referenced by sector().

int L1MuKBMTrack::step_
private

Definition at line 180 of file L1MuKBMTrack.h.

Referenced by setCoordinates(), and step().

L1MuKBMTCombinedStubRefVector L1MuKBMTrack::stubs_
private

Definition at line 153 of file L1MuKBMTrack.h.

Referenced by addStub(), L1MuKBMTrack(), overlapTrack(), and stubs().

int L1MuKBMTrack::wheel_
private

Definition at line 185 of file L1MuKBMTrack.h.

Referenced by wheel().