#include <MuonPathFitter.h>
Public Member Functions | |
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 | |
virtual void | finish () |
virtual void | initialise (const edm::EventSetup &iEventSetup) |
MuonPathAnalyzer (const edm::ParameterSet &pset, edm::ConsumesCollector &iC) | |
virtual void | run (edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector< cmsdt::metaPrimitive > &metaPrimitives)=0 |
virtual void | run (edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector< lat_vector > &lateralities, std::vector< cmsdt::metaPrimitive > &metaPrimitives)=0 |
virtual void | run (edm::Event &iEvent, const edm::EventSetup &iEventSetup, std::vector< cmsdt::metaPrimitive > &inMPaths, std::vector< cmsdt::metaPrimitive > &outMPaths)=0 |
virtual void | run (edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, MuonPathPtrs &outMPath)=0 |
virtual | ~MuonPathAnalyzer () |
Public Attributes | |
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_ |
Definition at line 52 of file MuonPathFitter.h.
MuonPathFitter::MuonPathFitter | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | iC, | ||
std::shared_ptr< GlobalCoordsObtainer > & | globalcoordsobtainer | ||
) |
Definition at line 12 of file MuonPathFitter.cc.
References edm::BeginRun, debug_, dtGeomH, edm::ConsumesCollector::esConsumes(), Exception, edm::FileInPath::fullPath(), globalcoordsobtainer_, LogDebug, maxdrift_filename_, maxdriftinfo_, muonDTDigis_cfi::pset, nano_mu_digi_cff::rawId, edm::shift, shift_filename_, and shiftinfo_.
|
override |
fit_common_out_t MuonPathFitter::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 | ||
) |
Definition at line 62 of file MuonPathFitter.cc.
References funct::abs(), cmsdt::CELL_SEMILENGTH, fit_common_out_t::chi2, nano_mu_local_reco_cff::chi2, chi2Th_, fit_common_in_t::coarse_bctr, fit_common_in_t::coarse_wirepos, fit_common_in_t::coeffs, fit_common_in_t::hits, fit_common_in_t::hits_valid, mps_fire::i, createfilelist::int, fit_common_in_t::lateralities, NUM_LAYERS, coeffs_t::position, fit_common_out_t::position, position, funct::pow(), slope, coeffs_t::slope, fit_common_out_t::slope, coeffs_t::t0, fit_common_out_t::t0, FrontierCondition_GT_autoExpress_cfi::t0, cmsdt::T0_CUT_TOLERANCE, fit_common_out_t::valid_fit, vhdl_int_to_signed(), vhdl_int_to_unsigned(), vhdl_resize_signed(), vhdl_resize_signed_ok(), vhdl_resize_unsigned(), vhdl_resize_unsigned_ok(), vhdl_signed_to_int(), cmsdt::WIDTH_COARSED_TIME, cmsdt::WIDTH_DIFBX, cmsdt::WIDTH_FULL_TIME, cmsdt::WIREPOS_NORM_LSB_IGNORED, and cmsdt::WIREPOS_WIDTH.
Referenced by MuonPathSLFitter::analyze(), MuonPathCorFitter::analyze(), and trackingPlots.Iteration::modules().
int MuonPathFitter::get_rom_addr | ( | MuonPathPtr & | inMPath, |
latcomb | lats | ||
) |
|
inline |
Definition at line 70 of file MuonPathFitter.h.
References fileinputsource_cfi::sec.
Referenced by MuonPathSLFitter::analyze(), and MuonPathCorFitter::analyze().
coeffs_t MuonPathFitter::RomDataConvert | ( | std::vector< int > | slv, |
short | COEFF_WIDTH_T0, | ||
short | COEFF_WIDTH_POSITION, | ||
short | COEFF_WIDTH_SLOPE, | ||
short | LOLY, | ||
short | HILY | ||
) |
Definition at line 372 of file MuonPathFitter.cc.
References dqmiodatasetharvest::ctr, cmsdt::GENERIC_COEFF_WIDTH, mps_fire::i, vhdl_resize_unsigned(), and vhdl_slice().
Referenced by MuonPathSLFitter::analyze(), and MuonPathCorFitter::analyze().
|
inline |
Definition at line 71 of file MuonPathFitter.h.
References dtTriggerPhase2PrimitiveDigis_cfi::chi2Th, and chi2Th_.
Referenced by MuonPathCorFitter::MuonPathCorFitter(), and MuonPathSLFitter::MuonPathSLFitter().
|
inline |
Definition at line 72 of file MuonPathFitter.h.
References dtTriggerPhase2PrimitiveDigis_cfi::tanPhiTh, and tanPhiTh_.
Referenced by MuonPathCorFitter::MuonPathCorFitter(), and MuonPathSLFitter::MuonPathSLFitter().
double MuonPathFitter::chi2Th_ |
Definition at line 104 of file MuonPathFitter.h.
Referenced by fit(), and setChi2Th().
const bool MuonPathFitter::debug_ |
Definition at line 103 of file MuonPathFitter.h.
Referenced by MuonPathSLFitter::finish(), MuonPathCorFitter::finish(), MuonPathSLFitter::initialise(), MuonPathCorFitter::initialise(), MuonPathCorFitter::MuonPathCorFitter(), MuonPathFitter(), MuonPathSLFitter::MuonPathSLFitter(), MuonPathSLFitter::run(), MuonPathCorFitter::run(), MuonPathCorFitter::~MuonPathCorFitter(), ~MuonPathFitter(), and MuonPathSLFitter::~MuonPathSLFitter().
DTGeometry const* MuonPathFitter::dtGeo_ |
Definition at line 72 of file MuonPathFitter.h.
Referenced by MuonPathSLFitter::analyze(), MuonPathCorFitter::analyze(), MuonPathSLFitter::initialise(), and MuonPathCorFitter::initialise().
edm::ESGetToken<DTGeometry, MuonGeometryRecord> MuonPathFitter::dtGeomH |
Definition at line 76 of file MuonPathFitter.h.
Referenced by MuonPathSLFitter::initialise(), MuonPathCorFitter::initialise(), and MuonPathFitter().
std::shared_ptr<GlobalCoordsObtainer> MuonPathFitter::globalcoordsobtainer_ |
Definition at line 107 of file MuonPathFitter.h.
Referenced by MuonPathSLFitter::analyze(), MuonPathCorFitter::analyze(), and MuonPathFitter().
int MuonPathFitter::max_drift_tdc = -1 |
Definition at line 85 of file MuonPathFitter.h.
Referenced by MuonPathSLFitter::analyze(), MuonPathCorFitter::analyze(), MuonPathSLFitter::run(), and MuonPathCorFitter::run().
edm::FileInPath MuonPathFitter::maxdrift_filename_ |
Definition at line 83 of file MuonPathFitter.h.
Referenced by MuonPathFitter().
int MuonPathFitter::maxdriftinfo_[5][4][14] |
Definition at line 84 of file MuonPathFitter.h.
Referenced by MuonPathFitter(), MuonPathSLFitter::run(), and MuonPathCorFitter::run().
edm::FileInPath MuonPathFitter::shift_filename_ |
Definition at line 79 of file MuonPathFitter.h.
Referenced by MuonPathFitter().
std::map<int, float> MuonPathFitter::shiftinfo_ |
Definition at line 80 of file MuonPathFitter.h.
Referenced by MuonPathSLFitter::analyze(), MuonPathCorFitter::analyze(), and MuonPathFitter().
double MuonPathFitter::tanPhiTh_ |
Definition at line 102 of file MuonPathFitter.h.
Referenced by MuonPathSLFitter::analyze(), MuonPathCorFitter::analyze(), and setTanPhiTh().