#include <PedeSteererWeakModeConstraints.h>
Public Member Functions | |
unsigned int | constructConstraints (const std::vector< Alignable * > &alis) |
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 std::vector< Alignable * > &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 | |
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 55 of file PedeSteererWeakModeConstraints.h.
Enumerator | |
---|---|
kUnknown | |
kTwist | |
kZexpansion | |
kSagitta | |
kRadial | |
kTelescope | |
kLayerRotation | |
kElliptical | |
kBowing | |
kSkew |
Definition at line 137 of file PedeSteererWeakModeConstraints.h.
|
default |
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(), ConstraintsConfigContainer_, deadmodules_, symbols::dm, spr::find(), instance, makeLevelsFilenames(), PedeLabelerBase::maxNumberOfParameterInstances(), myConfig_, myLabels_, mergeVDriftHistosByStation::name, TrackValidation_cff::pset, AlignmentParameterSelector::selectedAlignables(), AlCaHLTBitMon_QueryRunRegistry::string, create_public_lumi_plots::transform, verifyDeformationName(), and verifyParameterNames().
|
private |
Definition at line 697 of file PedeSteererWeakModeConstraints.cc.
References Alignable::alignableObjectId(), Alignable::id(), and Alignable::mother().
Referenced by createAlignablesDataStructure().
|
private |
Definition at line 412 of file PedeSteererWeakModeConstraints.cc.
References Alignable::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 449 of file PedeSteererWeakModeConstraints.cc.
References ConstraintsConfigContainer_, and Exception.
Referenced by constructConstraints().
unsigned int PedeSteererWeakModeConstraints::constructConstraints | ( | const std::vector< Alignable * > & | alis | ) |
Definition at line 567 of file PedeSteererWeakModeConstraints.cc.
References Abs(), PedeLabelerBase::alignableLabelFromParamAndInstance(), Alignable::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(), 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 185 of file PedeSteererWeakModeConstraints.cc.
References align::AlignableDet, align::AlignableDetUnit, checkMother(), ConstraintsConfigContainer_, deadmodules_, Exception, and AlignableObjectId::idToString().
Referenced by constructConstraints().
|
private |
Definition at line 306 of file PedeSteererWeakModeConstraints.cc.
References Abs(), Exception, getPhase(), getX(), gen::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 163 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 490 of file PedeSteererWeakModeConstraints.cc.
References Alignable::alignableObjectId(), mergeVDriftHistosByStation::file, Alignable::id(), GeometryConstraintConfigData::levelsFilenames_, and GeometryConstraintConfigData::mapFileName_.
Referenced by constructConstraints(), and writeOutput().
|
private |
Definition at line 816 of file PedeSteererWeakModeConstraints.cc.
Referenced by constructConstraints(), getCoefficient(), and getX0().
|
private |
Definition at line 271 of file PedeSteererWeakModeConstraints.cc.
References 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 511 of file PedeSteererWeakModeConstraints.cc.
References checkSelectionShiftParameter(), GeometryConstraintConfigData::coefficients_, Exception, getDoubleSensorPosition(), getPhase(), getX(), AlignmentParametersFactory::kTwoBowedSurfaces, and GeometryConstraintConfigData::sysdeformation_.
Referenced by constructConstraints().
|
private |
Definition at line 732 of file PedeSteererWeakModeConstraints.cc.
References Exception, AlignableObjectId::idToString(), gen::n, and steerFile_.
Referenced by PedeSteererWeakModeConstraints().
|
private |
Definition at line 758 of file PedeSteererWeakModeConstraints.cc.
References Exception, and ecaldqm::kUnknown.
Referenced by PedeSteererWeakModeConstraints().
|
private |
Definition at line 712 of file PedeSteererWeakModeConstraints.cc.
References Exception, edm::ParameterSet::getParameterNames(), and mergeVDriftHistosByStation::name.
Referenced by PedeSteererWeakModeConstraints().
|
private |
Definition at line 467 of file PedeSteererWeakModeConstraints.cc.
References GeometryConstraintConfigData::coefficients_, Exception, getFile(), checklumidiff::ofile, and convertSQLitetoXML_cfg::output.
Referenced by constructConstraints().
|
private |
Definition at line 129 of file PedeSteererWeakModeConstraints.h.
Referenced by closeOutputfiles(), constructConstraints(), createAlignablesDataStructure(), getConfigData(), and PedeSteererWeakModeConstraints().
Definition at line 126 of file PedeSteererWeakModeConstraints.h.
Referenced by createAlignablesDataStructure(), and PedeSteererWeakModeConstraints().
|
private |
Definition at line 133 of file PedeSteererWeakModeConstraints.h.
Referenced by PedeSteererWeakModeConstraints().
|
private |
Definition at line 131 of file PedeSteererWeakModeConstraints.h.
Referenced by constructConstraints(), and PedeSteererWeakModeConstraints().
|
private |
Definition at line 135 of file PedeSteererWeakModeConstraints.h.
Referenced by makeLevelsFilenames().