#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 |
PedeSteererWeakModeConstraints::PedeSteererWeakModeConstraints | ( | AlignableTracker * | aliTracker, |
const PedeLabelerBase * | labels, | ||
const std::vector< edm::ParameterSet > & | config, | ||
std::string | sf | ||
) |
Definition at line 68 of file PedeSteererWeakModeConstraints.cc.
References AlignableObjectId::commonObjectIdProvider().
|
private |
Definition at line 626 of file PedeSteererWeakModeConstraints.cc.
References Alignable::alignableObjectId(), Alignable::id(), and Alignable::mother().
Referenced by createAlignablesDataStructure().
|
private |
Definition at line 373 of file PedeSteererWeakModeConstraints.cc.
References Alignable::alignableObjectId(), alignableObjectId_, Alignable::alignmentParameters(), Exception, Alignable::globalPosition(), AlignableObjectId::idToString(), submitPVValidationJobs::params, 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 406 of file PedeSteererWeakModeConstraints.cc.
References ConstraintsConfigContainer_, Exception, and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.
Referenced by constructConstraints().
unsigned int PedeSteererWeakModeConstraints::constructConstraints | ( | const align::Alignables & | alis | ) |
Definition at line 513 of file PedeSteererWeakModeConstraints.cc.
References 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(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, AlignmentParametersFactory::kTwoBowedSurfaces, myLabels_, L1TdeCSCTF_cfi::outFile, convertSQLitetoXML_cfg::output, PedeLabelerBase::parameterLabel(), volumeBasedMagneticField_160812_cfi::paramLabel, 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 160 of file PedeSteererWeakModeConstraints.cc.
References align::AlignableDet, align::AlignableDetUnit, alignableObjectId_, checkMother(), ConstraintsConfigContainer_, deadmodules_, Exception, and AlignableObjectId::idToString().
Referenced by constructConstraints().
|
private |
Definition at line 271 of file PedeSteererWeakModeConstraints.cc.
References Exception, getPhase(), getX(), dqmiodumpmetadata::n, 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 69 of file PedeSteererWeakModeConstraints.h.
References ConstraintsConfigContainer_.
Referenced by PedeSteerer::buildSubSteer().
|
private |
Definition at line 141 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 442 of file PedeSteererWeakModeConstraints.cc.
References Alignable::alignableObjectId(), geometryDiff::file, Alignable::id(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.
Referenced by constructConstraints(), and writeOutput().
|
private |
Definition at line 729 of file PedeSteererWeakModeConstraints.cc.
Referenced by constructConstraints(), getCoefficient(), and getX0().
|
private |
Definition at line 238 of file PedeSteererWeakModeConstraints.cc.
References alignCSCRings::r, and x.
Referenced by constructConstraints(), getCoefficient(), and getX0().
|
private |
Definition at line 460 of file PedeSteererWeakModeConstraints.cc.
References checkSelectionShiftParameter(), GeometryConstraintConfigData::coefficients_, Exception, getDoubleSensorPosition(), getPhase(), getX(), AlignmentParametersFactory::kTwoBowedSurfaces, and GeometryConstraintConfigData::sysdeformation_.
Referenced by constructConstraints().
|
private |
Definition at line 651 of file PedeSteererWeakModeConstraints.cc.
References alignableObjectId_, Exception, AlignableObjectId::idToString(), dqmiodumpmetadata::n, and steerFile_.
|
private |
Definition at line 676 of file PedeSteererWeakModeConstraints.cc.
References Exception, ecaldqm::kUnknown, and Skims_PA_cff::name.
|
private |
Definition at line 638 of file PedeSteererWeakModeConstraints.cc.
References Exception, Skims_PA_cff::name, and muonDTDigis_cfi::pset.
|
private |
Definition at line 422 of file PedeSteererWeakModeConstraints.cc.
References Exception, alignBH_cfg::fixed, getFile(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.
Referenced by constructConstraints().
|
private |
Definition at line 139 of file PedeSteererWeakModeConstraints.h.
Referenced by checkSelectionShiftParameter(), constructConstraints(), createAlignablesDataStructure(), and makeLevelsFilenames().
|
private |
Definition at line 131 of file PedeSteererWeakModeConstraints.h.
Referenced by closeOutputfiles(), constructConstraints(), createAlignablesDataStructure(), and getConfigData().
|
private |
Definition at line 128 of file PedeSteererWeakModeConstraints.h.
Referenced by createAlignablesDataStructure().
|
private |
Definition at line 135 of file PedeSteererWeakModeConstraints.h.
|
private |
Definition at line 133 of file PedeSteererWeakModeConstraints.h.
Referenced by constructConstraints().
|
private |
Definition at line 137 of file PedeSteererWeakModeConstraints.h.
Referenced by makeLevelsFilenames().