1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef __LASGEOMETRYUPDATER_H
#define __LASGEOMETRYUPDATER_H
#include <vector>
#include <cmath>
#include "Alignment/TrackerAlignment/interface/AlignableTracker.h"
#include "Alignment/LaserAlignment/interface/LASEndcapAlignmentParameterSet.h"
#include "Alignment/LaserAlignment/interface/LASBarrelAlignmentParameterSet.h"
#include "Alignment/LaserAlignment/interface/LASGlobalData.h"
#include "Alignment/LaserAlignment/interface/LASCoordinateSet.h"
#include "Alignment/LaserAlignment/interface/LASGlobalLoop.h"
#include "Alignment/LaserAlignment/interface/LASConstants.h"
class LASGeometryUpdater {
public:
LASGeometryUpdater(LASGlobalData<LASCoordinateSet>&, LASConstants&);
void ApplyBeamKinkCorrections(LASGlobalData<LASCoordinateSet>&) const;
void EndcapUpdate(LASEndcapAlignmentParameterSet&, LASGlobalData<LASCoordinateSet>&);
void TrackerUpdate(LASEndcapAlignmentParameterSet&, LASBarrelAlignmentParameterSet&, AlignableTracker&);
void SetReverseDirection(bool);
void SetMisalignmentFromRefGeometry(bool);
private:
LASGlobalData<LASCoordinateSet> nominalCoordinates;
LASConstants lasConstants;
bool isReverseDirection;
bool isMisalignmentFromRefGeometry;
};
#endif
|