#include <MuonMillepedeAlgorithm.h>
Public Member Functions | |
void | collect () |
void | initialize (const edm::EventSetup &setup, AlignableTracker *tracker, AlignableMuon *muon, AlignableExtras *extras, AlignmentParameterStore *store) override |
Call at beginning of job. More... | |
MuonMillepedeAlgorithm (const edm::ParameterSet &cfg) | |
Constructor. More... | |
void | run (const edm::EventSetup &setup, const EventInfo &eventInfo) override |
Run the algorithm. More... | |
void | terminate (const edm::EventSetup &setup) override |
Call at end of job. More... | |
void | toTMat (AlgebraicMatrix *, TMatrixD *) |
void | updateInfo (const AlgebraicMatrix &, const AlgebraicMatrix &, const AlgebraicMatrix &, std::string) |
~MuonMillepedeAlgorithm () override | |
Destructor. More... | |
Public Member Functions inherited from AlignmentAlgorithmBase | |
virtual bool | addCalibrations (const Calibrations &) |
bool | addCalibrations (const CalibrationsOwner &cals) |
AlignmentAlgorithmBase (const edm::ParameterSet &) | |
Constructor. More... | |
virtual void | beginLuminosityBlock (const edm::EventSetup &setup) |
called at begin of luminosity block (no lumi block info passed yet) More... | |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &, bool changed) |
called at begin of run More... | |
virtual void | endLuminosityBlock (const edm::EventSetup &setup) |
called at end of luminosity block (no lumi block info passed yet) More... | |
virtual void | endRun (const EndRunInfo &runInfo, const edm::EventSetup &setup) |
called at end of run - order of arguments like in EDProducer etc. More... | |
virtual bool | processesEvents () |
Returns whether algorithm proccesses events in current configuration. More... | |
virtual bool | setParametersForRunRange (const RunRange &rr) |
virtual void | startNewLoop () |
virtual bool | storeAlignments () |
Returns whether algorithm produced results to be stored. More... | |
virtual bool | supportsCalibrations () |
virtual void | terminate () |
Called at end of job (must be implemented in derived class) More... | |
virtual | ~AlignmentAlgorithmBase () |
Destructor. More... | |
Private Member Functions | |
void | printM (const AlgebraicMatrix &) |
Private Attributes | |
double | chi2nCut |
std::string | collec_f |
int | collec_number |
std::string | collec_path |
edm::Service< TFileService > | fs |
std::map< std::string, TH1D * > | histoMap |
bool | isCollectionJob |
std::map< std::string, AlgebraicMatrix * > | map_invCov |
std::map< std::string, AlgebraicMatrix * > | map_N |
std::map< std::string, AlgebraicMatrix * > | map_weightRes |
std::string | outputCollName |
double | ptCut |
AlignableNavigator * | theAlignableDetAccessor |
align::Alignables | theAlignables |
AlignmentParameterStore * | theAlignmentParameterStore |
bool | verbose |
Additional Inherited Members | |
Public Types inherited from AlignmentAlgorithmBase | |
typedef std::pair< const Trajectory *, const reco::Track * > | ConstTrajTrackPair |
typedef std::vector< ConstTrajTrackPair > | ConstTrajTrackPairCollection |
using | RunNumber = align::RunNumber |
using | RunRange = align::RunRange |
Definition at line 19 of file MuonMillepedeAlgorithm.h.
MuonMillepedeAlgorithm::MuonMillepedeAlgorithm | ( | const edm::ParameterSet & | cfg | ) |
Constructor.
Definition at line 34 of file MuonMillepedeAlgorithm.cc.
References looper::cfg, chi2nCut, collec_f, collec_number, collec_path, isCollectionJob, outputCollName, ptCut, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverride |
void MuonMillepedeAlgorithm::collect | ( | ) |
Definition at line 73 of file MuonMillepedeAlgorithm.cc.
References collec_f, collec_number, collec_path, genParticles_cff::map, dqmiodumpmetadata::n, summarizeEdmComparisonLogfiles::objectName, outputCollName, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by terminate().
|
overridevirtual |
Call at beginning of job.
Implements AlignmentAlgorithmBase.
Definition at line 56 of file MuonMillepedeAlgorithm.cc.
References AlignmentParameterStore::alignables(), theAlignableDetAccessor, theAlignables, theAlignmentParameterStore, and PbPb_ZMuSkimMuonDPG_cff::tracker.
|
private |
Definition at line 427 of file MuonMillepedeAlgorithm.cc.
|
overridevirtual |
Run the algorithm.
Implements AlignmentAlgorithmBase.
Definition at line 198 of file MuonMillepedeAlgorithm.cc.
References CompositeAlignmentParameters::alignableFromAlignableDet(), AlignableNavigator::alignableFromGeomDet(), AlignableNavigator::alignablesFromHits(), Alignable::alignmentParameters(), chi2n, chi2nCut, AlignableNavigator::detAndSubdetInMap(), PVValHelper::eta, dumpTauVariables_cfi::eventInfo, TrajectoryMeasurement::forwardPredictedState(), GeomDet::geographicalId(), isCollectionJob, TrajectoryStateOnSurface::isValid(), LogDebug, Trajectory::measurements(), Skims_PA_cff::name, CalibrationSummaryClient_cfi::params, phi, DiDispStaMuonMonitor_cfi::pt, ptCut, TrajectoryMeasurement::recHit(), corrVsCorr::selection, AlignmentParameterStore::selectParameters(), AlCaHLTBitMon_QueryRunRegistry::string, theAlignableDetAccessor, theAlignmentParameterStore, HLT_FULL_cff::track, tracks, and updateInfo().
Referenced by DTWorkflow.DTWorkflow::all(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), and o2olib.O2OTool::execute().
|
overridevirtual |
Call at end of job.
Implements AlignmentAlgorithmBase.
Definition at line 144 of file MuonMillepedeAlgorithm.cc.
References AlignmentParameterStore::applyParameters(), collec_f, collect(), isCollectionJob, map_invCov, map_N, map_weightRes, theAlignables, theAlignmentParameterStore, interactiveExample::theFile, and toTMat().
void MuonMillepedeAlgorithm::toTMat | ( | AlgebraicMatrix * | am_mat, |
TMatrixD * | tmat_mat | ||
) |
void MuonMillepedeAlgorithm::updateInfo | ( | const AlgebraicMatrix & | m_invCov, |
const AlgebraicMatrix & | m_weightRes, | ||
const AlgebraicMatrix & | m_res, | ||
std::string | id | ||
) |
Definition at line 438 of file MuonMillepedeAlgorithm.cc.
References fs, timingPdfMaker::histo, histoMap, versionedElectronIDProducer_cfi::idName, TFileService::make(), map_invCov, map_N, map_weightRes, Skims_PA_cff::name, FastTimerService_cff::range, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by run().
|
private |
Definition at line 65 of file MuonMillepedeAlgorithm.h.
Referenced by MuonMillepedeAlgorithm(), and run().
|
private |
Definition at line 70 of file MuonMillepedeAlgorithm.h.
Referenced by collect(), MuonMillepedeAlgorithm(), and terminate().
|
private |
Definition at line 74 of file MuonMillepedeAlgorithm.h.
Referenced by collect(), and MuonMillepedeAlgorithm().
|
private |
Definition at line 73 of file MuonMillepedeAlgorithm.h.
Referenced by collect(), and MuonMillepedeAlgorithm().
|
private |
Definition at line 68 of file MuonMillepedeAlgorithm.h.
Referenced by updateInfo().
|
private |
Definition at line 59 of file MuonMillepedeAlgorithm.h.
Referenced by updateInfo().
|
private |
Definition at line 72 of file MuonMillepedeAlgorithm.h.
Referenced by MuonMillepedeAlgorithm(), run(), and terminate().
|
private |
Definition at line 61 of file MuonMillepedeAlgorithm.h.
Referenced by terminate(), and updateInfo().
|
private |
Definition at line 63 of file MuonMillepedeAlgorithm.h.
Referenced by terminate(), and updateInfo().
|
private |
Definition at line 62 of file MuonMillepedeAlgorithm.h.
Referenced by terminate(), and updateInfo().
|
private |
Definition at line 71 of file MuonMillepedeAlgorithm.h.
Referenced by collect(), and MuonMillepedeAlgorithm().
|
private |
Definition at line 65 of file MuonMillepedeAlgorithm.h.
Referenced by MuonMillepedeAlgorithm(), and run().
|
private |
Definition at line 53 of file MuonMillepedeAlgorithm.h.
Referenced by initialize(), and run().
|
private |
Definition at line 52 of file MuonMillepedeAlgorithm.h.
Referenced by initialize(), and terminate().
|
private |
Definition at line 51 of file MuonMillepedeAlgorithm.h.
Referenced by initialize(), run(), and terminate().
|
private |
Definition at line 56 of file MuonMillepedeAlgorithm.h.
Referenced by python.diff_provenance.difference::list_diff(), python.diffProv.difference::list_diff(), python.diff_provenance.difference::module_diff(), python.diffProv.difference::module_diff(), python.diff_provenance.difference::onefilemodules(), python.diffProv.difference::onefilemodules(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer::process(), core.SkimAnalyzerCount.SkimAnalyzerCount::process(), objects.VertexAnalyzer.VertexAnalyzer::process(), and confdbOfflineConverter.OfflineConverter::query().