#include <MuonPathCorFitter.h>
Public Member Functions | |
void | finish () override |
void | initialise (const edm::EventSetup &iEventSetup) override |
MuonPathCorFitter (const edm::ParameterSet &pset, edm::ConsumesCollector &iC, std::shared_ptr< GlobalCoordsObtainer > &globalcoordsobtainer) | |
void | run (edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector< cmsdt::metaPrimitive > &metaPrimitives) override |
void | run (edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector< lat_vector > &lateralities, std::vector< cmsdt::metaPrimitive > &metaPrimitives) override |
void | run (edm::Event &iEvent, const edm::EventSetup &iEventSetup, std::vector< cmsdt::metaPrimitive > &inMPaths, std::vector< cmsdt::metaPrimitive > &outMPaths) override |
void | run (edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, MuonPathPtrs &outMPath) override |
~MuonPathCorFitter () override | |
Public Member Functions inherited from MuonPathFitter | |
fit_common_out_t | fit (fit_common_in_t fit_common_in, int XI_WIDTH, int COEFF_WIDTH_T0, int COEFF_WIDTH_POSITION, int COEFF_WIDTH_SLOPE, int PRECISSION_T0, int PRECISSION_POSITION, int PRECISSION_SLOPE, int PROD_RESIZE_T0, int PROD_RESIZE_POSITION, int PROD_RESIZE_SLOPE, int MAX_DRIFT_TDC, int sl) |
int | get_rom_addr (MuonPathPtr &inMPath, latcomb lats) |
bool | hasPosRF (int wh, int sec) |
MuonPathFitter (const edm::ParameterSet &pset, edm::ConsumesCollector &iC, std::shared_ptr< GlobalCoordsObtainer > &globalcoordsobtainer) | |
coeffs_t | RomDataConvert (std::vector< int > slv, short COEFF_WIDTH_T0, short COEFF_WIDTH_POSITION, short COEFF_WIDTH_SLOPE, short LOLY, short HILY) |
void | setChi2Th (double chi2Th) |
void | setTanPhiTh (double tanPhiTh) |
~MuonPathFitter () override | |
Public Member Functions inherited from MuonPathAnalyzer | |
MuonPathAnalyzer (const edm::ParameterSet &pset, edm::ConsumesCollector &iC) | |
virtual | ~MuonPathAnalyzer () |
Public Attributes | |
edm::FileInPath | both_sl_filename_ |
Public Attributes inherited from MuonPathFitter | |
double | chi2Th_ |
const bool | debug_ |
DTGeometry const * | dtGeo_ |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | dtGeomH |
std::shared_ptr< GlobalCoordsObtainer > | globalcoordsobtainer_ |
int | max_drift_tdc = -1 |
edm::FileInPath | maxdrift_filename_ |
int | maxdriftinfo_ [5][4][14] |
edm::FileInPath | shift_filename_ |
std::map< int, float > | shiftinfo_ |
double | tanPhiTh_ |
Private Member Functions | |
void | analyze (mp_group mp, std::vector< cmsdt::metaPrimitive > &metaPrimitives) |
bool | canCorrelate (cmsdt::metaPrimitive mp_sl1, cmsdt::metaPrimitive mp_sl3) |
void | fillLuts () |
int | get_rom_addr (mp_group mps, std::vector< int > missing_hits) |
Private Attributes | |
int | dT0_correlate_TP_ |
std::vector< std::vector< int > > | lut_2sl |
Definition at line 25 of file MuonPathCorFitter.h.
MuonPathCorFitter::MuonPathCorFitter | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | iC, | ||
std::shared_ptr< GlobalCoordsObtainer > & | globalcoordsobtainer | ||
) |
Definition at line 11 of file MuonPathCorFitter.cc.
References both_sl_filename_, MuonPathFitter::debug_, fillLuts(), LogDebug, muonDTDigis_cfi::pset, MuonPathFitter::setChi2Th(), and MuonPathFitter::setTanPhiTh().
|
override |
Definition at line 27 of file MuonPathCorFitter.cc.
References MuonPathFitter::debug_, and LogDebug.
|
private |
Definition at line 176 of file MuonPathCorFitter.cc.
References funct::abs(), cmsdt::CELL_LENGTH, cmsdt::CELL_SEMIHEIGHT, cmsdt::CELL_SEMILENGTH, DTGeometry::chamber(), IntegrityClient_cfi::ChId, fit_common_in_t::coarse_bctr, fit_common_in_t::coarse_wirepos, cmsdt::COEFF_WIDTH_COR_POSITION, cmsdt::COEFF_WIDTH_COR_SLOPE, cmsdt::COEFF_WIDTH_COR_T0, fit_common_in_t::coeffs, MuonPathFitter::dtGeo_, MuonPathFitter::fit(), nano_mu_digi_cff::float, get_rom_addr(), MuonPathFitter::globalcoordsobtainer_, MuonPathFitter::hasPosRF(), fit_common_in_t::hits, fit_common_in_t::hits_valid, mps_fire::i, cmsdt::INCREASED_RES_POS_POW, cmsdt::INCREASED_RES_SLOPE_POW, createfilelist::int, fit_common_in_t::lateralities, cmsdt::LHC_CLK_FREQ, lut_2sl, MuonPathFitter::max_drift_tdc, NUM_LAYERS, or, phi, PV3DBase< T, PVType, FrameType >::phi(), cmsdt::PHI_CONV, funct::pow(), cmsdt::PRECISSION_COR_POSITION, cmsdt::PRECISSION_COR_SLOPE, cmsdt::PRECISSION_COR_T0, cmsdt::PROD_RESIZE_COR_POSITION, cmsdt::PROD_RESIZE_COR_SLOPE, cmsdt::PROD_RESIZE_COR_T0, quality, DetId::rawId(), nano_mu_digi_cff::rawId, MuonPathFitter::RomDataConvert(), DTChamberId::sector(), MuonPathFitter::shiftinfo_, cmsdt::SL1_CELLS_OFFSET, slope, DTChamberId::station(), MuonPathFitter::tanPhiTh_, cmsdt::TIME_TO_TDC_COUNTS, GeomDet::toGlobal(), DTChamberId::wheel(), cmsdt::WIDTH_COARSED_TIME, cmsdt::WIDTH_FULL_TIME, nano_mu_digi_cff::wire, cmsdt::WIREPOS_NORM_LSB_IGNORED, cmsdt::WIREPOS_WIDTH, l1tPFClustersFromHGC3DClusters_cfi::wp, cmsdt::XI_COR_WIDTH, z, and cmsdt::Z_SHIFT_MB4.
Referenced by run().
|
private |
Definition at line 143 of file MuonPathCorFitter.cc.
References funct::abs(), dT0_correlate_TP_, createfilelist::int, cmsdt::metaPrimitive::t0, cmsdt::metaPrimitive::tanPhi, cmsdt::WIDTH_POS_SLOPE_CORR, and cmsdt::metaPrimitive::x.
Referenced by run().
|
private |
Definition at line 395 of file MuonPathCorFitter.cc.
References both_sl_filename_, edm::FileInPath::fullPath(), mps_fire::i, mps_splice::line, lut_2sl, groupFilesInBlocks::reverse, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by MuonPathCorFitter().
|
overridevirtual |
Reimplemented from MuonPathAnalyzer.
Definition at line 167 of file MuonPathCorFitter.cc.
References MuonPathFitter::debug_, and LogDebug.
Referenced by progressbar.ProgressBar::__next__().
|
private |
Definition at line 413 of file MuonPathCorFitter.cc.
References mps_fire::i, createfilelist::int, NUM_LAYERS, groupFilesInBlocks::reverse, and vhdl_unsigned_to_int().
Referenced by analyze().
|
overridevirtual |
Reimplemented from MuonPathAnalyzer.
Definition at line 35 of file MuonPathCorFitter.cc.
References MuonPathFitter::debug_, MuonPathFitter::dtGeo_, MuonPathFitter::dtGeomH, relativeConstraints::geom, edm::EventSetup::getHandle(), and LogDebug.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Implements MuonPathAnalyzer.
Definition at line 43 of file MuonPathCorFitter.cc.
References funct::abs(), analyze(), L1TStage2uGTEmulatorClient_cff::BX, nano_mu_digi_cff::bx, bxSort(), canCorrelate(), IntegrityClient_cfi::ChId, MuonPathFitter::debug_, mps_fire::i, LogDebug, cmsdt::MAX_BX_FOR_COR, MuonPathFitter::max_drift_tdc, cmsdt::MAX_PRIM_FOR_COR, cmsdt::MAX_PRIM_PER_BX_FOR_COR, MuonPathFitter::maxdriftinfo_, push_back(), DTChamberId::sector(), DTChamberId::station(), and DTChamberId::wheel().
|
inlineoverridevirtual |
edm::FileInPath MuonPathCorFitter::both_sl_filename_ |
Definition at line 58 of file MuonPathCorFitter.h.
Referenced by fillLuts(), and MuonPathCorFitter().
|
private |
Definition at line 68 of file MuonPathCorFitter.h.
Referenced by canCorrelate().
|
private |
Definition at line 71 of file MuonPathCorFitter.h.
Referenced by analyze(), and fillLuts().