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 };
CTPPSGeometry
The manager class for TOTEM RP geometry.
Definition: CTPPSGeometry.h:29
AlignmentTask
Represents an alignment task.
Definition: AlignmentTask.h:19
ESHandle.h
IdealResult
Calculates the ideal result of the StraightTrackAlignment.
Definition: IdealResult.h:24
IdealResult::IdealResult
IdealResult()
dummy constructor (not to be used)
Definition: IdealResult.h:30
IdealResult::gMisaligned
edm::ESHandle< CTPPSGeometry > gMisaligned
Definition: IdealResult.h:26
IdealResult::begin
void begin(const CTPPSGeometry *geometryReal, const CTPPSGeometry *geometryMisaligned) override
prepare for processing
Definition: IdealResult.cc:24
IdealResult::~IdealResult
~IdealResult() override
Definition: IdealResult.h:35
CTPPSGeometry.h
AlignmentAlgorithm
Abstract parent for all (track-based) alignment algorithms.
Definition: AlignmentAlgorithm.h:31
edm::ESHandle< CTPPSGeometry >
IdealResult::getName
std::string getName() override
Definition: IdealResult.h:37
IdealResult::hasErrorEstimate
bool hasErrorEstimate() override
returns whether this algorithm is capable of estimating result uncertainties
Definition: IdealResult.h:39
IdealResult::solve
unsigned int solve(const std::vector< AlignmentConstraint > &, std::map< unsigned int, AlignmentResult > &result, TDirectory *dir) override
Definition: IdealResult.cc:30
CTPPSRPAlignmentCorrectionData.h
IdealResult::saveDiagnostics
void saveDiagnostics(TDirectory *) override
saves diagnostic histograms/plots
Definition: IdealResult.h:45
edm::ParameterSet
Definition: ParameterSet.h:47
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
IdealResult::feed
void feed(const HitCollection &, const LocalTrackFit &) override
process one track
Definition: IdealResult.h:43
IdealResult::analyze
void analyze() override
analyzes the data collected
Definition: IdealResult.h:47
AlignmentAlgorithm.h
HitCollection
std::vector< Hit > HitCollection
Definition: HitCollection.h:34
IdealResult::end
void end() override
cleans up after processing
Definition: IdealResult.h:53
LocalTrackFit
Local (linear) track description (or a fit result). Uses global reference system.
Definition: LocalTrackFit.h:14
IdealResult::gReal
edm::ESHandle< CTPPSGeometry > gReal
Definition: IdealResult.h:26
EventSetup.h
CTPPSRPAlignmentCorrectionsData.h
mps_fire.result
result
Definition: mps_fire.py:311
ParameterSet.h
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23