#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 |
double | getPhase (const std::vector< double > &coefficients) const |
double | getX (const int sysdeformation, const align::GlobalPoint &pos, const double phase) const |
double | getX0 (std::list< std::pair< Alignable *, std::list< Alignable * > > >::iterator &iHLS, std::list< GeometryConstraintConfigData >::iterator &it) |
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 std::list< GeometryConstraintConfigData >::const_iterator &it, 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
(last update by
)
Definition at line 54 of file PedeSteererWeakModeConstraints.h.
Enumerator | |
---|---|
kUnknown | |
kTwist | |
kZexpansion | |
kSagitta | |
kRadial | |
kTelescope | |
kLayerRotation | |
kElliptical | |
kBowing | |
kSkew |
Definition at line 133 of file PedeSteererWeakModeConstraints.h.
PedeSteererWeakModeConstraints::~PedeSteererWeakModeConstraints | ( | ) |
Definition at line 762 of file PedeSteererWeakModeConstraints.cc.
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_, makeLevelsFilenames(), myConfig_, mergeVDriftHistosByStation::name, NULL, AlignmentParameterSelector::selectedAlignables(), AlCaHLTBitMon_QueryRunRegistry::string, create_public_lumi_plots::transform, verifyDeformationName(), and verifyParameterNames().
|
private |
Definition at line 640 of file PedeSteererWeakModeConstraints.cc.
References Alignable::alignableObjectId(), Alignable::id(), Alignable::mother(), and NULL.
Referenced by createAlignablesDataStructure().
|
private |
Definition at line 384 of file PedeSteererWeakModeConstraints.cc.
References Alignable::alignableObjectId(), Alignable::alignmentParameters(), edm::hlt::Exception, SelectionUserVariables::fullSelection(), Alignable::globalPosition(), AlignableObjectId::idToString(), AlignmentParameters::selector(), AlignmentParameters::userVariables(), 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 417 of file PedeSteererWeakModeConstraints.cc.
References ConstraintsConfigContainer_, and edm::hlt::Exception.
Referenced by constructConstraints().
unsigned int PedeSteererWeakModeConstraints::constructConstraints | ( | const std::vector< Alignable * > & | alis | ) |
Definition at line 526 of file PedeSteererWeakModeConstraints.cc.
References Abs(), PedeLabelerBase::alignableLabel(), Alignable::alignableObjectId(), Alignable::alignmentParameters(), checkSelectionShiftParameter(), closeOutputfiles(), ConstraintsConfigContainer_, createAlignablesDataStructure(), Alignable::geomDetId(), getCoefficient(), getDoubleSensorPosition(), getPhase(), getX(), getX0(), Alignable::globalPosition(), AlignableObjectId::idToString(), AlignmentParametersFactory::kTwoBowedSurfaces, list(), myLabels_, 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 168 of file PedeSteererWeakModeConstraints.cc.
References align::AlignableDet, align::AlignableDetUnit, checkMother(), ConstraintsConfigContainer_, deadmodules_, edm::hlt::Exception, and AlignableObjectId::idToString().
Referenced by constructConstraints().
|
private |
Definition at line 285 of file PedeSteererWeakModeConstraints.cc.
References Abs(), edm::hlt::Exception, getPhase(), getX(), 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 68 of file PedeSteererWeakModeConstraints.h.
References ConstraintsConfigContainer_.
Referenced by PedeSteerer::buildSubSteer().
|
private |
Definition at line 144 of file PedeSteererWeakModeConstraints.cc.
References Alignable::alignmentParameters(), edm::hlt::Exception, AlignableSurface::length(), Alignable::surface(), AlignableSurface::toGlobal(), and TwoBowedSurfacesAlignmentParameters::ySplit().
Referenced by constructConstraints(), and getX0().
|
private |
Definition at line 756 of file PedeSteererWeakModeConstraints.cc.
Referenced by constructConstraints(), getCoefficient(), and getX0().
|
private |
Definition at line 245 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 469 of file PedeSteererWeakModeConstraints.cc.
References Alignable::alignableObjectId(), Alignable::alignmentParameters(), checkSelectionShiftParameter(), edm::hlt::Exception, getDoubleSensorPosition(), getPhase(), getX(), Alignable::globalPosition(), AlignableObjectId::idToString(), AlignmentParametersFactory::kTwoBowedSurfaces, myLabels_, PedeLabelerBase::numberOfParameterInstances(), AlignmentParameters::size(), AlignmentParameters::type(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by constructConstraints().
|
private |
Definition at line 673 of file PedeSteererWeakModeConstraints.cc.
References edm::hlt::Exception, AlignableObjectId::idToString(), n, and steerFile_.
Referenced by PedeSteererWeakModeConstraints().
|
private |
Definition at line 700 of file PedeSteererWeakModeConstraints.cc.
References edm::hlt::Exception, and ecaldqm::kUnknown.
Referenced by PedeSteererWeakModeConstraints().
|
private |
Definition at line 653 of file PedeSteererWeakModeConstraints.cc.
References edm::hlt::Exception, edm::ParameterSet::getParameterNames(), mergeVDriftHistosByStation::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by PedeSteererWeakModeConstraints().
|
private |
Definition at line 435 of file PedeSteererWeakModeConstraints.cc.
References Alignable::alignableObjectId(), edm::hlt::Exception, Alignable::id(), list(), NULL, checklumidiff::ofile, and convertSQLitetoXML_cfg::output.
Referenced by constructConstraints().
|
private |
Definition at line 125 of file PedeSteererWeakModeConstraints.h.
Referenced by closeOutputfiles(), constructConstraints(), createAlignablesDataStructure(), getConfigData(), and PedeSteererWeakModeConstraints().
Definition at line 122 of file PedeSteererWeakModeConstraints.h.
Referenced by createAlignablesDataStructure(), and PedeSteererWeakModeConstraints().
|
private |
Definition at line 129 of file PedeSteererWeakModeConstraints.h.
Referenced by PedeSteererWeakModeConstraints().
|
private |
Definition at line 127 of file PedeSteererWeakModeConstraints.h.
Referenced by constructConstraints(), and getX0().
|
private |
Definition at line 131 of file PedeSteererWeakModeConstraints.h.
Referenced by makeLevelsFilenames().