1 #ifndef L1Trigger_DTTriggerPhase2_MuonPathAnalyticAnalyzer_h 2 #define L1Trigger_DTTriggerPhase2_MuonPathAnalyticAnalyzer_h 47 std::shared_ptr<GlobalCoordsObtainer> &globalcoordsobtainer);
55 std::vector<cmsdt::metaPrimitive> &metaPrimitives)
override;
59 std::vector<lat_vector> &lateralities,
60 std::vector<cmsdt::metaPrimitive> &metaPrimitives)
override{};
63 std::vector<cmsdt::metaPrimitive> &inMPaths,
64 std::vector<cmsdt::metaPrimitive> &outMPaths)
override{};
74 bool hasPosRF(
int wh,
int sec) {
return wh > 0 || (wh == 0 &&
sec % 4 > 1); };
99 int cell_horiz_layout[4],
104 std::vector<cmsdt::metaPrimitive> &metaPrimitives);
std::vector< CELL_VALID_LAYOUT_CONSTANTS > LAYOUT_VALID_TO_LATCOMB_CONSTS_ENCODER
~MuonPathAnalyticAnalyzer() override
std::vector< MuonPathPtr > MuonPathPtrs
edm::FileInPath shift_filename_
std::map< int, float > shiftthetainfo_
bool hasPosRF(int wh, int sec)
std::vector< short > latcomb
void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, MuonPathPtrs &outMPath) override
edm::FileInPath shift_theta_filename_
LATCOMB_CONSTANTS latcomb_constants[6]
MuonPathAnalyticAnalyzer(const edm::ParameterSet &pset, edm::ConsumesCollector &iC, std::shared_ptr< GlobalCoordsObtainer > &globalcoordsobtainer)
void segment_fitter(DTSuperLayerId MuonPathSLId, int wires[4], int t0s[4], int valid[4], int reduced_times[4], int cell_horiz_layout[4], LATCOMB_CONSTANTS latcomb_consts, int xwire_mm[4], int coarse_pos, int coarse_offset, std::vector< cmsdt::metaPrimitive > &metaPrimitives)
std::vector< int > getLateralityCombination(int latcomb)
void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector< cmsdt::metaPrimitive > &metaPrimitives) override
void fillLAYOUT_VALID_TO_LATCOMB_CONSTS_ENCODER()
void initialise(const edm::EventSetup &iEventSetup) override
edm::ESGetToken< DTGeometry, MuonGeometryRecord > dtGeomH
int cellLayout_[cmsdt::NUM_LAYERS]
void analyze(MuonPathPtr &inMPath, std::vector< cmsdt::metaPrimitive > &metaPrimitives)
std::map< int, float > shiftinfo_
CELL_VALID_LAYOUT cell_valid_layout
std::shared_ptr< MuonPath > MuonPathPtr
void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector< lat_vector > &lateralities, std::vector< cmsdt::metaPrimitive > &metaPrimitives) override
std::shared_ptr< GlobalCoordsObtainer > globalcoordsobtainer_
DTGeometry const * dtGeo_
void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, std::vector< cmsdt::metaPrimitive > &inMPaths, std::vector< cmsdt::metaPrimitive > &outMPaths) override
int compute_parameter(MAGNITUDE constants, int t0s[4], int DIV_SHR_BITS, int INCREASED_RES)