6 #ifndef CalibPPS_AlignmentRelative_AlignmentTask_h 7 #define CalibPPS_AlignmentRelative_AlignmentTask_h 51 static void buildGeometry(
const std::vector<unsigned int> &rpDecIds,
52 const std::vector<unsigned int> &excludedSensors,
void buildEqualMeanUMeanVRotZConstraints(std::vector< AlignmentConstraint > &constraints) const
adds constraints such that only mean-U and mean-V RotZ are equal for each strip RP ...
std::map< QuantityClass, std::map< DetIdDirIdxPair, unsigned int > > mapMeasurementIndeces
for each quantity class contains mapping (detector id, direction) –> measurement index ...
std::string quantityClassTag(QuantityClass) const
returns a string tag for the given quantity class
bool resolveShZ
whether to resolve detector shifts in z
void buildStandardConstraints(std::vector< AlignmentConstraint > &) const
builds the standard constraints
bool operator<(const DetIdDirIdxPair &other) const
AlignmentTask()
dummy constructor (not to be used)
void buildOneRotZPerPotConstraints(std::vector< AlignmentConstraint > &) const
adds constraints such that only 1 rot_z per RP is left
signed int getMeasurementIndex(QuantityClass cl, unsigned int detId, unsigned int dirIdx) const
returns measurement index (if non-existent, returns -1)
std::vector< QuantityClass > quantityClasses
list of quantity classes to be optimized
void buildIndexMaps()
builds "mapMatrixIndeces" from "geometry"
static void buildGeometry(const std::vector< unsigned int > &rpDecIds, const std::vector< unsigned int > &excludedSensors, const CTPPSGeometry *, double z0, AlignmentGeometry &geometry)
builds the alignment geometry
edm::ParameterSet fixedDetectorsConstraints
fixed detectors constraints from config file
bool resolveRotZ
whether to resolve detector rotations around z
Represents an alignment task.
detector shifts in first readout direction
AlignmentGeometry geometry
the geometry for this task
bool oneRotZPerPot
whether to resolve only 1 rot_z per RP
The manager class for TOTEM RP geometry.
detector shifts in second readout direction
QuantityClass
quantity classes
unsigned int measurementsOfClass(QuantityClass) const
returns the number of quantities of the given class
signed int getQuantityIndex(QuantityClass cl, unsigned int detId) const
returns measurement index (if non-existent, returns -1)
bool useEqualMeanUMeanVRotZConstraints
whether to apply the constraint mean U = mean V RotZ for strips ("standard" set of constraints only) ...
bool resolveShR
whether to resolve detector shifts in readout direction(s)
detector rotations around z
std::map< QuantityClass, std::map< unsigned int, unsigned int > > mapQuantityIndeces
for each quantity class contains mapping detector id –> quantity index
unsigned int quantitiesOfClass(QuantityClass) const
returns the number of quantities of the given class
edm::ParameterSet standardConstraints
settings of "standard" constraints from config file
void buildFixedDetectorsConstraints(std::vector< AlignmentConstraint > &) const
builds a set of fixed-detector constraints