1 #ifndef L1Trigger_DTTriggerPhase2_MuonPathAnalyzerInChamber_h 2 #define L1Trigger_DTTriggerPhase2_MuonPathAnalyzerInChamber_h 10 typedef std::array<cmsdt::LATERAL_CASES, cmsdt::NUM_LAYERS_2SL> TLateralities;
21 std::shared_ptr<GlobalCoordsObtainer> &globalcoordsobtainer);
29 std::vector<cmsdt::metaPrimitive> &metaPrimitives)
override{};
33 std::vector<lat_vector> &lateralities,
34 std::vector<cmsdt::metaPrimitive> &metaPrimitives)
override{};
37 std::vector<cmsdt::metaPrimitive> &inMPaths,
38 std::vector<cmsdt::metaPrimitive> &outMPaths)
override{};
59 bool hasPosRF(
int wh,
int sec) {
return wh > 0 || (wh == 0 &&
sec % 4 > 1); };
DTGeometry const * dtGeo_
void setBxTolerance(int t)
void setChiSquareThreshold(float ch2Thr)
MuonPathAnalyzerInChamber(const edm::ParameterSet &pset, edm::ConsumesCollector &iC, std::shared_ptr< GlobalCoordsObtainer > &globalcoordsobtainer)
void setCellLayout(MuonPathPtr &mpath)
std::vector< MuonPathPtr > MuonPathPtrs
void setWirePosAndTimeInMP(MuonPathPtr &mpath)
edm::ESGetToken< DTGeometry, MuonGeometryRecord > dtGeomH
cmsdt::MP_QUALITY minQuality_
void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector< lat_vector > &lateralities, std::vector< cmsdt::metaPrimitive > &metaPrimitives) override
float chiSquareThreshold_
void evaluateQuality(MuonPathPtr &mPath)
~MuonPathAnalyzerInChamber() override
int totalNumValLateralities_
void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, std::vector< cmsdt::metaPrimitive > &inMPaths, std::vector< cmsdt::metaPrimitive > &outMPaths) override
bool hasPosRF(int wh, int sec)
void buildLateralities(MuonPathPtr &mpath)
void setLateralitiesInMP(MuonPathPtr &mpath, TLateralities lat)
std::map< int, float > shiftinfo_
void initialise(const edm::EventSetup &iEventSetup) override
void setMinHits4Fit(int h)
std::vector< TLateralities > lateralities_
void calculateFitParameters(MuonPathPtr &mpath, TLateralities lat, int present_layer[cmsdt::NUM_LAYERS_2SL], int &lat_added)
cmsdt::MP_QUALITY minQuality(void)
constexpr int NUM_LAYERS_2SL
std::vector< cmsdt::LATQ_TYPE > latQuality_
void analyze(MuonPathPtr &inMPath, MuonPathPtrs &outMPaths)
std::shared_ptr< MuonPath > MuonPathPtr
std::shared_ptr< GlobalCoordsObtainer > globalcoordsobtainer_
void setMinimumQuality(cmsdt::MP_QUALITY q)
edm::FileInPath shift_filename_
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector< cmsdt::metaPrimitive > &metaPrimitives) override
int cellLayout_[cmsdt::NUM_LAYERS_2SL]