#include <MuonPathSLFitter.h>
Public Member Functions | |
void | finish () override |
void | initialise (const edm::EventSetup &iEventSetup) override |
MuonPathSLFitter (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 |
~MuonPathSLFitter () 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 | shift_theta_filename_ |
std::map< int, float > | shiftthetainfo_ |
edm::FileInPath | sl1_filename_ |
edm::FileInPath | sl2_filename_ |
edm::FileInPath | sl3_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 (MuonPathPtr &inMPath, lat_vector lat_combs, std::vector< cmsdt::metaPrimitive > &metaPrimitives) |
void | fillLuts () |
int | get_rom_addr (MuonPathPtr &inMPath, latcomb lats) |
Private Attributes | |
std::vector< std::vector< int > > | lut_sl1 |
std::vector< std::vector< int > > | lut_sl2 |
std::vector< std::vector< int > > | lut_sl3 |
Definition at line 14 of file MuonPathSLFitter.h.
MuonPathSLFitter::MuonPathSLFitter | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | iC, | ||
std::shared_ptr< GlobalCoordsObtainer > & | globalcoordsobtainer | ||
) |
Definition at line 11 of file MuonPathSLFitter.cc.
References MuonPathFitter::debug_, Exception, fillLuts(), edm::FileInPath::fullPath(), LogDebug, muonDTDigis_cfi::pset, nano_mu_digi_cff::rawId, MuonPathFitter::setChi2Th(), MuonPathFitter::setTanPhiTh(), edm::shift, shift_theta_filename_, shiftthetainfo_, sl1_filename_, sl2_filename_, and sl3_filename_.
|
override |
|
private |
Definition at line 96 of file MuonPathSLFitter.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_SL2_POSITION, cmsdt::COEFF_WIDTH_SL_POSITION, cmsdt::COEFF_WIDTH_SL_SLOPE, cmsdt::COEFF_WIDTH_SL_T0, fit_common_in_t::coeffs, MuonPathFitter::dtGeo_, MuonPathFitter::fit(), ALCARECOEcalPhiSym_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, cmsdt::INCREASED_RES_POS_POW, createfilelist::int, fit_common_in_t::lateralities, DTGeometry::layer(), cmsdt::LHC_CLK_FREQ, LogDebug, lut_sl1, lut_sl2, lut_sl3, MuonPathFitter::max_drift_tdc, NUM_LAYERS, or, phi, PV3DBase< T, PVType, FrameType >::phi(), cmsdt::PHI_CONV, funct::pow(), cmsdt::PRECISSION_SL_POSITION, cmsdt::PRECISSION_SL_SLOPE, cmsdt::PRECISSION_SL_T0, cmsdt::PROD_RESIZE_SL2_POSITION, cmsdt::PROD_RESIZE_SL_POSITION, cmsdt::PROD_RESIZE_SL_SLOPE, cmsdt::PROD_RESIZE_SL_T0, quality, DetId::rawId(), MuonPathFitter::RomDataConvert(), MuonPathFitter::shiftinfo_, shiftthetainfo_, cmsdt::SL1_CELLS_OFFSET, DTLayer::specificTopology(), mathSSE::sqrt(), DTGeometry::superLayer(), MuonPathFitter::tanPhiTh_, cmsdt::TIME_TO_TDC_COUNTS, GeomDet::toGlobal(), GeomDet::toLocal(), cmsdt::VERT_PHI1_PHI3, cmsdt::WIDTH_COARSED_TIME, cmsdt::WIDTH_FULL_TIME, cmsdt::WIREPOS_NORM_LSB_IGNORED, cmsdt::WIREPOS_WIDTH, DTTopology::wirePosition(), l1tPFClustersFromHGC3DClusters_cfi::wp, x, PV3DBase< T, PVType, FrameType >::x(), cmsdt::XI_SL_WIDTH, y, z, and cmsdt::Z_SHIFT_MB4.
Referenced by run().
|
private |
Definition at line 444 of file MuonPathSLFitter.cc.
References edm::FileInPath::fullPath(), mps_fire::i, mps_splice::line, lut_sl1, lut_sl2, lut_sl3, groupFilesInBlocks::reverse, sl1_filename_, sl2_filename_, sl3_filename_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by MuonPathSLFitter().
|
overridevirtual |
Reimplemented from MuonPathAnalyzer.
Definition at line 87 of file MuonPathSLFitter.cc.
References MuonPathFitter::debug_, and LogDebug.
Referenced by progressbar.ProgressBar::__next__().
|
private |
Definition at line 488 of file MuonPathSLFitter.cc.
References groupFilesInBlocks::reverse, and vhdl_unsigned_to_int().
Referenced by analyze().
|
overridevirtual |
Reimplemented from MuonPathAnalyzer.
Definition at line 52 of file MuonPathSLFitter.cc.
References MuonPathFitter::debug_, MuonPathFitter::dtGeo_, MuonPathFitter::dtGeomH, relativeConstraints::geom, edm::EventSetup::getHandle(), and LogDebug.
|
inlineoverridevirtual |
|
overridevirtual |
Implements MuonPathAnalyzer.
Definition at line 60 of file MuonPathSLFitter.cc.
References analyze(), MuonPathFitter::debug_, mps_fire::i, LogDebug, MuonPathFitter::max_drift_tdc, MuonPathFitter::maxdriftinfo_, nano_mu_digi_cff::rawId, DTChamberId::sector(), DTChamberId::station(), and DTChamberId::wheel().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
private |
Definition at line 64 of file MuonPathSLFitter.h.
Referenced by analyze(), and fillLuts().
|
private |
Definition at line 65 of file MuonPathSLFitter.h.
Referenced by analyze(), and fillLuts().
|
private |
Definition at line 66 of file MuonPathSLFitter.h.
Referenced by analyze(), and fillLuts().
edm::FileInPath MuonPathSLFitter::shift_theta_filename_ |
Definition at line 47 of file MuonPathSLFitter.h.
Referenced by MuonPathSLFitter().
std::map<int, float> MuonPathSLFitter::shiftthetainfo_ |
Definition at line 48 of file MuonPathSLFitter.h.
Referenced by analyze(), and MuonPathSLFitter().
edm::FileInPath MuonPathSLFitter::sl1_filename_ |
Definition at line 51 of file MuonPathSLFitter.h.
Referenced by fillLuts(), and MuonPathSLFitter().
edm::FileInPath MuonPathSLFitter::sl2_filename_ |
Definition at line 52 of file MuonPathSLFitter.h.
Referenced by fillLuts(), and MuonPathSLFitter().
edm::FileInPath MuonPathSLFitter::sl3_filename_ |
Definition at line 53 of file MuonPathSLFitter.h.
Referenced by fillLuts(), and MuonPathSLFitter().