#include <MuonMillepedeAlgorithm.h>
Public Member Functions | |
void | collect () |
void | initialize (const edm::EventSetup &setup, AlignableTracker *tracker, AlignableMuon *muon, AlignableExtras *extras, AlignmentParameterStore *store) |
Call at beginning of job. More... | |
MuonMillepedeAlgorithm (const edm::ParameterSet &cfg) | |
Constructor. More... | |
void | run (const edm::EventSetup &setup, const EventInfo &eventInfo) |
Run the algorithm. More... | |
void | terminate (const edm::EventSetup &setup) |
Call at end of job. More... | |
void | toTMat (AlgebraicMatrix *, TMatrixD *) |
void | updateInfo (const AlgebraicMatrix &, const AlgebraicMatrix &, const AlgebraicMatrix &, std::string) |
~MuonMillepedeAlgorithm () | |
Destructor. More... | |
Public Member Functions inherited from AlignmentAlgorithmBase | |
virtual bool | addCalibrations (const Calibrations &) |
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::EventSetup &setup) |
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 | 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 |
std::vector< Alignable * > | 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 |
typedef cond::RealTimeType < cond::runnumber >::type | RunNumber |
typedef std::pair< RunNumber, RunNumber > | RunRange |
Definition at line 20 of file MuonMillepedeAlgorithm.h.
MuonMillepedeAlgorithm::MuonMillepedeAlgorithm | ( | const edm::ParameterSet & | cfg | ) |
Constructor.
Definition at line 36 of file MuonMillepedeAlgorithm.cc.
References chi2nCut, collec_f, collec_number, collec_path, edm::ParameterSet::getParameter(), isCollectionJob, outputCollName, ptCut, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
void MuonMillepedeAlgorithm::collect | ( | ) |
Definition at line 84 of file MuonMillepedeAlgorithm.cc.
References collec_f, collec_number, collec_path, cmsHarvester::index, gen::n, summarizeEdmComparisonLogfiles::objectName, outputCollName, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by terminate().
|
virtual |
Call at beginning of job.
Implements AlignmentAlgorithmBase.
Definition at line 65 of file MuonMillepedeAlgorithm.cc.
References AlignmentParameterStore::alignables(), theAlignableDetAccessor, theAlignables, and theAlignmentParameterStore.
|
private |
Definition at line 480 of file MuonMillepedeAlgorithm.cc.
|
virtual |
Run the algorithm.
Implements AlignmentAlgorithmBase.
Definition at line 232 of file MuonMillepedeAlgorithm.cc.
References CompositeAlignmentParameters::alignableFromAlignableDet(), AlignableNavigator::alignableFromGeomDet(), AlignableNavigator::alignablesFromHits(), Alignable::alignmentParameters(), chi2n, chi2nCut, AlignableNavigator::detAndSubdetInMap(), eta, reco::TrackBase::eta(), TrajectoryMeasurement::forwardPredictedState(), GeomDet::geographicalId(), TrackingRecHit::geographicalId(), isCollectionJob, TrajectoryStateOnSurface::isValid(), TrackingRecHit::isValid(), Trajectory::measurements(), mergeVDriftHistosByStation::name, reco::TrackBase::normalizedChi2(), reco::TrackBase::numberOfValidHits(), phi, reco::TrackBase::phi(), EnergyCorrector::pt, reco::TrackBase::pt(), ptCut, TrajectoryMeasurement::recHit(), AlignmentParameters::selectedDerivatives(), corrVsCorr::selection, AlignmentParameterStore::selectParameters(), AlCaHLTBitMon_QueryRunRegistry::string, theAlignableDetAccessor, theAlignmentParameterStore, testEve_cfg::tracks, AlignmentAlgorithmBase::EventInfo::trajTrackPairs(), and updateInfo().
Referenced by Types.EventID::cppID(), and Types.LuminosityBlockID::cppID().
|
virtual |
Call at end of job.
Implements AlignmentAlgorithmBase.
Definition at line 166 of file MuonMillepedeAlgorithm.cc.
References Alignable::alignmentParameters(), AlignmentParameterStore::applyParameters(), collec_f, collect(), isCollectionJob, map_invCov, map_N, map_weightRes, AlignmentParameters::setValid(), theAlignables, theAlignmentParameterStore, interactiveExample::theFile, and toTMat().
void MuonMillepedeAlgorithm::toTMat | ( | AlgebraicMatrix * | am_mat, |
TMatrixD * | tmat_mat | ||
) |
Definition at line 218 of file MuonMillepedeAlgorithm.cc.
Referenced by terminate().
void MuonMillepedeAlgorithm::updateInfo | ( | const AlgebraicMatrix & | m_invCov, |
const AlgebraicMatrix & | m_weightRes, | ||
const AlgebraicMatrix & | m_res, | ||
std::string | id | ||
) |
Definition at line 492 of file MuonMillepedeAlgorithm.cc.
References fs, timingPdfMaker::histo, histoMap, cutBasedElectronID_PHYS14_PU20bx25_V1_cff::idName, TFileService::make(), map_invCov, map_N, map_weightRes, mergeVDriftHistosByStation::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by run().
|
private |
Definition at line 71 of file MuonMillepedeAlgorithm.h.
Referenced by MuonMillepedeAlgorithm(), and run().
|
private |
Definition at line 78 of file MuonMillepedeAlgorithm.h.
Referenced by collect(), MuonMillepedeAlgorithm(), and terminate().
|
private |
Definition at line 82 of file MuonMillepedeAlgorithm.h.
Referenced by collect(), and MuonMillepedeAlgorithm().
|
private |
Definition at line 81 of file MuonMillepedeAlgorithm.h.
Referenced by collect(), and MuonMillepedeAlgorithm().
|
private |
Definition at line 75 of file MuonMillepedeAlgorithm.h.
Referenced by updateInfo().
|
private |
Definition at line 65 of file MuonMillepedeAlgorithm.h.
Referenced by updateInfo().
|
private |
Definition at line 80 of file MuonMillepedeAlgorithm.h.
Referenced by MuonMillepedeAlgorithm(), run(), and terminate().
|
private |
Definition at line 67 of file MuonMillepedeAlgorithm.h.
Referenced by terminate(), and updateInfo().
|
private |
Definition at line 69 of file MuonMillepedeAlgorithm.h.
Referenced by terminate(), and updateInfo().
|
private |
Definition at line 68 of file MuonMillepedeAlgorithm.h.
Referenced by terminate(), and updateInfo().
|
private |
Definition at line 79 of file MuonMillepedeAlgorithm.h.
Referenced by collect(), and MuonMillepedeAlgorithm().
|
private |
Definition at line 71 of file MuonMillepedeAlgorithm.h.
Referenced by MuonMillepedeAlgorithm(), and run().
|
private |
Definition at line 59 of file MuonMillepedeAlgorithm.h.
Referenced by initialize(), and run().
|
private |
Definition at line 58 of file MuonMillepedeAlgorithm.h.
Referenced by initialize(), and terminate().
|
private |
Definition at line 57 of file MuonMillepedeAlgorithm.h.
Referenced by initialize(), run(), and terminate().
|
private |
Definition at line 62 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().