#include <AlignmentAlgorithmBase.h>
Classes | |
class | EndRunInfo |
define run information passed to algorithms (in endRun) More... | |
class | EventInfo |
define event information passed to algorithms More... | |
Public Types | |
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 |
Public Member Functions | |
virtual bool | addCalibrations (const std::vector< IntegratedCalibrationBase * > &iCals) |
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 | initialize (const edm::EventSetup &setup, AlignableTracker *tracker, AlignableMuon *muon, AlignableExtras *extras, AlignmentParameterStore *store)=0 |
Call at beginning of job (must be implemented in derived class) More... | |
virtual void | run (const edm::EventSetup &setup, const EventInfo &eventInfo)=0 |
Run the algorithm (must be implemented in derived class) More... | |
virtual bool | setParametersForRunRange (const RunRange &rr) |
virtual void | startNewLoop () |
virtual void | terminate (const edm::EventSetup &iSetup)=0 |
Call at end of each loop (must be implemented in derived class) More... | |
virtual | ~AlignmentAlgorithmBase () |
Destructor. More... | |
Definition at line 35 of file AlignmentAlgorithmBase.h.
typedef std::pair<const Trajectory*, const reco::Track*> AlignmentAlgorithmBase::ConstTrajTrackPair |
Definition at line 40 of file AlignmentAlgorithmBase.h.
typedef std::vector< ConstTrajTrackPair > AlignmentAlgorithmBase::ConstTrajTrackPairCollection |
Definition at line 41 of file AlignmentAlgorithmBase.h.
Definition at line 42 of file AlignmentAlgorithmBase.h.
typedef std::pair<RunNumber,RunNumber> AlignmentAlgorithmBase::RunRange |
Definition at line 43 of file AlignmentAlgorithmBase.h.
AlignmentAlgorithmBase::AlignmentAlgorithmBase | ( | const edm::ParameterSet & | cfg | ) |
|
inlinevirtual |
|
inlinevirtual |
Pass integrated calibrations to algorithm, to be called after initialize(..). (Calibrations' ownership is NOT passed to algorithm.) Return whether feature is supported by algorithm, default implementation returns false.
Reimplemented in MillePedeAlignmentAlgorithm.
Definition at line 101 of file AlignmentAlgorithmBase.h.
Referenced by AlignmentProducer::beginOfJob().
|
inlinevirtual |
called at begin of luminosity block (no lumi block info passed yet)
Definition at line 120 of file AlignmentAlgorithmBase.h.
Referenced by AlignmentProducer::beginLuminosityBlock().
|
inlinevirtual |
called at begin of run
Definition at line 114 of file AlignmentAlgorithmBase.h.
Referenced by AlignmentProducer::beginRun().
|
inlinevirtual |
called at end of luminosity block (no lumi block info passed yet)
Definition at line 123 of file AlignmentAlgorithmBase.h.
Referenced by AlignmentProducer::endLuminosityBlock().
|
inlinevirtual |
called at end of run - order of arguments like in EDProducer etc.
Definition at line 117 of file AlignmentAlgorithmBase.h.
Referenced by AlignmentProducer::endRun().
|
pure virtual |
Call at beginning of job (must be implemented in derived class)
Implemented in MuonAlignmentFromReference, ApeSettingAlgorithm, CSCOverlapsAlignmentAlgorithm, MillePedeAlignmentAlgorithm, HIPAlignmentAlgorithm, MuonMillepedeAlgorithm, and SurveyAlignmentAlgorithm.
Referenced by AlignmentProducer::beginOfJob().
|
pure virtual |
Run the algorithm (must be implemented in derived class)
Implemented in MuonAlignmentFromReference, MillePedeAlignmentAlgorithm, ApeSettingAlgorithm, CSCOverlapsAlignmentAlgorithm, MuonDTLocalMillepedeAlgorithm, HIPAlignmentAlgorithm, MuonMillepedeAlgorithm, and SurveyAlignmentAlgorithm.
Referenced by Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), and AlignmentProducer::duringLoop().
|
inlinevirtual |
called in order to pass parameters to alignables for a specific run range in case the algorithm supports run range dependent alignment.
Reimplemented in MillePedeAlignmentAlgorithm.
Definition at line 127 of file AlignmentAlgorithmBase.h.
Referenced by AlignmentProducer::endOfJob().
|
inlinevirtual |
Call at start of loop Default implementation is dummy for non-iterative algorithms
Reimplemented in MuonAlignmentFromReference, and HIPAlignmentAlgorithm.
Definition at line 105 of file AlignmentAlgorithmBase.h.
Referenced by AlignmentProducer::startingNewLoop().
|
pure virtual |
Call at end of each loop (must be implemented in derived class)
Implemented in MuonAlignmentFromReference, MillePedeAlignmentAlgorithm, ApeSettingAlgorithm, CSCOverlapsAlignmentAlgorithm, SurveyAlignmentAlgorithm, HIPAlignmentAlgorithm, and MuonMillepedeAlgorithm.
Referenced by AlignmentProducer::endOfLoop().