Go to the documentation of this file.
90 unsigned int iRunRange,
93 std::ofstream *&filePtr,
107 unsigned int presigmas(
const std::vector<edm::ParameterSet> &cffPresi,
Allows conversion between type and name, and vice-versa.
unsigned int presigmasFile(const std::string &fileName, const align::Alignables &, const AlignablePresigmasMap &aliPresisMap)
look for active 'alis' in map of presigma values and create steering file
double cmsToPedeFactor(unsigned int parNum) const
bool isCorrectToRefSystem(const align::Alignables &coordDefiners) const
std::set< const Alignable * > myNoHieraCollection
keeps track of created 'secondary' steering files
unsigned int hierarchyConstraints(const align::Alignables &, const std::string &file)
PedeSteerer(AlignableTracker *aliTracker, AlignableMuon *aliMuon, AlignableExtras *aliExtras, AlignmentParameterStore *store, const PedeLabelerBase *labels, const edm::ParameterSet &config, const std::string &defaultDir, bool noSteerFiles)
void correctToReferenceSystem()
unsigned int theMinHieraParPerConstr
min absolute value of coefficients in hierarchy constraints
std::string fileName(const std::string &addendum) const
full name with directory and 'idenitfier'
align::Alignables selectCoordinateAlis(const align::Alignables &) const
Alignable * theCoordMaster
Alignables deselected for hierarchy constr.
int fixParameter(Alignable *ali, unsigned int iRunRange, unsigned int iParam, char selector, std::ofstream *&filePtr, const std::string &fileName)
std::pair< unsigned int, unsigned int > fixParameters(const align::Alignables &, const std::string &file)
void hierarchyConstraint(const Alignable *ali, const align::Alignables &components, std::ofstream &file) const
int runPede(const std::string &masterSteer) const
run pede, masterSteer should be as returned from buildMasterSteer(...)
bool checkParameterChoices(const align::Alignables &) const
const PedeLabelerBase * myLabels
not the owner!
const AlignableObjectId alignableObjectId_
pointer to labeler (not the owner)
const AlignmentParameterStore * myParameterStore
std::string buildMasterSteer(const std::vector< std::string > &binaryFiles)
construct (and return name of) master steering file from config, binaryFiles etc.
std::ofstream * createSteerFile(const std::string &name, bool addToList)
create and open file with name, if (addToList) append to mySteeringFiles
int myParameterSign
whether or not to fill pede steering files with debug info
int parameterSign() const
results from pede (and start values for pede) might need a sign flip
const std::string & directory() const
directory from constructor input, '/' is attached if needed
Constructor of the full muon geometry.
bool myNoSteerFiles
directory of all files
void buildSubSteer(AlignableTracker *aliTracker, AlignableMuon *aliMuon, AlignableExtras *aliExtras)
construct steering files about hierarchy, fixing etc. an keep track of their names
std::vector< std::string > mySteeringFiles
precision for writing constraints to text file
double theMinHieraConstrCoeff
old pede versions (before May '07) need a sign flip...
bool isNoHiera(const Alignable *ali) const
True if 'ali' was deselected from hierarchy and any ancestor (e.g. mother) has parameters.
align::Alignables theCoordDefiners
master coordinates, must (?) be global frame
bool myIsSteerFileDebug
flag to write steering files to /dev/null
std::vector< Alignable * > Alignables
unsigned int theConstrPrecision
hierarchy constraints with less params are ignored
void defineCoordinates(const align::Alignables &, Alignable *aliMaster, const std::string &fileName)
std::map< const Alignable *, std::vector< float > > AlignablePresigmasMap
unsigned int presigmas(const std::vector< edm::ParameterSet > &cffPresi, const std::string &fileName, const align::Alignables &, AlignableTracker *aliTracker, AlignableMuon *aliMuon, AlignableExtras *aliExtras)
interprete content of presigma VPSet 'cffPresi' and call presigmasFile
unsigned int buildNoHierarchyCollection(const align::Alignables &)
const edm::ParameterSet myConfig