#include <MillePedeAlignmentAlgorithm.h>
Public Member Functions | |
bool | addCalibrations (const std::vector< IntegratedCalibrationBase *> &iCals) override |
Pass integrated calibrations to Millepede (they are not owned by Millepede!) More... | |
void | beginLuminosityBlock (const edm::EventSetup &) override |
called at begin of luminosity block (resets Mille binary in mille mode) More... | |
void | beginRun (const edm::Run &run, const edm::EventSetup &setup, bool changed) override |
called at begin of run More... | |
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... | |
void | endRun (const EndRunInfo &runInfo, const edm::EventSetup &setup) override |
called at end of run - order of arguments like in EDProducer etc. More... | |
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, edm::ConsumesCollector &iC) | |
Constructor. More... | |
bool | processesEvents () override |
Returns whether MP should process events in the current configuration. More... | |
void | run (const edm::EventSetup &setup, const EventInfo &eventInfo) override |
Run the algorithm on trajectories and tracks. More... | |
bool | setParametersForRunRange (const RunRange &runrange) override |
bool | storeAlignments () override |
Returns whether MP produced results to be stored. More... | |
virtual bool | storeThresholds (const int &nRecords, const AlignPCLThresholdsHG::threshold_map &thresholdMap, const AlignPCLThresholdsHG::param_map &floatMap) |
bool | supportsCalibrations () override |
Returns whether MP supports calibrations. More... | |
void | terminate (const edm::EventSetup &iSetup) override |
Called at end of job. More... | |
void | terminate () override |
Called at end of job. More... | |
~MillePedeAlignmentAlgorithm () override | |
Destructor. More... | |
Public Member Functions inherited from AlignmentAlgorithmBase | |
virtual bool | addCalibrations (const Calibrations &) |
bool | addCalibrations (const CalibrationsOwner &cals) |
AlignmentAlgorithmBase (const edm::ParameterSet &, const edm::ConsumesCollector &) | |
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 align::Alignables &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 align::Alignables &alignables) const |
bool | areIOVsSpecified () const |
void | buildUserVariables (const align::Alignables &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 63 of file MillePedeAlignmentAlgorithm.h.
|
private |
Enumerator | |
---|---|
myMilleBit | |
myPedeRunBit | |
myPedeSteerBit | |
myPedeReadBit |
Definition at line 283 of file MillePedeAlignmentAlgorithm.h.
|
private |
MillePedeAlignmentAlgorithm::MillePedeAlignmentAlgorithm | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
Constructor.
Definition at line 87 of file MillePedeAlignmentAlgorithm.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isMode(), myMilleBit, AlCaHLTBitMon_QueryRunRegistry::string, theBinary, theConfig, theDir, theGblDoubleBinary, and theMille.
|
override |
|
override |
Pass integrated calibrations to Millepede (they are not owned by Millepede!)
Definition at line 302 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 787 of file MillePedeAlignmentAlgorithm.cc.
References dumpTauVariables_cfi::eventInfo, globalDerivativesHierarchy(), mps_fire::i, submitPVValidationJobs::params, singleTopDQM_cfi::setup, 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 602 of file MillePedeAlignmentAlgorithm.cc.
References Alignable::alignmentParameters(), MillePedeVariables::increaseHitsX(), MillePedeVariables::increaseHitsY(), Alignable::mother(), and AlignmentParameters::userVariables().
Referenced by addReferenceTrajectory().
|
private |
Definition at line 1232 of file MillePedeAlignmentAlgorithm.cc.
References MillePedeVariables::hitsX(), MillePedeVariables::hitsY(), MillePedeVariables::increaseHitsX(), MillePedeVariables::increaseHitsY(), MillePedeVariables::size(), and AlignmentParameters::userVariables().
Referenced by addHitStatistics().
|
private |
Definition at line 1207 of file MillePedeAlignmentAlgorithm.cc.
References addHits(), mps_fire::i, MillePedeVariablesIORoot::readMillePedeVariables(), AlCaHLTBitMon_QueryRunRegistry::string, theAlignables, and theDir.
Referenced by doIO().
|
private |
Definition at line 1536 of file MillePedeAlignmentAlgorithm.cc.
References funct::derivative(), TkFittedLasBeam::derivatives(), relativeConstraints::error, TkFittedLasBeam::firstFixedParameter(), TkLasBeam::getBeamId(), TkLasBeam::getData(), globalDerivativesHierarchy(), sistrip::SpyUtilities::isValid(), TkFittedLasBeam::parameters(), theAlignableNavigator, theFloatBufferX, theFloatBufferY, theIntBuffer, theMille, thePedeLabels, and hit::x.
Referenced by addLaserData().
|
private |
Definition at line 1519 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 738 of file MillePedeAlignmentAlgorithm.cc.
References callMille(), dumpTauVariables_cfi::eventInfo, globalDerivativesCalibration(), globalDerivativesHierarchy(), ignoreHitsWithoutGlobalDerivatives_, submitPVValidationJobs::params, singleTopDQM_cfi::setup, theAlignableNavigator, theFloatBufferX, theFloatBufferY, and theIntBuffer.
Referenced by addReferenceTrajectory().
|
private |
add measurement data from PXB survey
Definition at line 1585 of file MillePedeAlignmentAlgorithm.cc.
References a, hltPixelTracks_cff::chi2, SurveyPxbDicer::doDice(), corrVsCorr::filename, edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, dqmiolumiharvest::j, SurveyPxbImageLocalFit::nMsrmts, timingPdfMaker::outfile, DQM::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 511 of file MillePedeAlignmentAlgorithm.cc.
References addGlobalData(), addHitCount(), addMeasurementData(), addVirtualMeas(), dumpTauVariables_cfi::eventInfo, theBinary, theMille, and theMinNumHits.
Referenced by run().
|
private |
adds data from reference trajectory from a specific Hit
Definition at line 1318 of file MillePedeAlignmentAlgorithm.cc.
References mps_fire::i.
Referenced by callMille2D().
|
private |
adds data for a specific virtual measurement from reference trajectory
Definition at line 1297 of file MillePedeAlignmentAlgorithm.cc.
References mps_fire::i.
Referenced by addVirtualMeas().
|
private |
adds data for virtual measurements from reference trajectory
Definition at line 1491 of file MillePedeAlignmentAlgorithm.cc.
References addRefTrackVirtualMeas1D(), and theMille.
Referenced by addReferenceTrajectory().
|
private |
Definition at line 1080 of file MillePedeAlignmentAlgorithm.cc.
References mps_fire::i, dqmiolumiharvest::j, and submitPVValidationJobs::params.
Referenced by readFromPede().
|
private |
Definition at line 1676 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 722 of file MillePedeAlignmentAlgorithm.cc.
References isMode(), myMilleBit, runAtPCL_, and theMille.
|
overridevirtual |
called at begin of run
Reimplemented from AlignmentAlgorithmBase.
Definition at line 631 of file MillePedeAlignmentAlgorithm.cc.
References cond::TimeTypeSpecs::beginValue, cachedRuns_, AlignmentParameterStore::cacheTransformations(), enableAlignableUpdates_, edm::IOVSyncValue::eventID(), Exception, spr::find(), edm::ValidityInterval::first(), firstIOV_, dataset::firstRun, ignoreFirstIOVCheck_, edm::eventsetup::EventSetupRecordImplementation< T >::key(), lastProcessedRun_, edm::eventsetup::EventSetupRecordKey::name(), edm::EventID::run(), run(), cond::runnumber, convertSQLiteXML::runNumber, crab_NZS2018C_1::runRange, singleTopDQM_cfi::setup, 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 1158 of file MillePedeAlignmentAlgorithm.cc.
References Exception, submitPVValidationJobs::params, MillePedeVariables::setAllDefault(), MillePedeVariables::size(), and thePedeLabels.
Referenced by initialize(), and setParametersForRunRange().
|
private |
calls callMille1D or callMille2D
Definition at line 1344 of file MillePedeAlignmentAlgorithm.cc.
References callMille1D(), and callMille2D().
Referenced by addMeasurementData().
|
private |
calls Mille for 1D hits
Definition at line 1359 of file MillePedeAlignmentAlgorithm.cc.
References 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 1396 of file MillePedeAlignmentAlgorithm.cc.
References addRefTrackData2D(), alignCSCRings::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().
|
private |
Definition at line 1185 of file MillePedeAlignmentAlgorithm.cc.
References Exception, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, myMilleBit, myPedeReadBit, myPedeRunBit, and myPedeSteerBit.
|
private |
Definition at line 1270 of file MillePedeAlignmentAlgorithm.cc.
References relativeConstraints::value.
Referenced by callMille2D().
|
private |
Definition at line 1101 of file MillePedeAlignmentAlgorithm.cc.
References addHitStatistics(), edm::ParameterSet::getParameter(), heppy_loop::loop, L1TdeCSCTF_cfi::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 730 of file MillePedeAlignmentAlgorithm.cc.
References isMode(), myMilleBit, runAtPCL_, and theMille.
|
virtual |
Run on run products, e.g. TkLAS.
Definition at line 704 of file MillePedeAlignmentAlgorithm.cc.
References addLaserData(), isMode(), myMilleBit, submitPVValidationJobs::runInfo, and theMille.
|
overridevirtual |
called at end of run - order of arguments like in EDProducer etc.
Reimplemented from AlignmentAlgorithmBase.
Definition at line 716 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 434 of file MillePedeAlignmentAlgorithm.cc.
References edmScanValgrind::buffer, submitPVResolutionJobs::files, edm_modernize_messagelogger::stat, AlCaHLTBitMon_QueryRunRegistry::string, and theDir.
Referenced by terminate().
|
private |
adding derivatives from integrated calibrations
Definition at line 968 of file MillePedeAlignmentAlgorithm.cc.
References dumpTauVariables_cfi::eventInfo, rpcPointValidation_cfi::recHit, singleTopDQM_cfi::setup, theCalibrations, and thePedeLabels.
Referenced by addMeasurementData().
|
private |
recursively adding derivatives and labels, false if problems
Definition at line 851 of file MillePedeAlignmentAlgorithm.cc.
References Alignable::alignmentParameters(), dumpTauVariables_cfi::eventInfo, kLocalX, kLocalY, Alignable::mother(), submitPVValidationJobs::params, theMonitor, thePedeLabels, and thePedeSteer.
Referenced by addGlobalData(), addLasBeam(), addMeasurementData(), and globalDerivativesHierarchy().
|
private |
recursively adding derivatives (double) and labels, false if problems
Definition at line 906 of file MillePedeAlignmentAlgorithm.cc.
References Alignable::alignmentParameters(), dumpTauVariables_cfi::eventInfo, globalDerivativesHierarchy(), kLocalX, kLocalY, Alignable::mother(), submitPVValidationJobs::params, theMonitor, thePedeLabels, and thePedeSteer.
|
overridevirtual |
Called at beginning of job.
Implements AlignmentAlgorithmBase.
Definition at line 136 of file MillePedeAlignmentAlgorithm.cc.
References addPxbSurvey(), edm::ParameterSet::addUntrackedParameter(), AlignmentParameterStore::alignables(), aliThrToken_, AlignmentParameterStore::applyParameters(), cond::TimeTypeSpecs::beginValue, buildUserVariables(), relativeConstraints::empty, cond::TimeTypeSpecs::endValue, enforceSingleIOVInput_, Exception, edm::ParameterSet::exists(), geomToken_, get, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isMode(), crabWrapper::key, cond::time::MAX_VAL(), cond::time::MIN_VAL(), HLT_2022v14_cff::muon, myMilleBit, myPedeSteerBit, pixelTopologyMap, readFromPede(), AlignmentParameterStore::resetParameters(), runAtPCL_, cond::runnumber, singleTopDQM_cfi::setup, storeThresholds(), AlCaHLTBitMon_QueryRunRegistry::string, theAlignableNavigator, theAlignables, theAlignmentParameterStore, theConfig, theDir, theDoSurveyPixelBarrel, theMonitor, thePedeLabels, thePedeSteer, theThresholds, cond::persistency::throwException(), cond::timeTypeSpecs, topoToken_, and PbPb_ZMuSkimMuonDPG_cff::tracker.
|
private |
true if hit belongs to 2D detector (currently tracker specific)
Definition at line 1023 of file MillePedeAlignmentAlgorithm.cc.
References rpcPointValidation_cfi::recHit.
Referenced by callMille2D().
|
inlineprivate |
Definition at line 285 of file MillePedeAlignmentAlgorithm.h.
References theMode.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), endRun(), initialize(), MillePedeAlignmentAlgorithm(), processesEvents(), run(), setParametersForRunRange(), storeAlignments(), and terminate().
|
private |
Definition at line 1254 of file MillePedeAlignmentAlgorithm.cc.
References mps_fire::i.
Referenced by callMille2D().
|
overridevirtual |
Returns whether MP should process events in the current configuration.
Reimplemented from AlignmentAlgorithmBase.
Definition at line 318 of file MillePedeAlignmentAlgorithm.cc.
References isMode(), and myMilleBit.
|
private |
read pede input defined by 'psetName', flag to create/not create MillePedeVariables
Definition at line 1041 of file MillePedeAlignmentAlgorithm.cc.
References areEmptyParams(), MillePedeFileConverter_cfg::out, DQM::reader, theAlignables, thePedeLabels, and thePedeSteer.
Referenced by initialize(), and setParametersForRunRange().
|
overridevirtual |
Run the algorithm on trajectories and tracks.
Implements AlignmentAlgorithmBase.
Definition at line 475 of file MillePedeAlignmentAlgorithm.cc.
References addReferenceTrajectory(), dumpTauVariables_cfi::eventInfo, isMode(), myMilleBit, hltrates_dqm_sourceclient-live_cfg::offset, edm::second(), singleTopDQM_cfi::setup, theMonitor, theTrajectoryFactory, tracks, FastTrackerRecHitMaskProducer_cfi::trajectories, and AlignmentAlgorithmBase::EventInfo::trajTrackPairs().
Referenced by DTWorkflow.DTWorkflow::all(), beginRun(), 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 345 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 327 of file MillePedeAlignmentAlgorithm.cc.
References edm::ParameterSet::getParameter(), isMode(), myPedeReadBit, pixelTopologyMap, MillePedeFileReader::read(), runAtPCL_, MillePedeFileReader::storeAlignments(), theConfig, thePedeLabels, and theThresholds.
|
virtual |
Definition at line 309 of file MillePedeAlignmentAlgorithm.cc.
References theThresholds.
Referenced by initialize().
|
overridevirtual |
Returns whether MP supports calibrations.
Reimplemented from AlignmentAlgorithmBase.
Definition at line 299 of file MillePedeAlignmentAlgorithm.cc.
|
overridevirtual |
Called at end of job.
Implements AlignmentAlgorithmBase.
Definition at line 376 of file MillePedeAlignmentAlgorithm.cc.
References terminate().
|
overridevirtual |
Called at end of job.
Reimplemented from AlignmentAlgorithmBase.
Definition at line 377 of file MillePedeAlignmentAlgorithm.cc.
References cachedRuns_, AlignmentParameterStore::cacheTransformations(), doIO(), enableAlignableUpdates_, Exception, geometryDiff::file, submitPVResolutionJobs::files, spr::find(), getExistingFormattedFiles(), edm::ParameterSet::getParameter(), isMode(), lastProcessedRun_, myMilleBit, myPedeReadBit, myPedeRunBit, AlignmentParameterStore::restoreCachedTransformations(), run(), crab_NZS2018C_1::runRange, AlCaHLTBitMon_QueryRunRegistry::string, theAlignmentParameterStore, theBinary, theConfig, theDir, theLastWrittenIov, theMille, thePedeSteer, and uniqueRunRanges_.
Referenced by terminate().
|
private |
Definition at line 280 of file MillePedeAlignmentAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 324 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun(), and terminate().
|
private |
Definition at line 308 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun(), setParametersForRunRange(), and terminate().
|
private |
Definition at line 323 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 306 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun().
|
private |
Definition at line 281 of file MillePedeAlignmentAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 307 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun().
|
private |
Definition at line 319 of file MillePedeAlignmentAlgorithm.h.
Referenced by addMeasurementData().
|
private |
Definition at line 325 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun(), and terminate().
|
private |
Definition at line 302 of file MillePedeAlignmentAlgorithm.h.
Referenced by initialize(), and storeAlignments().
|
private |
Definition at line 318 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), initialize(), and storeAlignments().
|
private |
Definition at line 320 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun().
|
private |
Definition at line 294 of file MillePedeAlignmentAlgorithm.h.
Referenced by addGlobalData(), addLasBeam(), addMeasurementData(), addPxbSurvey(), and initialize().
|
private |
Definition at line 293 of file MillePedeAlignmentAlgorithm.h.
Referenced by addHitStatistics(), doIO(), initialize(), readFromPede(), and setParametersForRunRange().
|
private |
directory for all kind of files
Definition at line 292 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun(), initialize(), setParametersForRunRange(), and terminate().
|
private |
Definition at line 315 of file MillePedeAlignmentAlgorithm.h.
Referenced by addReferenceTrajectory(), MillePedeAlignmentAlgorithm(), and terminate().
|
private |
Definition at line 300 of file MillePedeAlignmentAlgorithm.h.
Referenced by addCalibrations(), addGlobalData(), and globalDerivativesCalibration().
|
private |
Definition at line 289 of file MillePedeAlignmentAlgorithm.h.
Referenced by areIOVsSpecified(), doIO(), initialize(), MillePedeAlignmentAlgorithm(), setParametersForRunRange(), storeAlignments(), and terminate().
|
private |
Definition at line 291 of file MillePedeAlignmentAlgorithm.h.
Referenced by addHitStatistics(), doIO(), getExistingFormattedFiles(), initialize(), MillePedeAlignmentAlgorithm(), and terminate().
|
private |
Definition at line 313 of file MillePedeAlignmentAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 310 of file MillePedeAlignmentAlgorithm.h.
Referenced by addLasBeam(), and addMeasurementData().
|
private |
Definition at line 311 of file MillePedeAlignmentAlgorithm.h.
Referenced by addLasBeam(), and addMeasurementData().
|
private |
Definition at line 316 of file MillePedeAlignmentAlgorithm.h.
Referenced by MillePedeAlignmentAlgorithm().
|
private |
Definition at line 312 of file MillePedeAlignmentAlgorithm.h.
Referenced by addGlobalData(), addLasBeam(), and addMeasurementData().
|
private |
Definition at line 309 of file MillePedeAlignmentAlgorithm.h.
Referenced by setParametersForRunRange(), and terminate().
|
private |
Definition at line 304 of file MillePedeAlignmentAlgorithm.h.
Referenced by callMille2D().
|
private |
Definition at line 296 of file MillePedeAlignmentAlgorithm.h.
Referenced by addLasBeam(), addPxbSurvey(), addReferenceTrajectory(), addVirtualMeas(), beginLuminosityBlock(), callMille1D(), callMille2D(), endLuminosityBlock(), endRun(), MillePedeAlignmentAlgorithm(), and terminate().
|
private |
Definition at line 303 of file MillePedeAlignmentAlgorithm.h.
Referenced by addReferenceTrajectory().
|
private |
Definition at line 290 of file MillePedeAlignmentAlgorithm.h.
Referenced by isMode().
|
private |
Definition at line 295 of file MillePedeAlignmentAlgorithm.h.
Referenced by addPxbSurvey(), callMille1D(), callMille2D(), globalDerivativesHierarchy(), initialize(), and run().
|
private |
Definition at line 297 of file MillePedeAlignmentAlgorithm.h.
Referenced by addCalibrations(), addGlobalData(), addLasBeam(), addPxbSurvey(), buildUserVariables(), globalDerivativesCalibration(), globalDerivativesHierarchy(), initialize(), readFromPede(), and storeAlignments().
|
private |
Definition at line 298 of file MillePedeAlignmentAlgorithm.h.
Referenced by globalDerivativesHierarchy(), initialize(), readFromPede(), and terminate().
|
private |
Definition at line 301 of file MillePedeAlignmentAlgorithm.h.
Referenced by initialize(), storeAlignments(), and storeThresholds().
|
private |
Definition at line 299 of file MillePedeAlignmentAlgorithm.h.
Referenced by run().
|
private |
Definition at line 279 of file MillePedeAlignmentAlgorithm.h.
Referenced by initialize().
|
private |
Definition at line 322 of file MillePedeAlignmentAlgorithm.h.
Referenced by beginRun(), and terminate().