#include <MillePedeVariables.h>
Public Member Functions | |
MillePedeVariables * | clone () const override |
const std::vector< float > & | diffBefore () const |
get array of differences to start value More... | |
std::vector< float > & | diffBefore () |
get array of differences to start value for changing it More... | |
const std::vector< float > & | globalCor () const |
get global correlation array More... | |
std::vector< float > & | globalCor () |
get global correlation array for changing it More... | |
unsigned int | hitsX () const |
get number of hits for x-measurement More... | |
unsigned int | hitsY () const |
get number of hits for y-measurement More... | |
void | increaseHitsX (unsigned int add=1) |
increase hits for x-measurement More... | |
void | increaseHitsY (unsigned int add=1) |
increase hits for y-measurement More... | |
bool | isFixed (unsigned int nParam) const |
true if parameter is fixed More... | |
const std::vector< bool > & | isValid () const |
get valid flag array More... | |
std::vector< bool > & | isValid () |
get valid flag array for changing it More... | |
unsigned int | label () const |
get alignable label as used by pede More... | |
MillePedeVariables (unsigned int nParams, unsigned int label, const std::string &name) | |
const std::string & | name () const |
get alignable name More... | |
const std::vector< float > & | parameter () const |
get array of parameters More... | |
std::vector< float > & | parameter () |
get array of parameters for changing it More... | |
const std::vector< float > & | preSigma () const |
get array of presigmas (<= 0: means fixed) More... | |
std::vector< float > & | preSigma () |
get array of presigmas (<= 0: means fixed) for changing it More... | |
bool | setAllDefault (unsigned int nParam) |
set default values for all data concerning nParam (false if nParam out of range) More... | |
void | setHitsX (unsigned int hitsX) |
void | setHitsY (unsigned int hitsY) |
void | setLabel (unsigned int label) |
set alignable label as used by pede More... | |
void | setName (const std::string &name) |
set alignable name More... | |
const std::vector< float > & | sigma () const |
get array of sigmas More... | |
std::vector< float > & | sigma () |
get array of sigmas for changing it More... | |
unsigned int | size () const |
number of parameters More... | |
~MillePedeVariables () override=default | |
Public Member Functions inherited from AlignmentUserVariables | |
virtual | ~AlignmentUserVariables () |
Private Member Functions | |
MillePedeVariables () | |
Private Attributes | |
std::vector< float > | myDiffBefore |
std::vector< float > | myGlobalCor |
unsigned int | myHitsX |
unsigned int | myHitsY |
std::vector< bool > | myIsValid |
unsigned int | myLabel |
std::string | myName |
std::vector< float > | myParameter |
<= 0 means fixed More... | |
std::vector< float > | myPreSigma |
std::vector< float > | mySigma |
container for millepede specific variables attached to AlignmentParameters
(last update by
)
Definition at line 21 of file MillePedeVariables.h.
MillePedeVariables::MillePedeVariables | ( | unsigned int | nParams, |
unsigned int | label, | ||
const std::string & | name | ||
) |
constructor
Definition at line 15 of file MillePedeVariables.cc.
References mps_fire::i, and setAllDefault().
|
overridedefault |
destructor
|
inlineprivate |
Definition at line 91 of file MillePedeVariables.h.
Referenced by clone().
|
inlineoverridevirtual |
clone method (using copy constructor)
Implements AlignmentUserVariables.
Definition at line 28 of file MillePedeVariables.h.
References MillePedeVariables().
|
inline |
get array of differences to start value
Definition at line 41 of file MillePedeVariables.h.
References myDiffBefore.
Referenced by MillePedeVariablesIORoot::readOne(), PedeReader::setParameter(), and MillePedeVariablesIORoot::writeOne().
|
inline |
get array of differences to start value for changing it
Definition at line 43 of file MillePedeVariables.h.
References myDiffBefore.
|
inline |
get global correlation array
Definition at line 46 of file MillePedeVariables.h.
References myGlobalCor.
Referenced by MillePedeVariablesIORoot::readOne(), PedeReader::setParameter(), and MillePedeVariablesIORoot::writeOne().
|
inline |
get global correlation array for changing it
Definition at line 48 of file MillePedeVariables.h.
References myGlobalCor.
|
inline |
get number of hits for x-measurement
Definition at line 76 of file MillePedeVariables.h.
References myHitsX.
Referenced by MillePedeAlignmentAlgorithm::addHits(), setHitsX(), and MillePedeVariablesIORoot::writeOne().
|
inline |
get number of hits for y-measurement
Definition at line 82 of file MillePedeVariables.h.
References myHitsY.
Referenced by MillePedeAlignmentAlgorithm::addHits(), setHitsY(), and MillePedeVariablesIORoot::writeOne().
|
inline |
increase hits for x-measurement
Definition at line 78 of file MillePedeVariables.h.
References PVValHelper::add(), and myHitsX.
Referenced by MillePedeAlignmentAlgorithm::addHitCount(), and MillePedeAlignmentAlgorithm::addHits().
|
inline |
increase hits for y-measurement
Definition at line 84 of file MillePedeVariables.h.
References PVValHelper::add(), and myHitsY.
Referenced by MillePedeAlignmentAlgorithm::addHitCount(), and MillePedeAlignmentAlgorithm::addHits().
bool MillePedeVariables::isFixed | ( | unsigned int | nParam | ) | const |
true if parameter is fixed
Definition at line 47 of file MillePedeVariables.cc.
References preSigma(), and size().
Referenced by PedeReader::setParameter().
|
inline |
get valid flag array
Definition at line 36 of file MillePedeVariables.h.
References myIsValid.
Referenced by ntupleDataFormat._Object::_checkIsValid(), MillePedeVariablesIORoot::readOne(), core.AutoHandle.AutoHandle::ReallyLoad(), PedeReader::setParameter(), and MillePedeVariablesIORoot::writeOne().
|
inline |
get valid flag array for changing it
Definition at line 38 of file MillePedeVariables.h.
References myIsValid.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
get alignable label as used by pede
Definition at line 66 of file MillePedeVariables.h.
References myLabel.
Referenced by setLabel(), PedeReader::setParameter(), and MillePedeVariablesIORoot::writeOne().
|
inline |
get alignable name
Definition at line 71 of file MillePedeVariables.h.
References myName.
Referenced by config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), setName(), and MillePedeVariablesIORoot::writeOne().
|
inline |
get array of parameters
Definition at line 61 of file MillePedeVariables.h.
References myParameter.
Referenced by MillePedeVariablesIORoot::readOne(), PedeReader::setParameter(), and MillePedeVariablesIORoot::writeOne().
|
inline |
get array of parameters for changing it
Definition at line 63 of file MillePedeVariables.h.
References myParameter.
|
inline |
get array of presigmas (<= 0: means fixed)
Definition at line 51 of file MillePedeVariables.h.
References myPreSigma.
Referenced by isFixed(), MillePedeVariablesIORoot::readOne(), PedeReader::setParameter(), and MillePedeVariablesIORoot::writeOne().
|
inline |
get array of presigmas (<= 0: means fixed) for changing it
Definition at line 53 of file MillePedeVariables.h.
References myPreSigma.
bool MillePedeVariables::setAllDefault | ( | unsigned int | nParam | ) |
set default values for all data concerning nParam (false if nParam out of range)
Definition at line 32 of file MillePedeVariables.cc.
References myDiffBefore, myGlobalCor, myIsValid, myParameter, myPreSigma, mySigma, l1tPFTracksFromL1Tracks_cfi::nParam, and size().
Referenced by MillePedeAlignmentAlgorithm::buildUserVariables(), MillePedeVariables(), and PedeReader::setParameter().
|
inline |
Definition at line 79 of file MillePedeVariables.h.
References hitsX(), and myHitsX.
Referenced by MillePedeVariablesIORoot::readOne().
|
inline |
Definition at line 85 of file MillePedeVariables.h.
References hitsY(), and myHitsY.
Referenced by MillePedeVariablesIORoot::readOne().
|
inline |
set alignable label as used by pede
Definition at line 68 of file MillePedeVariables.h.
References label(), and myLabel.
Referenced by SequenceTypes.DummyModule::__init__(), and SequenceTypes.DummyBooleanModule::__init__().
|
inline |
set alignable name
Definition at line 73 of file MillePedeVariables.h.
References myName, and name().
|
inline |
get array of sigmas
Definition at line 56 of file MillePedeVariables.h.
References mySigma.
Referenced by MillePedeVariablesIORoot::readOne(), PedeReader::setParameter(), and MillePedeVariablesIORoot::writeOne().
|
inline |
get array of sigmas for changing it
Definition at line 58 of file MillePedeVariables.h.
References mySigma.
|
inline |
number of parameters
Definition at line 33 of file MillePedeVariables.h.
References myIsValid.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), MillePedeAlignmentAlgorithm::addHits(), MillePedeAlignmentAlgorithm::buildUserVariables(), isFixed(), setAllDefault(), and MillePedeVariablesIORoot::writeOne().
|
private |
Definition at line 94 of file MillePedeVariables.h.
Referenced by diffBefore(), and setAllDefault().
|
private |
Definition at line 95 of file MillePedeVariables.h.
Referenced by globalCor(), and setAllDefault().
|
private |
Definition at line 99 of file MillePedeVariables.h.
Referenced by hitsX(), increaseHitsX(), and setHitsX().
|
private |
Definition at line 100 of file MillePedeVariables.h.
Referenced by hitsY(), increaseHitsY(), and setHitsY().
|
private |
Definition at line 93 of file MillePedeVariables.h.
Referenced by isValid(), setAllDefault(), and size().
|
private |
Definition at line 101 of file MillePedeVariables.h.
Referenced by label(), and setLabel().
|
private |
Definition at line 102 of file MillePedeVariables.h.
|
private |
<= 0 means fixed
Definition at line 97 of file MillePedeVariables.h.
Referenced by parameter(), and setAllDefault().
|
private |
Definition at line 96 of file MillePedeVariables.h.
Referenced by preSigma(), and setAllDefault().
|
private |
Definition at line 98 of file MillePedeVariables.h.
Referenced by setAllDefault(), and sigma().