#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) | |
void | run (edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, MuonPathPtrs &outMPath) override |
void | run (edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector< cmsdt::metaPrimitive > &metaPrimitives) 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 | |
const DTGeometry * | 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[NLayers]) |
void | evaluateQuality (MuonPathPtr &mPath) |
void | setCellLayout (MuonPathPtr &mpath) |
void | setLateralitiesInMP (MuonPathPtr &mpath, TLateralities lat) |
void | setWirePosAndTimeInMP (MuonPathPtr &mpath) |
Private Attributes | |
int | bxTolerance_ |
int | cellLayout_ [NLayers] |
double | chi2Th_ |
float | chiSquareThreshold_ |
bool | debug_ |
std::vector< TLateralities > | lateralities_ |
std::vector< cmsdt::LATQ_TYPE > | latQuality_ |
short | minHits4Fit_ |
cmsdt::MP_QUALITY | minQuality_ |
edm::FileInPath | shift_filename_ |
int | totalNumValLateralities_ |
Definition at line 17 of file MuonPathAnalyzerInChamber.h.
MuonPathAnalyzerInChamber::MuonPathAnalyzerInChamber | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 11 of file MuonPathAnalyzerInChamber.cc.
References edm::BeginRun, chi2Th_, debug_, dtGeomH, edm::ConsumesCollector::esConsumes(), Exception, edm::FileInPath::fullPath(), LogDebug, setChiSquareThreshold(), edm::shift, shift_filename_, and shiftinfo_.
|
override |
|
private |
Definition at line 80 of file MuonPathAnalyzerInChamber.cc.
References buildLateralities(), calculateFitParameters(), DTGeometry::chamber(), chiSquareThreshold_, debug_, dtGeo_, evaluateQuality(), hasPosRF(), mps_fire::i, cuy::ii, lateralities_, LogDebug, minHits4Fit_, minQuality_, eostools::move(), cmsdt::NUM_LAYERS_2SL, phi, cmsdt::PHI_CONV, DTChamberId::sector(), setWirePosAndTimeInMP(), DTChamberId::station(), DTSuperLayerId::superLayer(), GeomDet::toGlobal(), totalNumValLateralities_, 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 210 of file MuonPathAnalyzerInChamber.cc.
References filterCSVwithJSON::copy, debug_, createfilelist::int, lateralities_, latQuality_, cmsdt::LEFT, LogDebug, NONE, cmsdt::RIGHT, and totalNumValLateralities_.
Referenced by analyze().
|
inline |
|
private |
Definition at line 336 of file MuonPathAnalyzerInChamber.cc.
References funct::abs(), b, debug_, cmsdt::DRIFT_SPEED, mps_fire::i, LogDebug, cmsdt::NUM_LAYERS_2SL, and setLateralitiesInMP().
Referenced by analyze().
|
private |
Definition at line 529 of file MuonPathAnalyzerInChamber.cc.
References cmsdt::CHIGHQ, cmsdt::CLOWQ, cmsdt::HIGHHIGHQ, cmsdt::HIGHLOWQ, cmsdt::HIGHQ, cmsdt::LOWLOWQ, cmsdt::LOWQ, and cmsdt::NOPATH.
Referenced by analyze().
|
overridevirtual |
Reimplemented from MuonPathAnalyzer.
Definition at line 72 of file MuonPathAnalyzerInChamber.cc.
References debug_, and LogDebug.
Referenced by progressbar.ProgressBar::__next__().
|
inline |
Definition at line 49 of file MuonPathAnalyzerInChamber.h.
References fileinputsource_cfi::sec.
Referenced by analyze().
|
overridevirtual |
Reimplemented from MuonPathAnalyzer.
Definition at line 51 of file MuonPathAnalyzerInChamber.cc.
References debug_, dtGeo_, dtGeomH, relativeConstraints::geom, edm::EventSetup::get(), and LogDebug.
|
inline |
|
inline |
|
overridevirtual |
|
inlineoverridevirtual |
|
inline |
Definition at line 37 of file MuonPathAnalyzerInChamber.h.
References bxTolerance_, and submitPVValidationJobs::t.
|
private |
Definition at line 189 of file MuonPathAnalyzerInChamber.cc.
References cellLayout_, and mps_fire::i.
|
inline |
Definition at line 39 of file MuonPathAnalyzerInChamber.h.
References chiSquareThreshold_.
Referenced by MuonPathAnalyzerInChamber().
|
private |
Definition at line 279 of file MuonPathAnalyzerInChamber.cc.
References mps_fire::i, cmsdt::NUM_LAYERS_2SL, and createJobs::tmp.
Referenced by calculateFitParameters().
|
inline |
|
inline |
Definition at line 40 of file MuonPathAnalyzerInChamber.h.
References cmsdt::LOWQGHOST, minQuality_, and submitPVResolutionJobs::q.
|
private |
Definition at line 286 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 76 of file MuonPathAnalyzerInChamber.h.
Referenced by bxTolerance(), and setBxTolerance().
|
private |
Definition at line 80 of file MuonPathAnalyzerInChamber.h.
Referenced by setCellLayout().
|
private |
Definition at line 74 of file MuonPathAnalyzerInChamber.h.
Referenced by MuonPathAnalyzerInChamber().
|
private |
Definition at line 78 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), and setChiSquareThreshold().
|
private |
Definition at line 73 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), buildLateralities(), calculateFitParameters(), finish(), initialise(), MuonPathAnalyzerInChamber(), run(), setWirePosAndTimeInMP(), and ~MuonPathAnalyzerInChamber().
const DTGeometry* MuonPathAnalyzerInChamber::dtGeo_ |
Definition at line 49 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), and initialise().
edm::ESGetToken<DTGeometry, MuonGeometryRecord> MuonPathAnalyzerInChamber::dtGeomH |
Definition at line 53 of file MuonPathAnalyzerInChamber.h.
Referenced by initialise(), and MuonPathAnalyzerInChamber().
|
private |
Definition at line 70 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), and buildLateralities().
|
private |
Definition at line 71 of file MuonPathAnalyzerInChamber.h.
Referenced by buildLateralities().
|
private |
Definition at line 79 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), minHits4Fit(), and setMinHits4Fit().
|
private |
Definition at line 77 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), minQuality(), and setMinimumQuality().
|
private |
Definition at line 75 of file MuonPathAnalyzerInChamber.h.
Referenced by MuonPathAnalyzerInChamber().
std::map<int, float> MuonPathAnalyzerInChamber::shiftinfo_ |
Definition at line 56 of file MuonPathAnalyzerInChamber.h.
Referenced by MuonPathAnalyzerInChamber(), and setWirePosAndTimeInMP().
|
private |
Definition at line 69 of file MuonPathAnalyzerInChamber.h.
Referenced by analyze(), and buildLateralities().