#include <Alignment/CommonAlignmentAlgorithm/interface/AlignmentAlgorithmBase.h>
Public Types | |
typedef std::pair< const Trajectory *, const reco::Track * > | ConstTrajTrackPair |
typedef std::vector < ConstTrajTrackPair > | ConstTrajTrackPairCollection |
Public Member Functions | |
AlignmentAlgorithmBase (const edm::ParameterSet &cfg) | |
Constructor. | |
virtual void | initialize (const edm::EventSetup &setup, AlignableTracker *tracker, AlignableMuon *muon, AlignmentParameterStore *store)=0 |
Call at beginning of job (must be implemented in derived class). | |
virtual void | run (const edm::EventSetup &setup, const ConstTrajTrackPairCollection &tracks)=0 |
Run the algorithm on trajectories and tracks (must be implemented in derived class). | |
virtual void | startNewLoop (void) |
Call at start of loop Default implementation is dummy for non-iterative algorithms. | |
virtual void | terminate (void)=0 |
Call at end of job (must be implemented in derived class). | |
virtual | ~AlignmentAlgorithmBase () |
Destructor. |
Definition at line 21 of file AlignmentAlgorithmBase.h.
typedef std::pair<const Trajectory*, const reco::Track*> AlignmentAlgorithmBase::ConstTrajTrackPair |
Definition at line 26 of file AlignmentAlgorithmBase.h.
typedef std::vector< ConstTrajTrackPair > AlignmentAlgorithmBase::ConstTrajTrackPairCollection |
Definition at line 27 of file AlignmentAlgorithmBase.h.
AlignmentAlgorithmBase::AlignmentAlgorithmBase | ( | const edm::ParameterSet & | cfg | ) |
virtual AlignmentAlgorithmBase::~AlignmentAlgorithmBase | ( | ) | [inline, virtual] |
virtual void AlignmentAlgorithmBase::initialize | ( | const edm::EventSetup & | setup, | |
AlignableTracker * | tracker, | |||
AlignableMuon * | muon, | |||
AlignmentParameterStore * | store | |||
) | [pure virtual] |
Call at beginning of job (must be implemented in derived class).
Implemented in HIPAlignmentAlgorithm, KalmanAlignmentAlgorithm, MillePedeAlignmentAlgorithm, and SurveyAlignmentAlgorithm.
Referenced by AlignmentProducer::beginOfJob().
virtual void AlignmentAlgorithmBase::run | ( | const edm::EventSetup & | setup, | |
const ConstTrajTrackPairCollection & | tracks | |||
) | [pure virtual] |
Run the algorithm on trajectories and tracks (must be implemented in derived class).
Referenced by AlignmentProducer::duringLoop().
Call at start of loop Default implementation is dummy for non-iterative algorithms.
Reimplemented in HIPAlignmentAlgorithm.
Definition at line 42 of file AlignmentAlgorithmBase.h.
Referenced by AlignmentProducer::startingNewLoop().
Call at end of job (must be implemented in derived class).
Implemented in HIPAlignmentAlgorithm, KalmanAlignmentAlgorithm, MillePedeAlignmentAlgorithm, and SurveyAlignmentAlgorithm.
Referenced by AlignmentProducer::endOfLoop().