Go to the documentation of this file. 1 #ifndef L1Trigger_DTTriggerPhase2_MuonPathAnalyzerPerSL_h
2 #define L1Trigger_DTTriggerPhase2_MuonPathAnalyzerPerSL_h
21 std::vector<cmsdt::metaPrimitive> &metaPrimitives)
override;
41 bool hasPosRF(
int wh,
int sec) {
return wh > 0 || (wh == 0 &&
sec % 4 > 1); };
bool hasPosRF(int wh, int sec)
void evaluateLateralQuality(int latIdx, MuonPathPtr &mPath, cmsdt::LATQ_TYPE *latQuality)
int totalNumValLateralities_
void analyze(MuonPathPtr &inMPath, std::vector< cmsdt::metaPrimitive > &metaPrimitives)
cmsdt::LATQ_TYPE latQuality_[cmsdt::NUM_LATERALITIES]
cmsdt::LATERAL_CASES lateralities_[cmsdt::NUM_LATERALITIES][cmsdt::NUM_LAYERS]
MuonPathAnalyzerPerSL(const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
bool isStraightPath(cmsdt::LATERAL_CASES sideComb[cmsdt::NUM_LAYERS])
int eqMainTerm(cmsdt::LATERAL_CASES sideComb[2], int layerIdx[2], MuonPathPtr &mPath, int bxValue)
const DTGeometry * dtGeo_
void calcChiSquare(MuonPathPtr &mPath)
void calcTanPhiXPosChamber3Hits(MuonPathPtr &mPath)
edm::ESGetToken< DTGeometry, MuonGeometryRecord > dtGeomH
void calcTanPhiXPosChamber4Hits(MuonPathPtr &mPath)
void initialise(const edm::EventSetup &iEventSetup) override
void calculatePathParameters(MuonPathPtr &mPath)
cmsdt::MP_QUALITY minQuality(void)
std::vector< MuonPathPtr > MuonPathPtrs
void setChiSquareThreshold(float ch2Thr)
void setMinQuality(cmsdt::MP_QUALITY q)
~MuonPathAnalyzerPerSL() override
void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, MuonPathPtrs &outMPath) override
void evaluatePathQuality(MuonPathPtr &mPath)
void buildLateralities(void)
std::map< int, float > shiftinfo_
bool sameBXValue(cmsdt::PARTIAL_LATQ_TYPE *latq)
cmsdt::MP_QUALITY minQuality_
void setBXTolerance(int t)
void calcCellDriftAndXcoor(MuonPathPtr &mPath)
int cellLayout_[cmsdt::NUM_LAYERS]
int eqMainBXTerm(cmsdt::LATERAL_CASES sideComb[2], int layerIdx[2], MuonPathPtr &mPath)
float chiSquareThreshold_
std::shared_ptr< MuonPath > MuonPathPtr
constexpr int NUM_CELL_COMB
void lateralCoeficients(cmsdt::LATERAL_CASES sideComb[2], int *coefs)
void setCellLayout(const int layout[cmsdt::NUM_LAYERS])
constexpr int NUM_LATERALITIES
void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector< cmsdt::metaPrimitive > &metaPrimitives) override
static const int LAYER_ARRANGEMENTS_[cmsdt::NUM_LAYERS][cmsdt::NUM_CELL_COMB]
edm::FileInPath shift_filename_
void validate(cmsdt::LATERAL_CASES sideComb[3], int layerIndex[3], MuonPathPtr &mPath, cmsdt::PARTIAL_LATQ_TYPE *latq)
void calcTanPhiXPosChamber(MuonPathPtr &mPath)