1 #ifndef Phase2L1Trigger_DTTrigger_MuonPathAssociator_h 2 #define Phase2L1Trigger_DTTrigger_MuonPathAssociator_h 40 std::shared_ptr<GlobalCoordsObtainer> &globalcoordsobtainer);
48 std::vector<cmsdt::metaPrimitive> &inMPaths,
49 std::vector<cmsdt::metaPrimitive> &outMPaths);
58 std::vector<cmsdt::metaPrimitive> &allMPaths);
60 std::vector<cmsdt::metaPrimitive> &secondMPaths,
61 std::vector<cmsdt::metaPrimitive> &allMPaths);
71 std::vector<cmsdt::metaPrimitive> &inMPaths,
72 std::vector<cmsdt::metaPrimitive> &outMPaths);
74 bool hasPosRF(
int wh,
int sec) {
return wh > 0 || (wh == 0 &&
sec % 4 > 1); }
bool isNotAPrimo(cmsdt::metaPrimitive first, cmsdt::metaPrimitive second)
void correlateMPaths(edm::Handle< DTDigiCollection > digis, std::vector< cmsdt::metaPrimitive > &inMPaths, std::vector< cmsdt::metaPrimitive > &outMPaths)
double dTanPsi_correlate_TP_
std::map< int, float > shiftinfo_
edm::FileInPath shift_filename_
void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, edm::Handle< DTDigiCollection > digis, std::vector< cmsdt::metaPrimitive > &inMPaths, std::vector< cmsdt::metaPrimitive > &outMPaths)
std::shared_ptr< GlobalCoordsObtainer > globalcoordsobtainer_
U second(std::pair< T, U > const &p)
void removeSharingHits(std::vector< cmsdt::metaPrimitive > &firstMPaths, std::vector< cmsdt::metaPrimitive > &secondMPaths, std::vector< cmsdt::metaPrimitive > &allMPaths)
void printmPC(cmsdt::metaPrimitive mP)
bool clean_chi2_correlation_
bool shareFit(cmsdt::metaPrimitive first, cmsdt::metaPrimitive second)
edm::ESGetToken< DTGeometry, MuonGeometryRecord > dtGeomH_
void initialise(const edm::EventSetup &iEventSetup)
bool hasPosRF(int wh, int sec)
double minx_match_2digis_
DTGeometry const * dtGeo_
void removeSharingFits(std::vector< cmsdt::metaPrimitive > &chamberMPaths, std::vector< cmsdt::metaPrimitive > &allMPaths)
MuonPathAssociator(const edm::ParameterSet &pset, edm::ConsumesCollector &iC, std::shared_ptr< GlobalCoordsObtainer > &globalcoordsobtainer)