CMS 3D CMS Logo

IdealResult.h
Go to the documentation of this file.
1 /****************************************************************************
2 * Authors:
3 * Jan Kašpar (jan.kaspar@gmail.com)
4 ****************************************************************************/
5 
9 
11 
14 
16 
17 #include <vector>
18 
19 class AlignmentTask;
20 
25 protected:
27 
28 public:
31 
34 
35  ~IdealResult() override {}
36 
37  std::string getName() override { return "Ideal"; }
38 
39  bool hasErrorEstimate() override { return false; }
40 
41  void begin(const CTPPSGeometry *geometryReal, const CTPPSGeometry *geometryMisaligned) override;
42 
43  void feed(const HitCollection &, const LocalTrackFit &) override {}
44 
45  void saveDiagnostics(TDirectory *) override {}
46 
47  void analyze() override {}
48 
49  unsigned int solve(const std::vector<AlignmentConstraint> &,
50  std::map<unsigned int, AlignmentResult> &result,
51  TDirectory *dir) override;
52 
53  void end() override {}
54 };
IdealResult()
dummy constructor (not to be used)
Definition: IdealResult.h:30
std::string getName() override
Definition: IdealResult.h:37
Abstract parent for all (track-based) alignment algorithms.
unsigned int solve(const std::vector< AlignmentConstraint > &, std::map< unsigned int, AlignmentResult > &result, TDirectory *dir) override
Definition: IdealResult.cc:30
Local (linear) track description (or a fit result). Uses global reference system. ...
Definition: LocalTrackFit.h:15
Represents an alignment task.
Definition: AlignmentTask.h:20
edm::ESHandle< CTPPSGeometry > gMisaligned
Definition: IdealResult.h:26
void begin(const CTPPSGeometry *geometryReal, const CTPPSGeometry *geometryMisaligned) override
prepare for processing
Definition: IdealResult.cc:24
~IdealResult() override
Definition: IdealResult.h:35
void saveDiagnostics(TDirectory *) override
saves diagnostic histograms/plots
Definition: IdealResult.h:45
bool hasErrorEstimate() override
returns whether this algorithm is capable of estimating result uncertainties
Definition: IdealResult.h:39
Calculates the ideal result of the StraightTrackAlignment.
Definition: IdealResult.h:24
The manager class for TOTEM RP geometry.
Definition: CTPPSGeometry.h:30
edm::ESHandle< CTPPSGeometry > gReal
Definition: IdealResult.h:26
std::vector< Hit > HitCollection
Definition: HitCollection.h:35
void end() override
cleans up after processing
Definition: IdealResult.h:53
void feed(const HitCollection &, const LocalTrackFit &) override
process one track
Definition: IdealResult.h:43
void analyze() override
analyzes the data collected
Definition: IdealResult.h:47