#include <MillePedeAlignmentAlgorithm.h>
Public Member Functions | |
virtual bool | addCalibrations (const std::vector< IntegratedCalibrationBase * > &iCals) override |
Pass integrated calibrations to Millepede (they are not owned by Millepede!) More... | |
virtual void | beginLuminosityBlock (const edm::EventSetup &) override |
called at begin of luminosity block (resets Mille binary in mille mode) More... | |
virtual void | beginRun (const edm::Run &run, const edm::EventSetup &setup, bool changed) override |
called at begin of run More... | |
virtual void | endLuminosityBlock (const edm::EventSetup &) override |
called at end of luminosity block More... | |
virtual void | endRun (const EventInfo &, const EndRunInfo &, const edm::EventSetup &) |
Run on run products, e.g. TkLAS. More... | |
virtual void | endRun (const EndRunInfo &runInfo, const edm::EventSetup &setup) override |
called at end of run - order of arguments like in EDProducer etc. More... | |
virtual void | initialize (const edm::EventSetup &setup, AlignableTracker *tracker, AlignableMuon *muon, AlignableExtras *extras, AlignmentParameterStore *store) override |
Called at beginning of job. More... | |
MillePedeAlignmentAlgorithm (const edm::ParameterSet &cfg) | |
Constructor. More... | |
virtual bool | processesEvents () override |
Returns whether MP should process events in the current configuration. More... | |
virtual void | run (const edm::EventSetup &setup, const EventInfo &eventInfo) override |
Run the algorithm on trajectories and tracks. More... | |
virtual bool | setParametersForRunRange (const RunRange &runrange) override |
virtual bool | storeAlignments () override |
Returns whether MP produced results to be stored. More... | |
virtual bool | storeThresholds (const int &nRecords, const AlignPCLThresholds::threshold_map &thresholdMap) |
virtual bool | supportsCalibrations () override |
Returns whether MP supports calibrations. More... | |
virtual void | terminate (const edm::EventSetup &iSetup) override |
Called at end of job. More... | |
virtual void | terminate () override |
Called at end of job. More... | |
virtual | ~MillePedeAlignmentAlgorithm () |
Destructor. More... | |
Public Member Functions inherited from AlignmentAlgorithmBase | |
virtual bool | addCalibrations (const Calibrations &) |
AlignmentAlgorithmBase (const edm::ParameterSet &) | |
Constructor. More... | |
virtual void | startNewLoop () |
virtual | ~AlignmentAlgorithmBase () |
Destructor. More... | |
Private Types | |
enum | EModeBit { myMilleBit = 1 << 0, myPedeRunBit = 1 << 1, myPedeSteerBit = 1 << 2, myPedeReadBit = 1 << 3 } |
enum | MeasurementDirection { kLocalX = 0, kLocalY } |
Private Member Functions | |
int | addGlobalData (const edm::EventSetup &setup, const EventInfo &eventInfo, const ReferenceTrajectoryBase::ReferenceTrajectoryPtr &refTrajPtr, unsigned int iHit, gbl::GblPoint &gblPoint) |
unsigned int | addHitCount (const std::vector< AlignmentParameters * > &parVec, const std::vector< bool > &validHitVecY) const |
bool | addHits (const std::vector< Alignable * > &alis, const std::vector< AlignmentUserVariables * > &mpVars) const |
bool | addHitStatistics (int fromLoop, const std::string &outFile, const std::vector< std::string > &inFiles) const |
void | addLasBeam (const EventInfo &eventInfo, const TkFittedLasBeam &lasBeam, const std::vector< TrajectoryStateOnSurface > &tsoses) |
void | addLaserData (const EventInfo &eventInfo, const TkFittedLasBeamCollection &tkLasBeams, const TsosVectorCollection &tkLasBeamTsoses) |
int | addMeasurementData (const edm::EventSetup &setup, const EventInfo &eventInfo, const ReferenceTrajectoryBase::ReferenceTrajectoryPtr &refTrajPtr, unsigned int iHit, AlignmentParameters *¶ms) |
void | addPxbSurvey (const edm::ParameterSet &pxbSurveyCfg) |
add measurement data from PXB survey More... | |
std::pair< unsigned int, unsigned int > | addReferenceTrajectory (const edm::EventSetup &setup, const EventInfo &eventInfo, const ReferenceTrajectoryBase::ReferenceTrajectoryPtr &refTrajPtr) |
fill mille for a trajectory, returning number of x/y hits ([0,0] if 'bad' trajectory) More... | |
template<typename CovarianceMatrix , typename ResidualMatrix , typename LocalDerivativeMatrix > | |
void | addRefTrackData2D (const ReferenceTrajectoryBase::ReferenceTrajectoryPtr &refTrajPtr, unsigned int iTrajHit, Eigen::MatrixBase< CovarianceMatrix > &aHitCovarianceM, Eigen::MatrixBase< ResidualMatrix > &aHitResidualsM, Eigen::MatrixBase< LocalDerivativeMatrix > &aLocalDerivativesM) |
adds data from reference trajectory from a specific Hit More... | |
template<typename CovarianceMatrix , typename ResidualMatrix , typename LocalDerivativeMatrix > | |
void | addRefTrackVirtualMeas1D (const ReferenceTrajectoryBase::ReferenceTrajectoryPtr &refTrajPtr, unsigned int iVirtualMeas, Eigen::MatrixBase< CovarianceMatrix > &aHitCovarianceM, Eigen::MatrixBase< ResidualMatrix > &aHitResidualsM, Eigen::MatrixBase< LocalDerivativeMatrix > &aLocalDerivativesM) |
adds data for a specific virtual measurement from reference trajectory More... | |
void | addVirtualMeas (const ReferenceTrajectoryBase::ReferenceTrajectoryPtr &refTrajPtr, unsigned int iVirtualMeas) |
adds data for virtual measurements from reference trajectory More... | |
bool | areEmptyParams (const std::vector< Alignable * > &alignables) const |
bool | areIOVsSpecified () const |
void | buildUserVariables (const std::vector< Alignable * > &alignables) const |
add MillePedeVariables for each AlignmentParameters (exception if no parameters...) More... | |
int | callMille (const ReferenceTrajectoryBase::ReferenceTrajectoryPtr &refTrajPtr, unsigned int iTrajHit, const std::vector< int > &globalLabels, const std::vector< float > &globalDerivativesX, const std::vector< float > &globalDerivativesY) |
calls callMille1D or callMille2D More... | |
int | callMille1D (const ReferenceTrajectoryBase::ReferenceTrajectoryPtr &refTrajPtr, unsigned int iTrajHit, const std::vector< int > &globalLabels, const std::vector< float > &globalDerivativesX) |
calls Mille for 1D hits More... | |
int | callMille2D (const ReferenceTrajectoryBase::ReferenceTrajectoryPtr &refTrajPtr, unsigned int iTrajHit, const std::vector< int > &globalLabels, const std::vector< float > &globalDerivativesx, const std::vector< float > &globalDerivativesy) |
unsigned int | decodeMode (const std::string &mode) const |
template<typename CovarianceMatrix , typename LocalDerivativeMatrix , typename ResidualMatrix , typename GlobalDerivativeMatrix > | |
void | diagonalize (Eigen::MatrixBase< CovarianceMatrix > &aHitCovarianceM, Eigen::MatrixBase< LocalDerivativeMatrix > &aLocalDerivativesM, Eigen::MatrixBase< ResidualMatrix > &aHitResidualsM, Eigen::MatrixBase< GlobalDerivativeMatrix > &aGlobalDerivativesM) const |
unsigned int | doIO (int loop) const |
std::vector< std::string > | getExistingFormattedFiles (const std::vector< std::string > &plainFiles, const std::string &theDir) |
void | globalDerivativesCalibration (const TransientTrackingRecHit::ConstRecHitPointer &recHit, const TrajectoryStateOnSurface &tsos, const edm::EventSetup &setup, const EventInfo &eventInfo, std::vector< float > &globalDerivativesX, std::vector< float > &globalDerivativesY, std::vector< int > &globalLabels) const |
adding derivatives from integrated calibrations More... | |
bool | globalDerivativesHierarchy (const EventInfo &eventInfo, const TrajectoryStateOnSurface &tsos, Alignable *ali, const AlignableDetOrUnitPtr &alidet, std::vector< float > &globalDerivativesX, std::vector< float > &globalDerivativesY, std::vector< int > &globalLabels, AlignmentParameters *&lowestParams) const |
recursively adding derivatives and labels, false if problems More... | |
bool | globalDerivativesHierarchy (const EventInfo &eventInfo, const TrajectoryStateOnSurface &tsos, Alignable *ali, const AlignableDetOrUnitPtr &alidet, std::vector< double > &globalDerivativesX, std::vector< double > &globalDerivativesY, std::vector< int > &globalLabels, AlignmentParameters *&lowestParams) const |
recursively adding derivatives (double) and labels, false if problems More... | |
bool | is2D (const TransientTrackingRecHit::ConstRecHitPointer &recHit) const |
true if hit belongs to 2D detector (currently tracker specific) More... | |
bool | isMode (unsigned int testMode) const |
template<typename GlobalDerivativeMatrix > | |
void | makeGlobDerivMatrix (const std::vector< float > &globalDerivativesx, const std::vector< float > &globalDerivativesy, Eigen::MatrixBase< GlobalDerivativeMatrix > &aGlobalDerivativesM) |
bool | readFromPede (const edm::ParameterSet &mprespset, bool setUserVars, const RunRange &runrange) |
read pede input defined by 'psetName', flag to create/not create MillePedeVariables More... | |
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 |
CMSSW interface to pede: produces pede's binary input and steering file(s)
(last update by
)
Definition at line 53 of file MillePedeAlignmentAlgorithm.h.
|
private |
Enumerator | |
---|---|
myMilleBit | |
myPedeRunBit | |
myPedeSteerBit | |
myPedeReadBit |
Definition at line 262 of file MillePedeAlignmentAlgorithm.h.
|
private |
MillePedeAlignmentAlgorithm::MillePedeAlignmentAlgorithm | ( | const edm::ParameterSet & | cfg | ) |
Constructor.
Definition at line 93 of file MillePedeAlignmentAlgorithm.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isMode(), myMilleBit, AlCaHLTBitMon_QueryRunRegistry::string, theBinary, theConfig, theDir, theGblDoubleBinary, and theMille.
|
virtual |
|
overridevirtual |
Pass integrated calibrations to Millepede (they are not owned by Millepede!)
Definition at line 320 of file MillePedeAlignmentAlgorithm.cc.
References theCalibrations, and thePedeLabels.
|
private |
Add global data (labels, derivatives) to GBL trajectory Returns -1 if any problem (for params cf. globalDerivativesHierarchy)
Definition at line 809 of file MillePedeAlignmentAlgorithm.cc.
References gbl::GblPoint::addGlobals(), globalDerivativesHierarchy(), mps_fire::i, theAlignableNavigator, theCalibrations, theIntBuffer, and thePedeLabels.
Referenced by addReferenceTrajectory().
|
private |
Increase hit counting of MillePedeVariables behind each parVec[i] (and also for parameters higher in hierarchy), assuming 'parVec' and 'validHitVecY' to be parallel. Returns number of valid y-hits.
Definition at line 619 of file MillePedeAlignmentAlgorithm.cc.
References Alignable::alignmentParameters(), MillePedeVariables::increaseHitsX(), MillePedeVariables::increaseHitsY(), Alignable::mother(), and AlignmentParameters::userVariables().
Referenced by addReferenceTrajectory().
|
private |
Definition at line 1257 of file MillePedeAlignmentAlgorithm.cc.
References MillePedeVariables::hitsX(), MillePedeVariables::hitsY(), MillePedeVariables::increaseHitsX(), MillePedeVariables::increaseHitsY(), MillePedeVariables::size(), and AlignmentParameters::userVariables().
Referenced by addHitStatistics(), and isMode().
|
private |
Definition at line 1230 of file MillePedeAlignmentAlgorithm.cc.
References addHits(), mps_fire::i, MillePedeVariablesIORoot::readMillePedeVariables(), AlCaHLTBitMon_QueryRunRegistry::string, theAlignables, and theDir.
Referenced by doIO(), and isMode().
|
private |
Definition at line 1601 of file MillePedeAlignmentAlgorithm.cc.
References funct::derivative(), TkFittedLasBeam::derivatives(), relativeConstraints::error, TkFittedLasBeam::firstFixedParameter(), TkLasBeam::getBeamId(), TkLasBeam::getData(), SiStripLaserRecHit2D::getDetId(), globalDerivativesHierarchy(), SiStripLaserRecHit2D::localPosition(), TkFittedLasBeam::parameters(), theAlignableNavigator, theFloatBufferX, theFloatBufferY, theIntBuffer, theMille, and thePedeLabels.
Referenced by addLaserData().
|
private |
Definition at line 1582 of file MillePedeAlignmentAlgorithm.cc.
References addLasBeam().
Referenced by endRun().
|
private |
If hit is usable: callMille for x and (probably) y direction. If globalDerivatives fine: returns 2 if 2D-hit, 1 if 1D-hit, 0 if no Alignable for hit. Returns -1 if any problem (for params cf. globalDerivativesHierarchy)
Definition at line 770 of file MillePedeAlignmentAlgorithm.cc.
References callMille(), globalDerivativesCalibration(), globalDerivativesHierarchy(), ignoreHitsWithoutGlobalDerivatives_, theAlignableNavigator, theFloatBufferX, theFloatBufferY, and theIntBuffer.
Referenced by addReferenceTrajectory().
|
private |
add measurement data from PXB survey
Definition at line 1647 of file MillePedeAlignmentAlgorithm.cc.
References a, HiEvtPlane_cfi::chi2, SurveyPxbDicer::doDice(), corrVsCorr::filename, edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, SurveyPxbImageLocalFit::nMsrmts, HIPAlignmentAlgorithm_cfi::outfile, matplotRender::reader, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, Alignable::surface(), theAlignableNavigator, theMille, theMonitor, thePedeLabels, AlignableSurface::toGlobal(), and AlignableSurface::toLocal().
Referenced by initialize().
|
private |
fill mille for a trajectory, returning number of x/y hits ([0,0] if 'bad' trajectory)
Definition at line 533 of file MillePedeAlignmentAlgorithm.cc.
References addGlobalData(), addHitCount(), addMeasurementData(), addVirtualMeas(), gbl::GblTrajectory::milleOut(), theBinary, theMille, and theMinNumHits.
Referenced by run().
|
private |
adds data from reference trajectory from a specific Hit
Definition at line 1357 of file MillePedeAlignmentAlgorithm.cc.
References callMille(), and mps_fire::i.
Referenced by addRefTrackVirtualMeas1D(), and callMille2D().
|
private |
adds data for a specific virtual measurement from reference trajectory
Definition at line 1333 of file MillePedeAlignmentAlgorithm.cc.
References addRefTrackData2D(), and mps_fire::i.
Referenced by addVirtualMeas(), and diagonalize().
|
private |
adds data for virtual measurements from reference trajectory
Definition at line 1548 of file MillePedeAlignmentAlgorithm.cc.
References addRefTrackVirtualMeas1D(), and theMille.
Referenced by addReferenceTrajectory(), and callMille2D().
|
private |
Definition at line 1098 of file MillePedeAlignmentAlgorithm.cc.
References AlignmentParameters::covariance(), mps_fire::i, and AlignmentParameters::parameters().
Referenced by readFromPede().
|
private |
Definition at line 1748 of file MillePedeAlignmentAlgorithm.cc.
References edm::ParameterSet::getUntrackedParameter(), align::makeNonOverlappingRunRanges(), cond::runnumber, theConfig, and cond::timeTypeSpecs.
|
overridevirtual |
called at begin of luminosity block (resets Mille binary in mille mode)
Reimplemented from AlignmentAlgorithmBase.
Definition at line 755 of file MillePedeAlignmentAlgorithm.cc.
References isMode(), myMilleBit, runAtPCL_, and theMille.
|
overridevirtual |
called at begin of run
Reimplemented from AlignmentAlgorithmBase.
Definition at line 649 of file MillePedeAlignmentAlgorithm.cc.
References cond::TimeTypeSpecs::beginValue, cachedRuns_, AlignmentParameterStore::cacheTransformations(), enableAlignableUpdates_, edm::IOVSyncValue::eventID(), Exception, spr::find(), edm::ValidityInterval::first(), firstIOV_, dataset::firstRun, edm::EventSetup::get(), ignoreFirstIOVCheck_, edm::eventsetup::EventSetupRecordImplementation< T >::key(), lastProcessedRun_, python.rootplot.argparse::message, edm::eventsetup::EventSetupRecordKey::name(), edm::EventID::run(), edm::RunBase::run(), cond::runnumber, convertSQLiteXML::runNumber, skipGlobalPositionRcdCheck_, theAlignmentParameterStore, cond::persistency::throwException(), cond::timeTypeSpecs, uniqueRunRanges_, and edm::eventsetup::EventSetupRecord::validityInterval().
|
private |
add MillePedeVariables for each AlignmentParameters (exception if no parameters...)
Definition at line 1180 of file MillePedeAlignmentAlgorithm.cc.
References Exception, MillePedeVariables::setAllDefault(), AlignmentParameters::setUserVariables(), MillePedeVariables::size(), AlignmentParameters::size(), thePedeLabels, and AlignmentParameters::userVariables().
Referenced by initialize(), and setParametersForRunRange().
|
private |
calls callMille1D or callMille2D
Definition at line 1385 of file MillePedeAlignmentAlgorithm.cc.
References callMille1D(), and callMille2D().
Referenced by addMeasurementData(), and addRefTrackData2D().
|
private |
calls Mille for 1D hits
Definition at line 1403 of file MillePedeAlignmentAlgorithm.cc.
References callMille2D(), mps_fire::i, theMille, and theMonitor.
Referenced by callMille().
|
private |
calls Mille for x and possibly y component of hit, y is skipped for non-real 2D (e.g. SiStripRecHit2D), for TID/TEC first diagonalises if correlation is larger than configurable
Definition at line 1442 of file MillePedeAlignmentAlgorithm.cc.
References Abs(), addRefTrackData2D(), addVirtualMeas(), corr, diagonalize(), pat::helper::ParametrizationHelper::dimension(), is2D(), makeGlobDerivMatrix(), mathSSE::sqrt(), std::swap(), SiStripDetId::TEC, theMaximalCor2D, theMille, theMonitor, SiStripDetId::TID, and DetId::Tracker.
Referenced by callMille(), and callMille1D().
|
private |
Definition at line 1206 of file MillePedeAlignmentAlgorithm.cc.
References Exception, myMilleBit, myPedeReadBit, myPedeRunBit, and myPedeSteerBit.
|
private |
Definition at line 1300 of file MillePedeAlignmentAlgorithm.cc.
References addRefTrackVirtualMeas1D().
Referenced by callMille2D(), and makeGlobDerivMatrix().
|
private |
Definition at line 1120 of file MillePedeAlignmentAlgorithm.cc.
References addHitStatistics(), edm::ParameterSet::getParameter(), heppy_loop::loop, GetRecoTauVFromDQM_MC_cff::outFile, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, theAlignables, theConfig, theDir, AlignmentIORoot::writeAlignableAbsolutePositions(), AlignmentIORoot::writeAlignableOriginalPositions(), MillePedeVariablesIORoot::writeMillePedeVariables(), and AlignmentIORoot::writeOrigRigidBodyAlignmentParameters().
Referenced by setParametersForRunRange(), and terminate().
|
overridevirtual |
called at end of luminosity block
Reimplemented from AlignmentAlgorithmBase.
Definition at line 762 of file MillePedeAlignmentAlgorithm.cc.
References isMode(), myMilleBit, runAtPCL_, and theMille.
|
virtual |
Run on run products, e.g. TkLAS.
Definition at line 739 of file MillePedeAlignmentAlgorithm.cc.
References addLaserData(), isMode(), myMilleBit, theMille, AlignmentAlgorithmBase::EndRunInfo::tkLasBeams(), and AlignmentAlgorithmBase::EndRunInfo::tkLasBeamTsoses().
|
overridevirtual |
called at end of run - order of arguments like in EDProducer etc.
Reimplemented from AlignmentAlgorithmBase.
Definition at line 750 of file MillePedeAlignmentAlgorithm.cc.
References isMode(), myMilleBit, and theMille.
|
private |
Generates list of files to read, given the list and dir from the configuration. This will automatically expand formatting directives, if they appear.
Definition at line 454 of file MillePedeAlignmentAlgorithm.cc.
References edmScanValgrind::buffer, PatBasicFWLiteAnalyzer::files, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by terminate().
|
private |
adding derivatives from integrated calibrations
Definition at line 987 of file MillePedeAlignmentAlgorithm.cc.
References theCalibrations, and thePedeLabels.
Referenced by addMeasurementData(), and globalDerivativesHierarchy().
|
private |
recursively adding derivatives and labels, false if problems
Definition at line 869 of file MillePedeAlignmentAlgorithm.cc.
References Alignable::alignmentParameters(), AlignmentParameters::derivatives(), kLocalX, kLocalY, Alignable::mother(), AlignmentParameters::selector(), theMonitor, thePedeLabels, and thePedeSteer.
Referenced by addGlobalData(), addLasBeam(), addMeasurementData(), and globalDerivativesHierarchy().
|
private |
recursively adding derivatives (double) and labels, false if problems
Definition at line 925 of file MillePedeAlignmentAlgorithm.cc.
References Alignable::alignmentParameters(), AlignmentParameters::derivatives(), globalDerivativesCalibration(), globalDerivativesHierarchy(), kLocalX, kLocalY, Alignable::mother(), AlignmentParameters::selector(), theMonitor, thePedeLabels, and thePedeSteer.
|
overridevirtual |
Called at beginning of job.
Implements AlignmentAlgorithmBase.
Definition at line 135 of file MillePedeAlignmentAlgorithm.cc.
References addPxbSurvey(), edm::ParameterSet::addUntrackedParameter(), cond::TimeTypeSpecs::beginValue, buildUserVariables(), relativeConstraints::empty, cond::TimeTypeSpecs::endValue, enforceSingleIOVInput_, Exception, edm::ParameterSet::exists(), reco::get(), edm::EventSetup::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isMode(), crabWrapper::key, cond::time::MAX_VAL(), python.rootplot.argparse::message, cond::time::MIN_VAL(), metsig::muon, myMilleBit, myPedeSteerBit, edm::ESHandle< T >::product(), readFromPede(), runAtPCL_, cond::runnumber, findQualityFiles::size, storeThresholds(), AlCaHLTBitMon_QueryRunRegistry::string, theAlignableNavigator, theAlignables, theAlignmentParameterStore, theConfig, theDir, theDoSurveyPixelBarrel, theMonitor, thePedeLabels, thePedeSteer, theThresholds, theTrajectoryFactory, cond::persistency::throwException(), cond::timeTypeSpecs, and mixOne_simraw_on_sim_cfi::tracker.
|
private |
true if hit belongs to 2D detector (currently tracker specific)
Definition at line 1042 of file MillePedeAlignmentAlgorithm.cc.
Referenced by callMille2D().
|
inlineprivate |
Definition at line 265 of file MillePedeAlignmentAlgorithm.h.
References addHits(), addHitStatistics(), GetRecoTauVFromDQM_MC_cff::outFile, AlCaHLTBitMon_QueryRunRegistry::string, and theMode.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), endRun(), initialize(), MillePedeAlignmentAlgorithm(), processesEvents(), run(), setParametersForRunRange(), storeAlignments(), and terminate().
|
private |
Definition at line 1281 of file MillePedeAlignmentAlgorithm.cc.
References diagonalize(), and mps_fire::i.
Referenced by callMille2D().
|
overridevirtual |
Returns whether MP should process events in the current configuration.
Reimplemented from AlignmentAlgorithmBase.
Definition at line 335 of file MillePedeAlignmentAlgorithm.cc.
References isMode(), and myMilleBit.
|
private |
read pede input defined by 'psetName', flag to create/not create MillePedeVariables
Definition at line 1061 of file MillePedeAlignmentAlgorithm.cc.
References areEmptyParams(), MillePedeFileConverter_cfg::out, PedeReader::read(), matplotRender::reader, theAlignables, thePedeLabels, and thePedeSteer.
Referenced by initialize(), and setParametersForRunRange().
|
overridevirtual |
Run the algorithm on trajectories and tracks.
Implements AlignmentAlgorithmBase.
Definition at line 495 of file MillePedeAlignmentAlgorithm.cc.
References addReferenceTrajectory(), AlignmentAlgorithmBase::EventInfo::beamSpot(), isMode(), myMilleBit, PFRecoTauDiscriminationByIsolation_cfi::offset, edm::second(), theMonitor, theTrajectoryFactory, l1t::tracks, HiRegitMuonDetachedTripletStep_cff::trajectories, and AlignmentAlgorithmBase::EventInfo::trajTrackPairs().
Referenced by Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), o2olib.O2OTool::execute(), and terminate().
|
overridevirtual |
Called in order to pass parameters to alignables for a specific run range in case the algorithm supports run range dependent alignment.
Reimplemented from AlignmentAlgorithmBase.
Definition at line 365 of file MillePedeAlignmentAlgorithm.cc.
References AlignmentParameterStore::applyParameters(), buildUserVariables(), doIO(), enableAlignableUpdates_, edm::ParameterSet::getParameter(), isMode(), myPedeReadBit, readFromPede(), AlignmentParameterStore::resetParameters(), AlignmentParameterStore::restoreCachedTransformations(), theAlignables, theAlignmentParameterStore, theConfig, and theLastWrittenIov.
|
overridevirtual |
Returns whether MP produced results to be stored.
Reimplemented from AlignmentAlgorithmBase.
Definition at line 345 of file MillePedeAlignmentAlgorithm.cc.
References edm::ParameterSet::getParameter(), isMode(), myPedeReadBit, MillePedeFileReader::read(), runAtPCL_, MillePedeFileReader::storeAlignments(), theConfig, thePedeLabels, and theThresholds.
|
virtual |
Definition at line 328 of file MillePedeAlignmentAlgorithm.cc.
References theThresholds.
Referenced by initialize().
|
overridevirtual |
Returns whether MP supports calibrations.
Reimplemented from AlignmentAlgorithmBase.
Definition at line 315 of file MillePedeAlignmentAlgorithm.cc.
|
overridevirtual |
Called at end of job.
Implements AlignmentAlgorithmBase.
Definition at line 395 of file MillePedeAlignmentAlgorithm.cc.
References terminate().
|
overridevirtual |
Called at end of job.
Reimplemented from AlignmentAlgorithmBase.
Definition at line 399 of file MillePedeAlignmentAlgorithm.cc.
References cachedRuns_, AlignmentParameterStore::cacheTransformations(), doIO(), enableAlignableUpdates_, Exception, FrontierConditions_GlobalTag_cff::file, PatBasicFWLiteAnalyzer::files, spr::find(), getExistingFormattedFiles(), edm::ParameterSet::getParameter(), isMode(), lastProcessedRun_, myMilleBit, myPedeReadBit, myPedeRunBit, AlignmentParameterStore::restoreCachedTransformations(), run(), AlCaHLTBitMon_QueryRunRegistry::string, theAlignmentParameterStore, theBinary, theConfig, theDir, theLastWrittenIov, theMille, thePedeSteer, and uniqueRunRanges_.
Referenced by terminate().
|
private |
Definition at line 305 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun(), and terminate().
|
private |
Definition at line 289 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun(), setParametersForRunRange(), and terminate().
|
private |
Definition at line 304 of file MillePedeAlignmentAlgorithm.h.
Referenced by initialize().
|
private |
maximal correlation allowed for 2D hit in TID/TEC. If larger, the 2D measurement gets diagonalized!!!
Definition at line 287 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun().
|
private |
Definition at line 288 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun().
|
private |
Definition at line 300 of file MillePedeAlignmentAlgorithm.h.
Referenced by addMeasurementData().
|
private |
Definition at line 306 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun(), and terminate().
|
private |
Definition at line 299 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), initialize(), and storeAlignments().
|
private |
Definition at line 301 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun().
|
private |
Definition at line 276 of file MillePedeAlignmentAlgorithm.h.
Referenced by addGlobalData(), addLasBeam(), addMeasurementData(), addPxbSurvey(), and initialize().
|
private |
Definition at line 275 of file MillePedeAlignmentAlgorithm.h.
Referenced by addHitStatistics(), doIO(), initialize(), readFromPede(), and setParametersForRunRange().
|
private |
directory for all kind of files
Definition at line 274 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun(), initialize(), setParametersForRunRange(), and terminate().
|
private |
Definition at line 296 of file MillePedeAlignmentAlgorithm.h.
Referenced by addReferenceTrajectory(), MillePedeAlignmentAlgorithm(), and terminate().
|
private |
Definition at line 282 of file MillePedeAlignmentAlgorithm.h.
Referenced by addCalibrations(), addGlobalData(), and globalDerivativesCalibration().
|
private |
Definition at line 271 of file MillePedeAlignmentAlgorithm.h.
Referenced by areIOVsSpecified(), doIO(), initialize(), MillePedeAlignmentAlgorithm(), setParametersForRunRange(), storeAlignments(), and terminate().
|
private |
Definition at line 273 of file MillePedeAlignmentAlgorithm.h.
Referenced by addHitStatistics(), doIO(), initialize(), MillePedeAlignmentAlgorithm(), and terminate().
|
private |
Definition at line 294 of file MillePedeAlignmentAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 291 of file MillePedeAlignmentAlgorithm.h.
Referenced by addLasBeam(), and addMeasurementData().
|
private |
Definition at line 292 of file MillePedeAlignmentAlgorithm.h.
Referenced by addLasBeam(), and addMeasurementData().
|
private |
Definition at line 297 of file MillePedeAlignmentAlgorithm.h.
Referenced by MillePedeAlignmentAlgorithm().
|
private |
Definition at line 293 of file MillePedeAlignmentAlgorithm.h.
Referenced by addGlobalData(), addLasBeam(), and addMeasurementData().
|
private |
Definition at line 290 of file MillePedeAlignmentAlgorithm.h.
Referenced by setParametersForRunRange(), and terminate().
|
private |
Definition at line 285 of file MillePedeAlignmentAlgorithm.h.
Referenced by callMille2D().
|
private |
Definition at line 278 of file MillePedeAlignmentAlgorithm.h.
Referenced by addLasBeam(), addPxbSurvey(), addReferenceTrajectory(), addVirtualMeas(), beginLuminosityBlock(), callMille1D(), callMille2D(), endLuminosityBlock(), endRun(), MillePedeAlignmentAlgorithm(), and terminate().
|
private |
Definition at line 284 of file MillePedeAlignmentAlgorithm.h.
Referenced by addReferenceTrajectory().
|
private |
Definition at line 272 of file MillePedeAlignmentAlgorithm.h.
Referenced by isMode().
|
private |
Definition at line 277 of file MillePedeAlignmentAlgorithm.h.
Referenced by addPxbSurvey(), callMille1D(), callMille2D(), globalDerivativesHierarchy(), initialize(), and run().
|
private |
Definition at line 279 of file MillePedeAlignmentAlgorithm.h.
Referenced by addCalibrations(), addGlobalData(), addLasBeam(), addPxbSurvey(), buildUserVariables(), globalDerivativesCalibration(), globalDerivativesHierarchy(), initialize(), readFromPede(), and storeAlignments().
|
private |
Definition at line 280 of file MillePedeAlignmentAlgorithm.h.
Referenced by globalDerivativesHierarchy(), initialize(), readFromPede(), and terminate().
|
private |
Definition at line 283 of file MillePedeAlignmentAlgorithm.h.
Referenced by initialize(), storeAlignments(), and storeThresholds().
|
private |
Definition at line 281 of file MillePedeAlignmentAlgorithm.h.
Referenced by initialize(), and run().
|
private |
Definition at line 303 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun(), and terminate().