#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 |
using | RunNumber = align::RunNumber |
using | RunRange = align::RunRange |
Public Member Functions | |
virtual bool | addCalibrations (const Calibrations &) |
bool | addCalibrations (const CalibrationsOwner &cals) |
AlignmentAlgorithmBase (const edm::ParameterSet &, const edm::ConsumesCollector &) | |
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::Run &, const edm::EventSetup &, bool changed) |
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 bool | processesEvents () |
Returns whether algorithm proccesses events in current configuration. 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 bool | storeAlignments () |
Returns whether algorithm produced results to be stored. More... | |
virtual bool | supportsCalibrations () |
virtual void | terminate () |
Called at end of job (must be implemented in derived class) More... | |
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 60 of file AlignmentAlgorithmBase.h.
typedef std::pair<const Trajectory *, const reco::Track *> AlignmentAlgorithmBase::ConstTrajTrackPair |
Definition at line 67 of file AlignmentAlgorithmBase.h.
typedef std::vector<ConstTrajTrackPair> AlignmentAlgorithmBase::ConstTrajTrackPairCollection |
Definition at line 68 of file AlignmentAlgorithmBase.h.
Definition at line 69 of file AlignmentAlgorithmBase.h.
Definition at line 70 of file AlignmentAlgorithmBase.h.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Pass integrated calibrations to algorithm, to be called after initialize() Calibrations' ownership is NOT passed to algorithm
Definition at line 132 of file AlignmentAlgorithmBase.h.
Referenced by addCalibrations().
|
inline |
Definition at line 134 of file AlignmentAlgorithmBase.h.
References addCalibrations(), and createJobs::tmp.
|
inlinevirtual |
called at begin of luminosity block (no lumi block info passed yet)
Reimplemented in MillePedeAlignmentAlgorithm.
Definition at line 170 of file AlignmentAlgorithmBase.h.
|
inlinevirtual |
called at begin of run
Reimplemented in MillePedeAlignmentAlgorithm.
Definition at line 164 of file AlignmentAlgorithmBase.h.
|
inlinevirtual |
called at end of luminosity block (no lumi block info passed yet)
Reimplemented in MillePedeAlignmentAlgorithm.
Definition at line 173 of file AlignmentAlgorithmBase.h.
|
inlinevirtual |
called at end of run - order of arguments like in EDProducer etc.
Reimplemented in MillePedeAlignmentAlgorithm.
Definition at line 167 of file AlignmentAlgorithmBase.h.
|
pure virtual |
Call at beginning of job (must be implemented in derived class)
Implemented in ApeSettingAlgorithm, MillePedeAlignmentAlgorithm, HIPAlignmentAlgorithm, MuonAlignmentFromReference, CSCOverlapsAlignmentAlgorithm, and SurveyAlignmentAlgorithm.
|
inlinevirtual |
Returns whether algorithm proccesses events in current configuration.
Reimplemented in MillePedeAlignmentAlgorithm.
Definition at line 144 of file AlignmentAlgorithmBase.h.
|
pure virtual |
Run the algorithm (must be implemented in derived class)
Implemented in MillePedeAlignmentAlgorithm, ApeSettingAlgorithm, HIPAlignmentAlgorithm, MuonAlignmentFromReference, CSCOverlapsAlignmentAlgorithm, and SurveyAlignmentAlgorithm.
Referenced by DTWorkflow.DTWorkflow::all(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), and o2olib.O2OTool::execute().
|
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 177 of file AlignmentAlgorithmBase.h.
|
inlinevirtual |
Called at start of loop, default implementation is dummy for non-iterative algorithms
Reimplemented in HIPAlignmentAlgorithm, and MuonAlignmentFromReference.
Definition at line 153 of file AlignmentAlgorithmBase.h.
|
inlinevirtual |
Returns whether algorithm produced results to be stored.
Reimplemented in MillePedeAlignmentAlgorithm.
Definition at line 147 of file AlignmentAlgorithmBase.h.
|
inlinevirtual |
Returns whether calibrations is supported by algorithm, default implementation returns false.
Reimplemented in MillePedeAlignmentAlgorithm.
Definition at line 129 of file AlignmentAlgorithmBase.h.
|
inlinevirtual |
Called at end of job (must be implemented in derived class)
Reimplemented in MillePedeAlignmentAlgorithm.
Definition at line 158 of file AlignmentAlgorithmBase.h.
|
pure virtual |
Call at end of each loop (must be implemented in derived class)
Implemented in HIPAlignmentAlgorithm, MuonAlignmentFromReference, MillePedeAlignmentAlgorithm, ApeSettingAlgorithm, CSCOverlapsAlignmentAlgorithm, and SurveyAlignmentAlgorithm.