#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, 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 11 of file MuonPathAnalyzerInChamber.cc.
References edm::BeginRun, chi2Th_, debug_, dtGeomH, edm::ConsumesCollector::esConsumes(), Exception, edm::FileInPath::fullPath(), globalcoordsobtainer_, LogDebug, setChiSquareThreshold(), edm::shift, shift_filename_, and shiftinfo_.
|
override |
|
private |
Definition at line 126 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, CommonMethods::isnan(), 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 337 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 463 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 717 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 118 of file MuonPathAnalyzerInChamber.cc.
References debug_, and LogDebug.
Referenced by progressbar.ProgressBar::__next__().
|
inline |
Definition at line 50 of file MuonPathAnalyzerInChamber.h.
References fileinputsource_cfi::sec.
Referenced by analyze().
|
overridevirtual |
Reimplemented from MuonPathAnalyzer.
Definition at line 55 of file MuonPathAnalyzerInChamber.cc.
References debug_, dtGeo_, dtGeomH, relativeConstraints::geom, edm::EventSetup::getHandle(), and LogDebug.
|
inline |
|
inline |
Definition at line 48 of file MuonPathAnalyzerInChamber.h.
References minQuality_.
|
inlineoverridevirtual |
|
overridevirtual |
Implements MuonPathAnalyzer.
Definition at line 63 of file MuonPathAnalyzerInChamber.cc.
References analyze(), debug_, LogDebug, dqmiodumpmetadata::n, and splitPathPerSL_.
|
inline |
Definition at line 38 of file MuonPathAnalyzerInChamber.h.
References bxTolerance_, and submitPVValidationJobs::t.
|
private |
Definition at line 316 of file MuonPathAnalyzerInChamber.cc.
References cellLayout_, and mps_fire::i.
|
inline |
Definition at line 40 of file MuonPathAnalyzerInChamber.h.
References chiSquareThreshold_.
Referenced by MuonPathAnalyzerInChamber().
|
private |
Definition at line 407 of file MuonPathAnalyzerInChamber.cc.
References mps_fire::i.
Referenced by calculateFitParameters().
|
inline |
Definition at line 39 of file MuonPathAnalyzerInChamber.h.
References h, and minHits4Fit_.
|
inline |
Definition at line 41 of file MuonPathAnalyzerInChamber.h.
References cmsdt::LOWQ, minQuality_, and submitPVResolutionJobs::q.
|
private |
Definition at line 412 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 80 of file MuonPathAnalyzerInChamber.h.
Referenced by bxTolerance(), and setBxTolerance().
|
private |
Definition at line 84 of file MuonPathAnalyzerInChamber.h.
Referenced by setCellLayout().
|
private |
Definition at line 78 of file MuonPathAnalyzerInChamber.h.
Referenced by MuonPathAnalyzerInChamber().
|
private |
Definition at line 82 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), and setChiSquareThreshold().
|
private |
Definition at line 77 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), buildLateralities(), calculateFitParameters(), finish(), initialise(), MuonPathAnalyzerInChamber(), run(), setWirePosAndTimeInMP(), and ~MuonPathAnalyzerInChamber().
DTGeometry const* MuonPathAnalyzerInChamber::dtGeo_ |
Definition at line 50 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), and initialise().
edm::ESGetToken<DTGeometry, MuonGeometryRecord> MuonPathAnalyzerInChamber::dtGeomH |
Definition at line 54 of file MuonPathAnalyzerInChamber.h.
Referenced by initialise(), and MuonPathAnalyzerInChamber().
|
private |
Definition at line 88 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), and MuonPathAnalyzerInChamber().
|
private |
Definition at line 74 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), buildLateralities(), and calculateFitParameters().
|
private |
Definition at line 75 of file MuonPathAnalyzerInChamber.h.
Referenced by buildLateralities().
|
private |
Definition at line 83 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), minHits4Fit(), and setMinHits4Fit().
|
private |
Definition at line 81 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), minQuality(), and setMinimumQuality().
|
private |
Definition at line 79 of file MuonPathAnalyzerInChamber.h.
Referenced by MuonPathAnalyzerInChamber().
std::map<int, float> MuonPathAnalyzerInChamber::shiftinfo_ |
Definition at line 57 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), MuonPathAnalyzerInChamber(), and setWirePosAndTimeInMP().
|
private |
Definition at line 85 of file MuonPathAnalyzerInChamber.h.
Referenced by run().
|
private |
Definition at line 73 of file MuonPathAnalyzerInChamber.h.
Referenced by buildLateralities().