CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Types | Public Member Functions
AlignmentAlgorithmBase Class Referenceabstract

#include <AlignmentAlgorithmBase.h>

Inheritance diagram for AlignmentAlgorithmBase:
ApeSettingAlgorithm CSCOverlapsAlignmentAlgorithm HIPAlignmentAlgorithm KalmanAlignmentAlgorithm MillePedeAlignmentAlgorithm MuonAlignmentFromReference MuonDTLocalMillepedeAlgorithm MuonMillepedeAlgorithm SurveyAlignmentAlgorithm

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. 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 ()=0
 Call at end of job (must be implemented in derived class) More...
 
virtual ~AlignmentAlgorithmBase ()
 Destructor. More...
 

Detailed Description

Definition at line 32 of file AlignmentAlgorithmBase.h.

Member Typedef Documentation

Definition at line 37 of file AlignmentAlgorithmBase.h.

Definition at line 38 of file AlignmentAlgorithmBase.h.

Definition at line 39 of file AlignmentAlgorithmBase.h.

Definition at line 40 of file AlignmentAlgorithmBase.h.

Constructor & Destructor Documentation

AlignmentAlgorithmBase::AlignmentAlgorithmBase ( const edm::ParameterSet cfg)

Constructor.

Definition at line 5 of file AlignmentAlgorithmBase.cc.

6 {
7 
8 }
virtual AlignmentAlgorithmBase::~AlignmentAlgorithmBase ( )
inlinevirtual

Destructor.

Definition at line 70 of file AlignmentAlgorithmBase.h.

70 {};

Member Function Documentation

virtual void AlignmentAlgorithmBase::beginLuminosityBlock ( const edm::EventSetup setup)
inlinevirtual

called at begin of luminosity block (no lumi block info passed yet)

Definition at line 95 of file AlignmentAlgorithmBase.h.

Referenced by AlignmentProducer::beginLuminosityBlock().

95 {};
virtual void AlignmentAlgorithmBase::beginRun ( const edm::EventSetup setup)
inlinevirtual

called at begin of run

Definition at line 89 of file AlignmentAlgorithmBase.h.

Referenced by AlignmentProducer::beginRun().

89 {};
virtual void AlignmentAlgorithmBase::endLuminosityBlock ( const edm::EventSetup setup)
inlinevirtual

called at end of luminosity block (no lumi block info passed yet)

Definition at line 98 of file AlignmentAlgorithmBase.h.

Referenced by AlignmentProducer::endLuminosityBlock().

98 {};
virtual void AlignmentAlgorithmBase::endRun ( const EndRunInfo runInfo,
const edm::EventSetup setup 
)
inlinevirtual

called at end of run - order of arguments like in EDProducer etc.

Definition at line 92 of file AlignmentAlgorithmBase.h.

Referenced by AlignmentProducer::endRun().

92 {};
virtual void AlignmentAlgorithmBase::initialize ( const edm::EventSetup setup,
AlignableTracker tracker,
AlignableMuon muon,
AlignableExtras extras,
AlignmentParameterStore store 
)
pure virtual
virtual void AlignmentAlgorithmBase::run ( const edm::EventSetup setup,
const EventInfo eventInfo 
)
pure virtual
virtual bool AlignmentAlgorithmBase::setParametersForRunRange ( const RunRange rr)
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 102 of file AlignmentAlgorithmBase.h.

Referenced by AlignmentProducer::endOfJob().

102 { return false; };
virtual void AlignmentAlgorithmBase::startNewLoop ( void  )
inlinevirtual

Call at start of loop Default implementation is dummy for non-iterative algorithms

Reimplemented in MuonAlignmentFromReference, and HIPAlignmentAlgorithm.

Definition at line 80 of file AlignmentAlgorithmBase.h.

Referenced by AlignmentProducer::startingNewLoop().

80 {}
virtual void AlignmentAlgorithmBase::terminate ( )
pure virtual