Go to the documentation of this file. 1 #ifndef PEDESTEERERWEAKMODECONSTRAINTS_H
2 #define PEDESTEERERWEAKMODECONSTRAINTS_H
39 const std::vector<std::pair<Alignable *, std::string> > &alisFile,
43 const bool downToLowestLevel);
49 std::list<std::pair<Alignable *, std::list<Alignable *> > >
61 const std::vector<edm::ParameterSet> &
config,
92 double getPhase(
const std::vector<double> &coefficients)
const;
98 double getX0(
const std::pair<
Alignable *, std::list<Alignable *> > &iHLS,
108 const int iParameter,
110 const std::vector<double> &constraintparameters)
const;
120 std::set<std::string> &steerFilePrefixContainer,
135 const std::vector<edm::ParameterSet>
myConfig_;
int verifyDeformationName(const std::string &name, const std::vector< double > &coefficients) const
Allows conversion between type and name, and vice-versa.
std::list< GeometryConstraintConfigData > & getConfigData()
const std::vector< double > coefficients_
const std::vector< edm::ParameterSet > myConfig_
const int sysdeformation_
bool checkSelectionShiftParameter(const Alignable *ali, unsigned int iParameter) const
unsigned int constructConstraints(const align::Alignables &)
std::pair< align::GlobalPoint, align::GlobalPoint > getDoubleSensorPosition(const Alignable *ali) const
void verifyParameterNames(const edm::ParameterSet &pset, unsigned int psetnr) const
__host__ __device__ VT * co
PedeSteererWeakModeConstraints(AlignableTracker *aliTracker, const PedeLabelerBase *labels, const std::vector< edm::ParameterSet > &config, std::string sf)
double getPhase(const std::vector< double > &coefficients) const
const PedeLabelerBase * myLabels_
std::list< GeometryConstraintConfigData > ConstraintsConfigContainer_
const bool downToLowestLevel_
double getX0(const std::pair< Alignable *, std::list< Alignable * > > &iHLS, const GeometryConstraintConfigData &it) const
~PedeSteererWeakModeConstraints()
unsigned int createAlignablesDataStructure()
const std::vector< std::pair< Alignable *, std::string > > levelsFilenames_
std::list< align::ID > deadmodules_
const std::string constraintName_
const AlignableObjectId alignableObjectId_
static PFTauRenderPlugin instance
void writeOutput(const std::list< std::pair< unsigned int, double > > &output, const GeometryConstraintConfigData &it, const Alignable *iHLS, double sum_xi_x0)
std::vector< Alignable * > Alignables
std::ofstream * getFile(const GeometryConstraintConfigData &it, const Alignable *iHLS) const
std::list< std::pair< Alignable *, std::list< Alignable * > > > HLSsubdets_
GeometryConstraintConfigData(const std::vector< double > &co, const std::string &c, const std::vector< std::pair< Alignable *, std::string > > &alisFile, const int sd, const align::Alignables &ex, const int instance, const bool downToLowestLevel)
const std::string steerFile_
const std::vector< std::pair< Alignable *, std::string > > makeLevelsFilenames(std::set< std::string > &steerFilePrefixContainer, const align::Alignables &alis, const std::string &steerFilePrefix) const
bool checkMother(const Alignable *const lowleveldet, const Alignable *const HLS) const
double getX(const int sysdeformation, const align::GlobalPoint &pos, const double phase) const
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
const align::Alignables excludedAlignables_
std::map< std::string, std::ofstream * > mapFileName_