#include <AlignmentAlgorithmBase.h>
Classes | |
struct | EndRunInfo |
define run information passed to algorithms (in endRun) More... | |
struct | 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 | |
AlignmentAlgorithmBase (const edm::ParameterSet &cfg) | |
Constructor. | |
virtual void | beginLuminosityBlock (const edm::EventSetup &setup) |
called at begin of luminosity block (no lumi block info passed yet) | |
virtual void | beginRun (const edm::EventSetup &setup) |
called at begin of run | |
virtual void | endLuminosityBlock (const edm::EventSetup &setup) |
called at end of luminosity block (no lumi block info passed yet) | |
virtual void | endRun (const EndRunInfo &runInfo, const edm::EventSetup &setup) |
called at end of run - order of arguments like in EDProducer etc. | |
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) | |
virtual void | run (const edm::EventSetup &setup, const EventInfo &eventInfo)=0 |
Run the algorithm (must be implemented in derived class) | |
virtual void | setParametersForRunRange (const RunRange &rr) |
virtual void | startNewLoop () |
virtual void | terminate ()=0 |
Call at end of job (must be implemented in derived class) | |
virtual | ~AlignmentAlgorithmBase () |
Destructor. |
Definition at line 32 of file AlignmentAlgorithmBase.h.
typedef std::pair<const Trajectory*, const reco::Track*> AlignmentAlgorithmBase::ConstTrajTrackPair |
Definition at line 37 of file AlignmentAlgorithmBase.h.
typedef std::vector< ConstTrajTrackPair > AlignmentAlgorithmBase::ConstTrajTrackPairCollection |
Definition at line 38 of file AlignmentAlgorithmBase.h.
typedef cond::RealTimeType<cond::runnumber>::type AlignmentAlgorithmBase::RunNumber |
Definition at line 39 of file AlignmentAlgorithmBase.h.
typedef std::pair<RunNumber,RunNumber> AlignmentAlgorithmBase::RunRange |
Definition at line 40 of file AlignmentAlgorithmBase.h.
AlignmentAlgorithmBase::AlignmentAlgorithmBase | ( | const edm::ParameterSet & | cfg | ) |
virtual AlignmentAlgorithmBase::~AlignmentAlgorithmBase | ( | ) | [inline, virtual] |
virtual void AlignmentAlgorithmBase::beginLuminosityBlock | ( | const edm::EventSetup & | setup | ) | [inline, virtual] |
called at begin of luminosity block (no lumi block info passed yet)
Definition at line 95 of file AlignmentAlgorithmBase.h.
Referenced by AlignmentProducer::beginLuminosityBlock().
{};
virtual void AlignmentAlgorithmBase::beginRun | ( | const edm::EventSetup & | setup | ) | [inline, virtual] |
called at begin of run
Definition at line 89 of file AlignmentAlgorithmBase.h.
Referenced by AlignmentProducer::beginRun().
{};
virtual void AlignmentAlgorithmBase::endLuminosityBlock | ( | const edm::EventSetup & | setup | ) | [inline, virtual] |
called at end of luminosity block (no lumi block info passed yet)
Definition at line 98 of file AlignmentAlgorithmBase.h.
Referenced by AlignmentProducer::endLuminosityBlock().
{};
virtual void AlignmentAlgorithmBase::endRun | ( | const EndRunInfo & | runInfo, |
const edm::EventSetup & | setup | ||
) | [inline, virtual] |
called at end of run - order of arguments like in EDProducer etc.
Definition at line 92 of file AlignmentAlgorithmBase.h.
Referenced by AlignmentProducer::endRun().
{};
virtual void AlignmentAlgorithmBase::initialize | ( | const edm::EventSetup & | setup, |
AlignableTracker * | tracker, | ||
AlignableMuon * | muon, | ||
AlignableExtras * | extras, | ||
AlignmentParameterStore * | store | ||
) | [pure virtual] |
Call at beginning of job (must be implemented in derived class)
Implemented in ApeSettingAlgorithm, HIPAlignmentAlgorithm, KalmanAlignmentAlgorithm, MillePedeAlignmentAlgorithm, CSCOverlapsAlignmentAlgorithm, MuonAlignmentFromReference, MuonMillepedeAlgorithm, and SurveyAlignmentAlgorithm.
Referenced by AlignmentProducer::beginOfJob().
virtual void AlignmentAlgorithmBase::run | ( | const edm::EventSetup & | setup, |
const EventInfo & | eventInfo | ||
) | [pure virtual] |
Run the algorithm (must be implemented in derived class)
Implemented in ApeSettingAlgorithm, HIPAlignmentAlgorithm, KalmanAlignmentAlgorithm, MillePedeAlignmentAlgorithm, CSCOverlapsAlignmentAlgorithm, MuonAlignmentFromReference, MuonDTLocalMillepedeAlgorithm, MuonMillepedeAlgorithm, and SurveyAlignmentAlgorithm.
Referenced by AlignmentProducer::duringLoop().
virtual void AlignmentAlgorithmBase::setParametersForRunRange | ( | const RunRange & | rr | ) | [inline, virtual] |
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 102 of file AlignmentAlgorithmBase.h.
Referenced by AlignmentProducer::endOfJob().
{};
virtual void AlignmentAlgorithmBase::startNewLoop | ( | void | ) | [inline, virtual] |
Call at start of loop Default implementation is dummy for non-iterative algorithms
Reimplemented in HIPAlignmentAlgorithm, and MuonAlignmentFromReference.
Definition at line 80 of file AlignmentAlgorithmBase.h.
Referenced by AlignmentProducer::startingNewLoop().
{}
virtual void AlignmentAlgorithmBase::terminate | ( | ) | [pure virtual] |
Call at end of job (must be implemented in derived class)
Implemented in ApeSettingAlgorithm, HIPAlignmentAlgorithm, KalmanAlignmentAlgorithm, MillePedeAlignmentAlgorithm, CSCOverlapsAlignmentAlgorithm, MuonAlignmentFromReference, MuonDTLocalMillepedeAlgorithm, MuonMillepedeAlgorithm, and SurveyAlignmentAlgorithm.
Referenced by AlignmentProducer::endOfLoop().