#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 (void) |
Call at end of job. More... | |
void | toTMat (AlgebraicMatrix *, TMatrixD *) |
void | updateInfo (AlgebraicMatrix, AlgebraicMatrix, AlgebraicMatrix, std::string) |
~MuonMillepedeAlgorithm () | |
Destructor. More... | |
Public Member Functions inherited from AlignmentAlgorithmBase | |
AlignmentAlgorithmBase (const edm::ParameterSet &cfg) | |
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 void | setParametersForRunRange (const RunRange &rr) |
virtual void | startNewLoop () |
virtual | ~AlignmentAlgorithmBase () |
Destructor. More... | |
Private Member Functions | |
void | printM (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, and ptCut.
|
inline |
void MuonMillepedeAlgorithm::collect | ( | ) |
Definition at line 84 of file MuonMillepedeAlgorithm.cc.
References collec_f, collec_number, collec_path, getHLTprescales::index, python.multivaluedict::map(), n, python.Node::node, summarizeEdmComparisonLogfiles::objectName, and outputCollName.
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 479 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(), chi2nCut, AlignableNavigator::detAndSubdetInMap(), reco::TrackBase::eta(), eta(), TrajectoryMeasurement::forwardPredictedState(), TrackingRecHit::geographicalId(), GeomDet::geographicalId(), isCollectionJob, TrackingRecHit::isValid(), TrajectoryStateOnSurface::isValid(), Trajectory::measurements(), mergeVDriftHistosByStation::name, reco::TrackBase::normalizedChi2(), reco::TrackBase::numberOfValidHits(), phi, reco::TrackBase::phi(), reco::TrackBase::pt(), ptCut, TrajectoryMeasurement::recHit(), AlignmentParameters::selectedDerivatives(), elec_selection::selection(), AlignmentParameterStore::selectParameters(), theAlignableDetAccessor, theAlignmentParameterStore, testEve_cfg::tracks, AlignmentAlgorithmBase::EventInfo::trajTrackPairs_, and updateInfo().
Referenced by 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 | ( | AlgebraicMatrix | m_invCov, |
AlgebraicMatrix | m_weightRes, | ||
AlgebraicMatrix | m_res, | ||
std::string | id | ||
) |
Definition at line 491 of file MuonMillepedeAlgorithm.cc.
References fs, trackerHits::histo, histoMap, TFileDirectory::make(), map_invCov, map_N, map_weightRes, mergeVDriftHistosByStation::name, and python.Node::node.
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(), and python.diffProv.difference::onefilemodules().