Go to the documentation of this file.
6 #ifndef CalibPPS_AlignmentRelative_AlignmentGeometry_h
7 #define CalibPPS_AlignmentRelative_AlignmentGeometry_h
35 DetGeometry(
double _z = 0.,
double _sx = 0.,
double _sy = 0.,
bool _isU =
false)
45 throw cms::Exception(
"PPS") <<
"direction index " <<
idx <<
" not in the mapping.";
double dz
x, y and z components of the direction unit vector in global coordinates
std::map< unsigned int, DetGeometry > sensorGeometry
DetGeometry(double _z=0., double _sx=0., double _sy=0., bool _isU=false)
double z0
a characteristic z in mm
const DirectionData & getDirectionData(unsigned int idx) const
A structure to hold relevant geometrical information about one detector/sensor.
const std::map< unsigned int, DetGeometry > & getSensorMap() const
void insert(unsigned int id, const DetGeometry &g)
puts an element to the map
void setDirection(unsigned int idx, double dx, double dy, double dz)
const DetGeometry & get(unsigned int id) const
retrieves sensor geometry
double s
projection of (sx, sy) to (dx, dy)
double sy
detector nominal shift = detector center in global coordinates; in mm
double z
z postion at detector centre; mm
std::map< unsigned int, DirectionData > directionData
bool isValidSensorId(unsigned int id) const
check whether the sensor Id is valid (present in the map)
void print() const
Prints the geometry.
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
unsigned int getNumberOfDetectors() const
returns the number of detectors in the collection