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