1 #ifndef Alignment_MillePedeAlignmentAlgorithm_PedeLabelerBase_h
2 #define Alignment_MillePedeAlignmentAlgorithm_PedeLabelerBase_h
58 virtual void addCalibrations(
const std::vector<IntegratedCalibrationBase*> &iCals);
71 virtual unsigned int lasBeamLabel(
unsigned int lasBeamId)
const = 0;
73 virtual unsigned int parameterLabel(
unsigned int aliLabel,
unsigned int parNum)
const = 0;
83 int param=-1)
const = 0;
101 virtual std::pair<IntegratedCalibrationBase*, unsigned int>
113 unsigned int paramNum)
const;
virtual const RunRange & runRangeFromLabel(unsigned int label) const
AlignmentAlgorithmBase::RunNumber RunNumber
virtual Alignable * alignableFromLabel(unsigned int label) const =0
const TopLevelAlignables topLevelAlignables_
cond::RealTimeType< cond::runnumber >::type RunNumber
virtual unsigned int alignableLabelFromLabel(unsigned int label) const =0
alignable label from parameter label (works also for alignable label...)
std::vector< std::pair< IntegratedCalibrationBase *, unsigned int > > theCalibrationLabels
pairs of calibrations and their first label
AlignmentAlgorithmBase::RunRange RunRange
static PFTauRenderPlugin instance
virtual unsigned int alignableLabel(Alignable *alignable) const =0
virtual ~PedeLabelerBase()
static const unsigned int theMinLabel
virtual unsigned int paramNumFromLabel(unsigned int paramLabel) const =0
parameter number, 0 <= .. < theMaxNumParam, belonging to unique parameter label
virtual unsigned int firstNonAlignableLabel() const
std::pair< RunNumber, RunNumber > RunRange
virtual unsigned int lasBeamLabel(unsigned int lasBeamId) const =0
Interface/Base class for alignment algorithms, each alignment algorithm has to be derived from this c...
const RunRange theOpenRunRange
define event information passed to algorithms
static const unsigned int theMaxNumParam
virtual unsigned int parameterLabel(unsigned int aliLabel, unsigned int parNum) const =0
returns the label for a given alignable parameter number combination
PedeLabelerBase(const TopLevelAlignables &alignables, const edm::ParameterSet &config)
constructor from three Alignables (null pointers allowed )
AlignableTracker * aliTracker_
MVATrainerComputer * calib
unsigned int parameterInstanceOffset() const
offset in labels between consecutive parameter instances of Alignable*s
TopLevelAlignables(AlignableTracker *aliTracker, AlignableMuon *aliMuon, AlignableExtras *extras)
const AlignableExtras * alignableExtras() const
Allows conversion between type and name, and vice-versa.
const AlignableTracker * alignableTracker() const
virtual unsigned int alignableLabelFromParamAndInstance(Alignable *alignable, unsigned int param, unsigned int instance) const =0
AlignableExtras * aliExtras_
const AlignableObjectId alignableObjectId_
static const unsigned int theParamInstanceOffset
std::vector< RunRange > RunRanges
virtual unsigned int calibrationLabel(const IntegratedCalibrationBase *calib, unsigned int paramNum) const
label for parameter 'paramNum' (counted from 0) of an integrated calibration
virtual unsigned int firstFreeLabel() const
virtual void addCalibrations(const std::vector< IntegratedCalibrationBase * > &iCals)
tell labeler to treat also integrated calibrations
virtual std::pair< IntegratedCalibrationBase *, unsigned int > calibrationParamFromLabel(unsigned int label) const
Constructor of the full muon geometry.
const AlignableMuon * alignableMuon() const
virtual unsigned int numberOfParameterInstances(Alignable *alignable, int param=-1) const =0
returns the number of instances for a given parameter
const AlignableObjectId & objectIdProvider() const
Return tracker alignable object ID provider derived from the tracker's geometry.
virtual unsigned int maxNumberOfParameterInstances() const =0
returns the maximum number of instances for any parameter of an Alignable*
virtual bool hasSplitParameters(Alignable *alignable) const =0
returns true if the alignable has parameters that are split into various bins
virtual unsigned int lasBeamIdFromLabel(unsigned int label) const =0