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)
 
void setTrackCompatibility (int)
 
int step () const
 
const L1MuKBMTCombinedStubRefVectorstubs () const
 
int trackCompatibility () 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 trackCompatibility_
 
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),
27  hitPattern_(0),
28  step_(seed->stNum()),
29  sector_(seed->scNum()),
30  wheel_(seed->whNum()),
31  quality_(seed->quality()),
32  hasFineEta_(false),
33  bx_(seed->bxNum()),
34  rank_(seed->bxNum()),
35  ptUnconstrained_(0.0)
36 {
37  stubs_.push_back(seed);
38  residuals_.push_back(0);
39  residuals_.push_back(0);
40  residuals_.push_back(0);
41 
42 }
float ptUnconstrained_
Definition: L1MuKBMTrack.h:208
int trackCompatibility_
Definition: L1MuKBMTrack.h:178
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
std::vector< int > residuals_
Definition: L1MuKBMTrack.h:217
std::vector< double > covariance_
Definition: L1MuKBMTrack.h:154
L1MuKBMTCombinedStubRefVector stubs_
Definition: L1MuKBMTrack.h:156
double phi() const final
momentum azimuthal angle

Member Function Documentation

void L1MuKBMTrack::addStub ( const L1MuKBMTCombinedStubRef stub)

Definition at line 184 of file L1MuKBMTrack.cc.

References quality_, and stubs_.

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

184  {
185  if (stub->quality()<quality_)
186  quality_ = stub->quality();
187  stubs_.push_back(stub);
188 
189 
190 }
L1MuKBMTCombinedStubRefVector stubs_
Definition: L1MuKBMTrack.h:156
int L1MuKBMTrack::approxChi2 ( ) const
int L1MuKBMTrack::bendingAngle ( ) const
int L1MuKBMTrack::bx ( ) const

Definition at line 120 of file L1MuKBMTrack.cc.

References bx_.

120  {
121  return bx_;
122 }
int L1MuKBMTrack::coarseEta ( ) const

Definition at line 79 of file L1MuKBMTrack.cc.

References coarseEta_.

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

79  {
80  return coarseEta_;
81 }
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 112 of file L1MuKBMTrack.cc.

References fineEta_.

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

112  {
113  return fineEta_;
114 }
bool L1MuKBMTrack::hasFineEta ( ) const

Definition at line 116 of file L1MuKBMTrack.cc.

References hasFineEta_.

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

116  {
117  return hasFineEta_;
118 }
int L1MuKBMTrack::hitPattern ( ) const
const std::vector< float > & L1MuKBMTrack::kalmanGain ( unsigned int  step) const

Definition at line 249 of file L1MuKBMTrack.cc.

References kalmanGain0_, kalmanGain1_, kalmanGain2_, and kalmanGain3_.

249  {
250  switch(step) {
251  case 3:
252  return kalmanGain3_;
253  case 2:
254  return kalmanGain2_;
255  case 1:
256  return kalmanGain1_;
257  case 0:
258  return kalmanGain0_;
259  }
260  return kalmanGain0_;
261 }
std::vector< float > kalmanGain0_
Definition: L1MuKBMTrack.h:211
std::vector< float > kalmanGain1_
Definition: L1MuKBMTrack.h:212
std::vector< float > kalmanGain3_
Definition: L1MuKBMTrack.h:214
std::vector< float > kalmanGain2_
Definition: L1MuKBMTrack.h:213
step
Definition: StallMonitor.cc:94
bool L1MuKBMTrack::operator== ( const L1MuKBMTrack t2) const
inline

Definition at line 92 of file L1MuKBMTrack.h.

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

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

Definition at line 269 of file L1MuKBMTrack.cc.

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

269  {
270 
271  for (const auto& s1 : stubs_) {
272  for (const auto& s2 : other.stubs()) {
273  if (s1->scNum()== s2->scNum() &&
274  s1->whNum()==s2->whNum() &&
275  s1->stNum()==s2->stNum() &&
276  s1->tag()==s2->tag())
277  return true;
278  }
279  }
280  return false;
281 }
const L1MuKBMTCombinedStubRefVector & stubs() const
L1MuKBMTCombinedStubRefVector stubs_
Definition: L1MuKBMTrack.h:156
int L1MuKBMTrack::phiAtMuon ( ) const
int L1MuKBMTrack::phiAtVertex ( ) const

Definition at line 59 of file L1MuKBMTrack.cc.

References phiVertex_.

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

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

Definition at line 51 of file L1MuKBMTrack.cc.

References phiBMuon_.

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

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

Definition at line 108 of file L1MuKBMTrack.cc.

References ptUnconstrained_.

108  {
109  return ptUnconstrained_;
110 }
float ptUnconstrained_
Definition: L1MuKBMTrack.h:208
int L1MuKBMTrack::quality ( ) const

Definition at line 104 of file L1MuKBMTrack.cc.

References quality_.

104  {
105  return quality_;
106 }
int L1MuKBMTrack::rank ( ) const

Definition at line 124 of file L1MuKBMTrack.cc.

References rank_.

Referenced by setRank().

124  {
125  return rank_;
126 }
int L1MuKBMTrack::residual ( uint  i) const

Definition at line 134 of file L1MuKBMTrack.cc.

References mps_fire::i, and residuals_.

134  {
135  return residuals_[i];
136 }
std::vector< int > residuals_
Definition: L1MuKBMTrack.h:217
int L1MuKBMTrack::sector ( ) const
void L1MuKBMTrack::setApproxChi2 ( int  chi)

Definition at line 169 of file L1MuKBMTrack.cc.

References approxChi2_.

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

169  {
170  approxChi2_ = chi;
171 }
void L1MuKBMTrack::setCoarseEta ( int  eta)

Definition at line 161 of file L1MuKBMTrack.cc.

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

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

161  {
162  coarseEta_ = eta;
163 }
double eta() const final
momentum pseudorapidity
void L1MuKBMTrack::setCoordinates ( int  step,
int  curv,
int  phi,
int  phiB 
)

Definition at line 140 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().

140  {
141  step_=step;
142  curv_ = curv;
143  phiB_=phiB;
144  phi_=phi;
145 
146 }
int step() const
Definition: L1MuKBMTrack.cc:94
double phi() const final
momentum azimuthal angle
void L1MuKBMTrack::setCoordinatesAtMuon ( int  curv,
int  phi,
int  phiB 
)

Definition at line 154 of file L1MuKBMTrack.cc.

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

Referenced by operator==().

154  {
155  curvMuon_ = curv;
156  phiMuon_ = phi;
157  phiBMuon_ = phiB;
158 }
double phi() const final
momentum azimuthal angle
void L1MuKBMTrack::setCoordinatesAtVertex ( int  curv,
int  phi,
int  dxy 
)
void L1MuKBMTrack::setCovariance ( const CovarianceMatrix c)

Definition at line 285 of file L1MuKBMTrack.cc.

References EnergyCorrector::c, and covariance_.

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

285  {
286  covariance_[0] = c(0,0);
287  covariance_[1] = c(0,1);
288  covariance_[2] = c(1,1);
289  covariance_[3] = c(0,2);
290  covariance_[4] = c(1,2);
291  covariance_[5] = c(2,2);
292 }
std::vector< double > covariance_
Definition: L1MuKBMTrack.h:154
void L1MuKBMTrack::setFineEta ( int  eta)

Definition at line 192 of file L1MuKBMTrack.cc.

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

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

192  {
193  fineEta_ = eta;
194  hasFineEta_=true;
195 }
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 202 of file L1MuKBMTrack.cc.

References kalmanGain0_, kalmanGain1_, kalmanGain2_, and kalmanGain3_.

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

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

Definition at line 176 of file L1MuKBMTrack.cc.

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

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

176  {
177  PolarLorentzVector v(pt,eta,phi,0.105);
178  setP4(v);
179 }
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 180 of file L1MuKBMTrack.cc.

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

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

180  {
182 }
float ptUnconstrained_
Definition: L1MuKBMTrack.h:208
double pt() const final
transverse momentum
void L1MuKBMTrack::setRank ( int  rank)

Definition at line 197 of file L1MuKBMTrack.cc.

References rank(), and rank_.

Referenced by operator==().

197  {
198  rank_ = rank;
199 }
int rank() const
void L1MuKBMTrack::setResidual ( uint  i,
int  val 
)

Definition at line 244 of file L1MuKBMTrack.cc.

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

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

244  {
245  residuals_[i]=val;
246 }
std::vector< int > residuals_
Definition: L1MuKBMTrack.h:217
void L1MuKBMTrack::setTrackCompatibility ( int  chi)

Definition at line 172 of file L1MuKBMTrack.cc.

References trackCompatibility_.

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

172  {
173  trackCompatibility_ = chi;
174 }
int trackCompatibility_
Definition: L1MuKBMTrack.h:178
int L1MuKBMTrack::step ( ) const
const L1MuKBMTCombinedStubRefVector & L1MuKBMTrack::stubs ( ) const
int L1MuKBMTrack::trackCompatibility ( ) const

Definition at line 86 of file L1MuKBMTrack.cc.

References trackCompatibility_.

86  {
87  return trackCompatibility_;
88 }
int trackCompatibility_
Definition: L1MuKBMTrack.h:178
int L1MuKBMTrack::wheel ( ) const

Member Data Documentation

int L1MuKBMTrack::approxChi2_
private

Definition at line 177 of file L1MuKBMTrack.h.

Referenced by approxChi2(), and setApproxChi2().

int L1MuKBMTrack::bx_
private

Definition at line 201 of file L1MuKBMTrack.h.

Referenced by bx().

int L1MuKBMTrack::coarseEta_
private

Definition at line 174 of file L1MuKBMTrack.h.

Referenced by coarseEta(), and setCoarseEta().

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

Definition at line 154 of file L1MuKBMTrack.h.

Referenced by covariance(), and setCovariance().

int L1MuKBMTrack::curv_
private

Definition at line 170 of file L1MuKBMTrack.h.

Referenced by curvature(), and setCoordinates().

int L1MuKBMTrack::curvMuon_
private

Definition at line 164 of file L1MuKBMTrack.h.

Referenced by curvatureAtMuon(), and setCoordinatesAtMuon().

int L1MuKBMTrack::curvVertex_
private

Definition at line 159 of file L1MuKBMTrack.h.

Referenced by curvatureAtVertex(), and setCoordinatesAtVertex().

int L1MuKBMTrack::dxy_
private

Definition at line 161 of file L1MuKBMTrack.h.

Referenced by dxy(), and setCoordinatesAtVertex().

int L1MuKBMTrack::fineEta_
private

Definition at line 195 of file L1MuKBMTrack.h.

Referenced by fineEta(), and setFineEta().

bool L1MuKBMTrack::hasFineEta_
private

Definition at line 198 of file L1MuKBMTrack.h.

Referenced by hasFineEta(), and setFineEta().

int L1MuKBMTrack::hitPattern_
private

Definition at line 181 of file L1MuKBMTrack.h.

Referenced by hitPattern(), and setHitPattern().

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

Definition at line 211 of file L1MuKBMTrack.h.

Referenced by kalmanGain(), and setKalmanGain().

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

Definition at line 212 of file L1MuKBMTrack.h.

Referenced by kalmanGain(), and setKalmanGain().

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

Definition at line 213 of file L1MuKBMTrack.h.

Referenced by kalmanGain(), and setKalmanGain().

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

Definition at line 214 of file L1MuKBMTrack.h.

Referenced by kalmanGain(), and setKalmanGain().

int L1MuKBMTrack::phi_
private

Definition at line 171 of file L1MuKBMTrack.h.

Referenced by positionAngle(), and setCoordinates().

int L1MuKBMTrack::phiB_
private

Definition at line 172 of file L1MuKBMTrack.h.

Referenced by bendingAngle(), and setCoordinates().

int L1MuKBMTrack::phiBMuon_
private

Definition at line 166 of file L1MuKBMTrack.h.

Referenced by phiBAtMuon(), and setCoordinatesAtMuon().

int L1MuKBMTrack::phiMuon_
private

Definition at line 165 of file L1MuKBMTrack.h.

Referenced by phiAtMuon(), and setCoordinatesAtMuon().

int L1MuKBMTrack::phiVertex_
private

Definition at line 160 of file L1MuKBMTrack.h.

Referenced by phiAtVertex(), and setCoordinatesAtVertex().

float L1MuKBMTrack::ptUnconstrained_
private

Definition at line 208 of file L1MuKBMTrack.h.

Referenced by ptUnconstrained(), and setPtUnconstrained().

int L1MuKBMTrack::quality_
private

Definition at line 192 of file L1MuKBMTrack.h.

Referenced by addStub(), and quality().

int L1MuKBMTrack::rank_
private

Definition at line 204 of file L1MuKBMTrack.h.

Referenced by rank(), and setRank().

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

Definition at line 217 of file L1MuKBMTrack.h.

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

int L1MuKBMTrack::sector_
private

Definition at line 187 of file L1MuKBMTrack.h.

Referenced by sector().

int L1MuKBMTrack::step_
private

Definition at line 184 of file L1MuKBMTrack.h.

Referenced by setCoordinates(), and step().

L1MuKBMTCombinedStubRefVector L1MuKBMTrack::stubs_
private

Definition at line 156 of file L1MuKBMTrack.h.

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

int L1MuKBMTrack::trackCompatibility_
private

Definition at line 178 of file L1MuKBMTrack.h.

Referenced by setTrackCompatibility(), and trackCompatibility().

int L1MuKBMTrack::wheel_
private

Definition at line 189 of file L1MuKBMTrack.h.

Referenced by wheel().