#include <PedeSteererWeakModeConstraints.h>
Public Member Functions | |
unsigned int | constructConstraints (const align::Alignables &) |
std::list< GeometryConstraintConfigData > & | getConfigData () |
PedeSteererWeakModeConstraints (AlignableTracker *aliTracker, const PedeLabelerBase *labels, const std::vector< edm::ParameterSet > &config, std::string sf) | |
~PedeSteererWeakModeConstraints () | |
Private Types | |
enum | SystematicDeformations { kUnknown = 0, kTwist, kZexpansion, kSagitta, kRadial, kTelescope, kLayerRotation, kElliptical, kBowing, kSkew } |
Private Member Functions | |
bool | checkMother (const Alignable *const lowleveldet, const Alignable *const HLS) const |
bool | checkSelectionShiftParameter (const Alignable *ali, unsigned int iParameter) const |
void | closeOutputfiles () |
unsigned int | createAlignablesDataStructure () |
double | getCoefficient (const int sysdeformation, const align::GlobalPoint &pos, const GlobalPoint gUDirection, const GlobalPoint gVDirection, const GlobalPoint gWDirection, const int iParameter, const double &x0, const std::vector< double > &constraintparameters) const |
std::pair< align::GlobalPoint, align::GlobalPoint > | getDoubleSensorPosition (const Alignable *ali) const |
std::ofstream * | getFile (const GeometryConstraintConfigData &it, const Alignable *iHLS) const |
double | getPhase (const std::vector< double > &coefficients) const |
double | getX (const int sysdeformation, const align::GlobalPoint &pos, const double phase) const |
double | getX0 (const std::pair< Alignable *, std::list< Alignable * > > &iHLS, const GeometryConstraintConfigData &it) const |
const std::vector< std::pair< Alignable *, std::string > > | makeLevelsFilenames (std::set< std::string > &steerFilePrefixContainer, const align::Alignables &alis, const std::string &steerFilePrefix) const |
int | verifyDeformationName (const std::string &name, const std::vector< double > &coefficients) const |
void | verifyParameterNames (const edm::ParameterSet &pset, unsigned int psetnr) const |
void | writeOutput (const std::list< std::pair< unsigned int, double > > &output, const GeometryConstraintConfigData &it, const Alignable *iHLS, double sum_xi_x0) |
Private Attributes | |
const AlignableObjectId | alignableObjectId_ |
std::list< GeometryConstraintConfigData > | ConstraintsConfigContainer_ |
std::list< align::ID > | deadmodules_ |
const std::vector< edm::ParameterSet > | myConfig_ |
const PedeLabelerBase * | myLabels_ |
const std::string | steerFile_ |
Provides steering of weak mode constraints for Pede according to configuration
Definition at line 56 of file PedeSteererWeakModeConstraints.h.
Enumerator | |
---|---|
kUnknown | |
kTwist | |
kZexpansion | |
kSagitta | |
kRadial | |
kTelescope | |
kLayerRotation | |
kElliptical | |
kBowing | |
kSkew |
Definition at line 141 of file PedeSteererWeakModeConstraints.h.
|
default |
Referenced by getPhase().
PedeSteererWeakModeConstraints::PedeSteererWeakModeConstraints | ( | AlignableTracker * | aliTracker, |
const PedeLabelerBase * | labels, | ||
const std::vector< edm::ParameterSet > & | config, | ||
std::string | sf | ||
) |
Definition at line 76 of file PedeSteererWeakModeConstraints.cc.
References AlignmentParameterSelector::addSelections(), AlignmentParameterSelector::clear(), AlignableObjectId::commonObjectIdProvider(), ConstraintsConfigContainer_, deadmodules_, symbols::dm, spr::find(), instance, makeLevelsFilenames(), PedeLabelerBase::maxNumberOfParameterInstances(), myConfig_, myLabels_, dataset::name, muonDTDigis_cfi::pset, AlignmentParameterSelector::selectedAlignables(), AlCaHLTBitMon_QueryRunRegistry::string, create_public_lumi_plots::transform, verifyDeformationName(), and verifyParameterNames().
|
private |
Definition at line 698 of file PedeSteererWeakModeConstraints.cc.
References Alignable::alignableObjectId(), Alignable::id(), and Alignable::mother().
Referenced by createAlignablesDataStructure().
|
private |
Definition at line 413 of file PedeSteererWeakModeConstraints.cc.
References Alignable::alignableObjectId(), alignableObjectId_, Alignable::alignmentParameters(), Exception, Alignable::globalPosition(), AlignableObjectId::idToString(), AlignmentParameters::selector(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by constructConstraints(), and getX0().
|
private |
Definition at line 450 of file PedeSteererWeakModeConstraints.cc.
References ConstraintsConfigContainer_, and Exception.
Referenced by constructConstraints().
unsigned int PedeSteererWeakModeConstraints::constructConstraints | ( | const align::Alignables & | alis | ) |
Definition at line 568 of file PedeSteererWeakModeConstraints.cc.
References Abs(), PedeLabelerBase::alignableLabelFromParamAndInstance(), Alignable::alignableObjectId(), alignableObjectId_, Alignable::alignmentParameters(), checkSelectionShiftParameter(), closeOutputfiles(), ConstraintsConfigContainer_, createAlignablesDataStructure(), Exception, spr::find(), Alignable::geomDetId(), getCoefficient(), getDoubleSensorPosition(), getFile(), getPhase(), getX(), getX0(), Alignable::globalPosition(), AlignableObjectId::idToString(), AlignmentParametersFactory::kTwoBowedSurfaces, myLabels_, GetRecoTauVFromDQM_MC_cff::outFile, convertSQLitetoXML_cfg::output, PedeLabelerBase::parameterLabel(), runGCPTkAlMap::phase, DetId::rawId(), AlignmentParameters::size(), Alignable::surface(), AlignableSurface::toGlobal(), AlignmentParameters::type(), writeOutput(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by PedeSteerer::buildSubSteer().
|
private |
Definition at line 186 of file PedeSteererWeakModeConstraints.cc.
References align::AlignableDet, align::AlignableDetUnit, alignableObjectId_, checkMother(), ConstraintsConfigContainer_, deadmodules_, Exception, and AlignableObjectId::idToString().
Referenced by constructConstraints().
|
private |
Definition at line 307 of file PedeSteererWeakModeConstraints.cc.
References Abs(), Exception, getPhase(), getX(), gen::n, runGCPTkAlMap::phase, alignCSCRings::r, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by constructConstraints().
|
inline |
Definition at line 70 of file PedeSteererWeakModeConstraints.h.
References ws_sso_content_reader::getFile(), list(), dataset::name, convertSQLitetoXML_cfg::output, runGCPTkAlMap::phase, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by PedeSteerer::buildSubSteer().
|
private |
Definition at line 164 of file PedeSteererWeakModeConstraints.cc.
References Alignable::alignmentParameters(), Exception, AlignableSurface::length(), Alignable::surface(), AlignableSurface::toGlobal(), and TwoBowedSurfacesAlignmentParameters::ySplit().
Referenced by constructConstraints(), and getX0().
|
private |
Definition at line 491 of file PedeSteererWeakModeConstraints.cc.
References Alignable::alignableObjectId(), FrontierConditions_GlobalTag_cff::file, Alignable::id(), GeometryConstraintConfigData::levelsFilenames_, and GeometryConstraintConfigData::mapFileName_.
Referenced by constructConstraints(), and writeOutput().
|
private |
Definition at line 817 of file PedeSteererWeakModeConstraints.cc.
References ~PedeSteererWeakModeConstraints().
Referenced by constructConstraints(), getCoefficient(), and getX0().
|
private |
Definition at line 272 of file PedeSteererWeakModeConstraints.cc.
References runGCPTkAlMap::phase, PV3DBase< T, PVType, FrameType >::phi(), alignCSCRings::r, x, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by constructConstraints(), getCoefficient(), and getX0().
|
private |
Definition at line 512 of file PedeSteererWeakModeConstraints.cc.
References checkSelectionShiftParameter(), GeometryConstraintConfigData::coefficients_, Exception, getDoubleSensorPosition(), getPhase(), getX(), AlignmentParametersFactory::kTwoBowedSurfaces, runGCPTkAlMap::phase, and GeometryConstraintConfigData::sysdeformation_.
Referenced by constructConstraints().
|
private |
Definition at line 733 of file PedeSteererWeakModeConstraints.cc.
References alignableObjectId_, Exception, AlignableObjectId::idToString(), gen::n, and steerFile_.
Referenced by PedeSteererWeakModeConstraints().
|
private |
Definition at line 759 of file PedeSteererWeakModeConstraints.cc.
References Exception, and ecaldqm::kUnknown.
Referenced by PedeSteererWeakModeConstraints().
|
private |
Definition at line 713 of file PedeSteererWeakModeConstraints.cc.
References Exception, edm::ParameterSet::getParameterNames(), and dataset::name.
Referenced by PedeSteererWeakModeConstraints().
|
private |
Definition at line 468 of file PedeSteererWeakModeConstraints.cc.
References GeometryConstraintConfigData::coefficients_, Exception, alignBH_cfg::fixed, getFile(), checklumidiff::ofile, and convertSQLitetoXML_cfg::output.
Referenced by constructConstraints().
|
private |
Definition at line 138 of file PedeSteererWeakModeConstraints.h.
Referenced by checkSelectionShiftParameter(), constructConstraints(), createAlignablesDataStructure(), and makeLevelsFilenames().
|
private |
Definition at line 130 of file PedeSteererWeakModeConstraints.h.
Referenced by closeOutputfiles(), constructConstraints(), createAlignablesDataStructure(), and PedeSteererWeakModeConstraints().
Definition at line 127 of file PedeSteererWeakModeConstraints.h.
Referenced by createAlignablesDataStructure(), and PedeSteererWeakModeConstraints().
|
private |
Definition at line 134 of file PedeSteererWeakModeConstraints.h.
Referenced by PedeSteererWeakModeConstraints().
|
private |
Definition at line 132 of file PedeSteererWeakModeConstraints.h.
Referenced by constructConstraints(), and PedeSteererWeakModeConstraints().
|
private |
Definition at line 136 of file PedeSteererWeakModeConstraints.h.
Referenced by makeLevelsFilenames().