#include <MuonPathAnalyzerInChamber.h>
Public Member Functions | |
int | bxTolerance (void) |
void | finish () override |
bool | hasPosRF (int wh, int sec) |
void | initialise (const edm::EventSetup &iEventSetup) override |
int | minHits4Fit (void) |
cmsdt::MP_QUALITY | minQuality (void) |
MuonPathAnalyzerInChamber (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 |
void | setBxTolerance (int t) |
void | setChiSquareThreshold (float ch2Thr) |
void | setMinHits4Fit (int h) |
void | setMinimumQuality (cmsdt::MP_QUALITY q) |
~MuonPathAnalyzerInChamber () override | |
Public Member Functions inherited from MuonPathAnalyzer | |
MuonPathAnalyzer (const edm::ParameterSet &pset, edm::ConsumesCollector &iC) | |
virtual | ~MuonPathAnalyzer () |
Public Attributes | |
DTGeometry const * | dtGeo_ |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | dtGeomH |
std::map< int, float > | shiftinfo_ |
Private Member Functions | |
void | analyze (MuonPathPtr &inMPath, MuonPathPtrs &outMPaths) |
void | buildLateralities (MuonPathPtr &mpath) |
void | calculateFitParameters (MuonPathPtr &mpath, TLateralities lat, int present_layer[cmsdt::NUM_LAYERS_2SL], int &lat_added) |
void | evaluateQuality (MuonPathPtr &mPath) |
void | setCellLayout (MuonPathPtr &mpath) |
void | setLateralitiesInMP (MuonPathPtr &mpath, TLateralities lat) |
void | setWirePosAndTimeInMP (MuonPathPtr &mpath) |
Private Attributes | |
int | bxTolerance_ |
int | cellLayout_ [cmsdt::NUM_LAYERS_2SL] |
double | chi2Th_ |
float | chiSquareThreshold_ |
const bool | debug_ |
std::shared_ptr< GlobalCoordsObtainer > | globalcoordsobtainer_ |
std::vector< TLateralities > | lateralities_ |
std::vector< cmsdt::LATQ_TYPE > | latQuality_ |
short | minHits4Fit_ |
cmsdt::MP_QUALITY | minQuality_ |
edm::FileInPath | shift_filename_ |
bool | splitPathPerSL_ |
int | totalNumValLateralities_ |
Definition at line 16 of file MuonPathAnalyzerInChamber.h.
MuonPathAnalyzerInChamber::MuonPathAnalyzerInChamber | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | iC, | ||
std::shared_ptr< GlobalCoordsObtainer > & | globalcoordsobtainer | ||
) |
Definition at line 12 of file MuonPathAnalyzerInChamber.cc.
References edm::BeginRun, chi2Th_, debug_, dtGeomH, edm::ConsumesCollector::esConsumes(), Exception, edm::FileInPath::fullPath(), globalcoordsobtainer_, LogDebug, nano_mu_digi_cff::rawId, setChiSquareThreshold(), edm::shift, shift_filename_, and shiftinfo_.
|
override |
|
private |
Definition at line 127 of file MuonPathAnalyzerInChamber.cc.
References buildLateralities(), calculateFitParameters(), DTGeometry::chamber(), IntegrityClient_cfi::ChId, chiSquareThreshold_, debug_, dtGeo_, evaluateQuality(), globalcoordsobtainer_, hasPosRF(), mps_fire::i, cuy::ii, cmsdt::INCREASED_RES_POS_POW, cmsdt::INCREASED_RES_SLOPE_POW, createfilelist::int, edm::isNotFinite(), lateralities_, LogDebug, minHits4Fit_, minQuality_, eostools::move(), cmsdt::NUM_LAYERS_2SL, phi, PV3DBase< T, PVType, FrameType >::phi(), cmsdt::PHI_CONV, DetId::rawId(), DTChamberId::sector(), setWirePosAndTimeInMP(), shiftinfo_, DTChamberId::station(), DTSuperLayerId::superLayer(), GeomDet::toGlobal(), DTChamberId::wheel(), z, and cmsdt::Z_SHIFT_MB4.
Referenced by run().
|
private |
For a combination of up to 8 cells, build all the lateralities to be tested,
Definition at line 338 of file MuonPathAnalyzerInChamber.cc.
References filterCSVwithJSON::copy, debug_, createfilelist::int, lateralities_, latQuality_, cmsdt::LEFT, LogDebug, NONE, cmsdt::NUM_LAYERS_2SL, cmsdt::RIGHT, and totalNumValLateralities_.
Referenced by analyze().
|
inline |
|
private |
Definition at line 464 of file MuonPathAnalyzerInChamber.cc.
References funct::abs(), b, debug_, cmsdt::DRIFT_SPEED, mps_fire::i, createfilelist::int, dqmiolumiharvest::j, dqmdumpme::k, MainPageGenerator::l, lateralities_, cmsdt::LEFT, LogDebug, cmsdt::NUM_LAYERS_2SL, cmsdt::RIGHT, setLateralitiesInMP(), and edm::swap().
Referenced by analyze().
|
private |
Definition at line 718 of file MuonPathAnalyzerInChamber.cc.
References cmsdt::CHIGHQ, cmsdt::CLOWQ, cmsdt::HIGHHIGHQ, cmsdt::HIGHLOWQ, cmsdt::HIGHQ, mps_fire::i, cmsdt::LOWLOWQ, cmsdt::LOWQ, cmsdt::NOPATH, and cmsdt::NUM_LAYERS_2SL.
Referenced by analyze().
|
overridevirtual |
Reimplemented from MuonPathAnalyzer.
Definition at line 119 of file MuonPathAnalyzerInChamber.cc.
References debug_, and LogDebug.
Referenced by progressbar.ProgressBar::__next__().
|
inline |
Definition at line 59 of file MuonPathAnalyzerInChamber.h.
References fileinputsource_cfi::sec.
Referenced by analyze().
|
overridevirtual |
Reimplemented from MuonPathAnalyzer.
Definition at line 56 of file MuonPathAnalyzerInChamber.cc.
References debug_, dtGeo_, dtGeomH, relativeConstraints::geom, edm::EventSetup::getHandle(), and LogDebug.
|
inline |
|
inline |
Definition at line 57 of file MuonPathAnalyzerInChamber.h.
References minQuality_.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Implements MuonPathAnalyzer.
Definition at line 64 of file MuonPathAnalyzerInChamber.cc.
References analyze(), debug_, LogDebug, dqmiodumpmetadata::n, and splitPathPerSL_.
|
inline |
Definition at line 47 of file MuonPathAnalyzerInChamber.h.
References bxTolerance_, and submitPVValidationJobs::t.
|
private |
Definition at line 317 of file MuonPathAnalyzerInChamber.cc.
References cellLayout_, and mps_fire::i.
|
inline |
Definition at line 49 of file MuonPathAnalyzerInChamber.h.
References chiSquareThreshold_.
Referenced by MuonPathAnalyzerInChamber().
|
private |
Definition at line 408 of file MuonPathAnalyzerInChamber.cc.
References mps_fire::i.
Referenced by calculateFitParameters().
|
inline |
Definition at line 48 of file MuonPathAnalyzerInChamber.h.
References h, and minHits4Fit_.
|
inline |
Definition at line 50 of file MuonPathAnalyzerInChamber.h.
References cmsdt::LOWQ, minQuality_, and submitPVResolutionJobs::q.
|
private |
Definition at line 413 of file MuonPathAnalyzerInChamber.cc.
References debug_, dumpMFGeometry_cfg::delta, cmsdt::DRIFT_SPEED, mps_fire::i, LogDebug, cmsdt::NUM_LAYERS_2SL, DetId::rawId(), DTChamberId::sector(), shiftinfo_, DTChamberId::station(), and DTChamberId::wheel().
Referenced by analyze().
|
private |
Definition at line 89 of file MuonPathAnalyzerInChamber.h.
Referenced by bxTolerance(), and setBxTolerance().
|
private |
Definition at line 93 of file MuonPathAnalyzerInChamber.h.
Referenced by setCellLayout().
|
private |
Definition at line 87 of file MuonPathAnalyzerInChamber.h.
Referenced by MuonPathAnalyzerInChamber().
|
private |
Definition at line 91 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), and setChiSquareThreshold().
|
private |
Definition at line 86 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), buildLateralities(), calculateFitParameters(), finish(), initialise(), MuonPathAnalyzerInChamber(), run(), setWirePosAndTimeInMP(), and ~MuonPathAnalyzerInChamber().
DTGeometry const* MuonPathAnalyzerInChamber::dtGeo_ |
Definition at line 59 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), and initialise().
edm::ESGetToken<DTGeometry, MuonGeometryRecord> MuonPathAnalyzerInChamber::dtGeomH |
Definition at line 63 of file MuonPathAnalyzerInChamber.h.
Referenced by initialise(), and MuonPathAnalyzerInChamber().
|
private |
Definition at line 97 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), and MuonPathAnalyzerInChamber().
|
private |
Definition at line 83 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), buildLateralities(), and calculateFitParameters().
|
private |
Definition at line 84 of file MuonPathAnalyzerInChamber.h.
Referenced by buildLateralities().
|
private |
Definition at line 92 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), minHits4Fit(), and setMinHits4Fit().
|
private |
Definition at line 90 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), minQuality(), and setMinimumQuality().
|
private |
Definition at line 88 of file MuonPathAnalyzerInChamber.h.
Referenced by MuonPathAnalyzerInChamber().
std::map<int, float> MuonPathAnalyzerInChamber::shiftinfo_ |
Definition at line 66 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), MuonPathAnalyzerInChamber(), and setWirePosAndTimeInMP().
|
private |
Definition at line 94 of file MuonPathAnalyzerInChamber.h.
Referenced by run().
|
private |
Definition at line 82 of file MuonPathAnalyzerInChamber.h.
Referenced by buildLateralities().