#include <MuonPathAssociator.h>
Public Member Functions | |
void | finish () |
void | initialise (const edm::EventSetup &iEventSetup) |
bool | isNotAPrimo (cmsdt::metaPrimitive first, cmsdt::metaPrimitive second) |
MuonPathAssociator (const edm::ParameterSet &pset, edm::ConsumesCollector &iC, std::shared_ptr< GlobalCoordsObtainer > &globalcoordsobtainer) | |
void | printmPC (cmsdt::metaPrimitive mP) |
void | removeSharingFits (std::vector< cmsdt::metaPrimitive > &chamberMPaths, std::vector< cmsdt::metaPrimitive > &allMPaths) |
void | removeSharingHits (std::vector< cmsdt::metaPrimitive > &firstMPaths, std::vector< cmsdt::metaPrimitive > &secondMPaths, std::vector< cmsdt::metaPrimitive > &allMPaths) |
void | run (edm::Event &iEvent, const edm::EventSetup &iEventSetup, edm::Handle< DTDigiCollection > digis, std::vector< cmsdt::metaPrimitive > &inMPaths, std::vector< cmsdt::metaPrimitive > &outMPaths) |
bool | shareFit (cmsdt::metaPrimitive first, cmsdt::metaPrimitive second) |
~MuonPathAssociator () | |
Public Attributes | |
DTGeometry const * | dtGeo_ |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | dtGeomH_ |
Private Member Functions | |
void | correlateMPaths (edm::Handle< DTDigiCollection > digis, std::vector< cmsdt::metaPrimitive > &inMPaths, std::vector< cmsdt::metaPrimitive > &outMPaths) |
bool | hasPosRF (int wh, int sec) |
Private Attributes | |
bool | allow_confirmation_ |
double | chi2corTh_ |
bool | clean_chi2_correlation_ |
double | dBX_correlate_TP_ |
const bool | debug_ |
double | dT0_correlate_TP_ |
double | dTanPsi_correlate_TP_ |
std::shared_ptr< GlobalCoordsObtainer > | globalcoordsobtainer_ |
double | minx_match_2digis_ |
edm::FileInPath | shift_filename_ |
std::map< int, float > | shiftinfo_ |
bool | useBX_correlation_ |
Definition at line 35 of file MuonPathAssociator.h.
MuonPathAssociator::MuonPathAssociator | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | iC, | ||
std::shared_ptr< GlobalCoordsObtainer > & | globalcoordsobtainer | ||
) |
Definition at line 13 of file MuonPathAssociator.cc.
References edm::BeginRun, debug_, dtGeomH_, edm::ConsumesCollector::esConsumes(), Exception, edm::FileInPath::fullPath(), globalcoordsobtainer_, LogDebug, muonDTDigis_cfi::pset, nano_mu_digi_cff::rawId, edm::shift, shift_filename_, and shiftinfo_.
MuonPathAssociator::~MuonPathAssociator | ( | ) |
|
private |
Definition at line 81 of file MuonPathAssociator.cc.
References funct::abs(), allow_confirmation_, cmsdt::CELL_HEIGHT, cmsdt::CELL_LENGTH, cmsdt::CELL_SEMILENGTH, cmsdt::CH_CENTER_TO_MID_SL_X2, DTGeometry::chamber(), isoTrack_cff::chi2, chi2corTh_, IntegrityClient_cfi::ChId, cmsdt::CHIGHQ, clean_chi2_correlation_, cmsdt::CLOWQ, dBX_correlate_TP_, debug_, cmsdt::DRIFT_SPEED, cmsdt::DRIFT_SPEED_X4, dT0_correlate_TP_, dTanPsi_correlate_TP_, dtGeo_, globalcoordsobtainer_, hasPosRF(), cmsdt::HIGHHIGHQ, cmsdt::HIGHLOWQ, cmsdt::HIGHQ, mps_fire::i, cmsdt::INCREASED_RES_POS, cmsdt::INCREASED_RES_POS_POW, cmsdt::INCREASED_RES_SLOPE_POW, createfilelist::int, isNotAPrimo(), DTLayerId::layer(), cmsdt::LHC_CLK_FREQ, LogDebug, cmsdt::LOWLOWQ, cmsdt::LOWQ, minx_match_2digis_, NUM_LAYERS, cmsdt::NUM_LAYERS_2SL, convertSQLiteXML::ok, or, phi, PV3DBase< T, PVType, FrameType >::phi(), cmsdt::PHI_CONV, funct::pow(), printmPC(), quality, DetId::rawId(), removeSharingFits(), removeSharingHits(), edm::second(), DTChamberId::sector(), edm::shift, shiftinfo_, Validation_hcalonly_cfi::sign, DTChamberId::station(), DTSuperLayerId::superLayer(), GeomDet::toGlobal(), useBX_correlation_, cmsdt::VERT_PHI1_PHI3, cmsdt::VERT_PHI1_PHI3_INV, DTChamberId::wheel(), cmsdt::X_POS_L3, cmsdt::X_POS_L4, z, and cmsdt::Z_SHIFT_MB4.
Referenced by run().
void MuonPathAssociator::finish | ( | ) |
Definition at line 76 of file MuonPathAssociator.cc.
References debug_, and LogDebug.
Referenced by progressbar.ProgressBar::__next__().
|
inlineprivate |
Definition at line 74 of file MuonPathAssociator.h.
References fileinputsource_cfi::sec.
Referenced by correlateMPaths().
void MuonPathAssociator::initialise | ( | const edm::EventSetup & | iEventSetup | ) |
Definition at line 56 of file MuonPathAssociator.cc.
References debug_, dtGeo_, dtGeomH_, relativeConstraints::geom, edm::EventSetup::getHandle(), and LogDebug.
bool MuonPathAssociator::isNotAPrimo | ( | cmsdt::metaPrimitive | first, |
cmsdt::metaPrimitive | second | ||
) |
Definition at line 1100 of file MuonPathAssociator.cc.
References dqmdumpme::first, and edm::second().
Referenced by correlateMPaths(), and removeSharingHits().
void MuonPathAssociator::printmPC | ( | cmsdt::metaPrimitive | mP | ) |
Definition at line 1116 of file MuonPathAssociator.cc.
References cmsdt::metaPrimitive::chi2, IntegrityClient_cfi::ChId, cmsdt::metaPrimitive::lat1, cmsdt::metaPrimitive::lat2, cmsdt::metaPrimitive::lat3, cmsdt::metaPrimitive::lat4, cmsdt::metaPrimitive::lat5, cmsdt::metaPrimitive::lat6, cmsdt::metaPrimitive::lat7, cmsdt::metaPrimitive::lat8, LogDebug, cmsdt::metaPrimitive::rawId, cmsdt::metaPrimitive::t0, cmsdt::metaPrimitive::tanPhi, cmsdt::metaPrimitive::tdc1, cmsdt::metaPrimitive::tdc2, cmsdt::metaPrimitive::tdc3, cmsdt::metaPrimitive::tdc4, cmsdt::metaPrimitive::tdc5, cmsdt::metaPrimitive::tdc6, cmsdt::metaPrimitive::tdc7, cmsdt::metaPrimitive::tdc8, cmsdt::metaPrimitive::wi1, cmsdt::metaPrimitive::wi2, cmsdt::metaPrimitive::wi3, cmsdt::metaPrimitive::wi4, cmsdt::metaPrimitive::wi5, cmsdt::metaPrimitive::wi6, cmsdt::metaPrimitive::wi7, cmsdt::metaPrimitive::wi8, and cmsdt::metaPrimitive::x.
Referenced by correlateMPaths(), removeSharingFits(), and removeSharingHits().
void MuonPathAssociator::removeSharingFits | ( | std::vector< cmsdt::metaPrimitive > & | chamberMPaths, |
std::vector< cmsdt::metaPrimitive > & | allMPaths | ||
) |
Definition at line 1003 of file MuonPathAssociator.cc.
References debug_, dqmdumpme::first, mps_fire::i, dqmiolumiharvest::j, LogDebug, printmPC(), edm::second(), shareFit(), and DMR_cfg::useFit.
Referenced by correlateMPaths().
void MuonPathAssociator::removeSharingHits | ( | std::vector< cmsdt::metaPrimitive > & | firstMPaths, |
std::vector< cmsdt::metaPrimitive > & | secondMPaths, | ||
std::vector< cmsdt::metaPrimitive > & | allMPaths | ||
) |
Definition at line 1045 of file MuonPathAssociator.cc.
References debug_, isNotAPrimo(), LogDebug, convertSQLiteXML::ok, and printmPC().
Referenced by correlateMPaths().
void MuonPathAssociator::run | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iEventSetup, | ||
edm::Handle< DTDigiCollection > | digis, | ||
std::vector< cmsdt::metaPrimitive > & | inMPaths, | ||
std::vector< cmsdt::metaPrimitive > & | outMPaths | ||
) |
Definition at line 64 of file MuonPathAssociator.cc.
References correlateMPaths(), and dT0_correlate_TP_.
bool MuonPathAssociator::shareFit | ( | cmsdt::metaPrimitive | first, |
cmsdt::metaPrimitive | second | ||
) |
Definition at line 1076 of file MuonPathAssociator.cc.
References dqmdumpme::first, and edm::second().
Referenced by removeSharingFits().
|
private |
Definition at line 80 of file MuonPathAssociator.h.
Referenced by correlateMPaths().
|
private |
Definition at line 85 of file MuonPathAssociator.h.
Referenced by correlateMPaths().
|
private |
Definition at line 78 of file MuonPathAssociator.h.
Referenced by correlateMPaths().
|
private |
Definition at line 82 of file MuonPathAssociator.h.
Referenced by correlateMPaths().
|
private |
Definition at line 77 of file MuonPathAssociator.h.
Referenced by correlateMPaths(), finish(), initialise(), MuonPathAssociator(), removeSharingFits(), removeSharingHits(), and ~MuonPathAssociator().
|
private |
Definition at line 81 of file MuonPathAssociator.h.
Referenced by correlateMPaths(), and run().
|
private |
Definition at line 83 of file MuonPathAssociator.h.
Referenced by correlateMPaths().
DTGeometry const* MuonPathAssociator::dtGeo_ |
Definition at line 65 of file MuonPathAssociator.h.
Referenced by correlateMPaths(), and initialise().
edm::ESGetToken<DTGeometry, MuonGeometryRecord> MuonPathAssociator::dtGeomH_ |
Definition at line 66 of file MuonPathAssociator.h.
Referenced by initialise(), and MuonPathAssociator().
|
private |
Definition at line 92 of file MuonPathAssociator.h.
Referenced by correlateMPaths(), and MuonPathAssociator().
|
private |
Definition at line 84 of file MuonPathAssociator.h.
Referenced by correlateMPaths().
|
private |
Definition at line 88 of file MuonPathAssociator.h.
Referenced by MuonPathAssociator().
|
private |
Definition at line 89 of file MuonPathAssociator.h.
Referenced by correlateMPaths(), and MuonPathAssociator().
|
private |
Definition at line 79 of file MuonPathAssociator.h.
Referenced by correlateMPaths().