8 #ifndef L1TMuonBarrelKalmanAlgo_H 9 #define L1TMuonBarrelKalmanAlgo_H 18 typedef ROOT::Math::SVector<double, 2>
Vector2;
19 typedef ROOT::Math::SMatrix<double, 2, 2, ROOT::Math::MatRepSym<double, 2> >
CovarianceMatrix2;
20 typedef ROOT::Math::SMatrix<double, 3, 2>
Matrix32;
21 typedef ROOT::Math::SMatrix<double, 2, 3>
Matrix23;
22 typedef ROOT::Math::SMatrix<double, 1, 3>
Matrix13;
23 typedef ROOT::Math::SMatrix<double, 3, 1>
Matrix31;
24 typedef ROOT::Math::SMatrix<double, 3, 3>
Matrix33;
49 int customBitmask(
unsigned int,
unsigned int,
unsigned int,
unsigned int);
59 int encode(
bool ownwheel,
int sector,
bool tag);
159 if (stub->scNum() ==
sec_)
161 else if ((stub->scNum() ==
sec_ - 1) || (stub->scNum() == 11 &&
sec_ == 0))
162 return stub->phi() - 2144;
163 else if ((stub->scNum() ==
sec_ + 1) || (stub->scNum() == 0 &&
sec_ == 11))
164 return stub->phi() + 2144;
std::vector< double > bPhiB_
int correctedPhiB(const L1MuKBMTCombinedStubRef &)
l1t::RegionalMuonCand convertToBMTF(const L1MuKBMTrack &track)
std::vector< double > aPhi_
static const int BITSPARAM
std::vector< int > combos1_
static const int GAIN2_4INT
std::vector< double > aPhiB_
std::vector< double > aPhiBNLO_
L1TMuonBarrelKalmanAlgo(const edm::ParameterSet &settings)
std::pair< bool, uint > match(const L1MuKBMTCombinedStubRef &, const L1MuKBMTCombinedStubRefVector &, int)
static const int GAIN2_1INT
double pointResolutionPhiB_
std::vector< double > mScatteringPhiB_
static const int GAIN2_0INT
int phiAt2(const L1MuKBMTrack &track)
bool update(L1MuKBMTrack &, const L1MuKBMTCombinedStubRef &, int, int)
int rank(const L1MuKBMTrack &)
std::vector< int > trackCompPattern_
static const int GAIN_V0INT
std::vector< edm::Ref< L1MuKBMTCombinedStubCollection > > L1MuKBMTCombinedStubRefVector
static const int BITSCURV
bool updateOffline1D(L1MuKBMTrack &, const L1MuKBMTCombinedStubRef &)
double pointResolutionVertex_
void estimateCompatibility(L1MuKBMTrack &)
bool updateLUT(L1MuKBMTrack &, const L1MuKBMTCombinedStubRef &, int, int)
void vertexConstraintLUT(L1MuKBMTrack &)
std::pair< bool, uint > getByCode(const L1MuKBMTrackCollection &tracks, int mask)
int fp_product(float, int, uint)
std::vector< double > chiSquare_
std::vector< double > pointResolutionPhiBH_
std::vector< double > initK2_
ROOT::Math::SMatrix< double, 1, 3 > Matrix13
static const int BITSPHIB
std::vector< double > etaLUT0_
std::vector< double > trackComp_
std::vector< double > etaLUT1_
std::vector< double > mScatteringPhi_
L1TMuonBarrelKalmanLUTs * lutService_
void vertexConstraint(L1MuKBMTrack &)
int customBitmask(unsigned int, unsigned int, unsigned int, unsigned int)
int correctedPhi(const L1MuKBMTCombinedStubRef &stub)
std::vector< double > eLoss_
ROOT::Math::SMatrix< double, 3, 1 > Matrix31
bool estimateChiSquare(L1MuKBMTrack &)
void vertexConstraintOffline(L1MuKBMTrack &)
static const int GAIN2_5INT
static const int GAIN_4INT
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > CovarianceMatrix2
uint matchAbs(std::map< uint, uint > &, uint, uint)
std::vector< int > combos4_
std::vector< int > chiSquareCutTight_
std::vector< double > bPhi_
std::vector< double > initK_
void updateEta(L1MuKBMTrack &, const L1MuKBMTCombinedStubRef &)
void setFloatingPointValues(L1MuKBMTrack &, bool)
L1MuKBMTrackCollection clean(const L1MuKBMTrackCollection &, uint)
auto const & tracks
cannot be loose
int encode(bool ownwheel, int sector, bool tag)
std::vector< int > chiSquareCutPattern_
std::pair< bool, L1MuKBMTrack > chain(const L1MuKBMTCombinedStubRef &, const L1MuKBMTCombinedStubRefVector &)
void calculateEta(L1MuKBMTrack &track)
std::vector< int > chiSquareCut_
void addBMTFMuon(int, const L1MuKBMTrack &, std::unique_ptr< l1t::RegionalMuonCandBxCollection > &)
int hitPattern(const L1MuKBMTrack &)
ROOT::Math::SVector< double, 2 > Vector2
std::vector< L1MuKBMTrack > L1MuKBMTrackCollection
ROOT::Math::SMatrix< double, 2, 3 > Matrix23
int correctedPhi(const L1MuKBMTCombinedStubRef &, int)
std::vector< double > trackCompErr1_
void propagate(L1MuKBMTrack &)
ROOT::Math::SMatrix< double, 3, 2 > Matrix32
std::vector< int > chiSquareCutCurv_
ROOT::Math::SMatrix< double, 3, 3 > Matrix33
std::vector< double > trackCompErr2_
double pointResolutionPhi_
static const int GAIN_0INT
std::vector< int > trackCompCut_
bool updateOffline(L1MuKBMTrack &, const L1MuKBMTCombinedStubRef &)
bool operator()(const L1MuKBMTCombinedStubRef &a, const L1MuKBMTCombinedStubRef &b)
uint etaStubRank(const L1MuKBMTCombinedStubRef &)
std::vector< int > combos3_
std::vector< int > trackCompCutCurv_
std::vector< int > combos2_
std::map< int, int > trackAddress(const L1MuKBMTrack &, int &)
std::vector< double > pointResolutionPhiBL_