Alignment
SurveyAnalysis
interface
SurveyAlignment.h
Go to the documentation of this file.
1
#ifndef Alignment_SurveyAnalysis_SurveyAlignment_h
2
#define Alignment_SurveyAnalysis_SurveyAlignment_h
3
13
#include "
Alignment/CommonAlignment/interface/StructureType.h
"
14
#include "
Alignment/CommonAlignment/interface/Utilities.h
"
15
16
class
SurveyAlignment
{
17
protected
:
18
public
:
20
SurveyAlignment
(
const
align::Alignables
& sensors,
const
std::vector<align::StructureType>&
levels
);
21
22
virtual
~SurveyAlignment
() {}
23
25
void
iterate
(
unsigned
int
nIteration,
// number of iterations
26
const
std::string
&
fileName
,
// name of output file
27
bool
bias =
false
// true for biased residuals
28
);
29
30
protected
:
32
virtual
void
findAlignPars
(
bool
bias =
false
// true for biased residuals
33
) = 0;
34
36
virtual
void
shiftSensors
();
37
38
const
align::Alignables
&
theSensors
;
39
const
std::vector<align::StructureType>&
theLevels
;
40
};
41
42
#endif
StructureType.h
SurveyAlignment::iterate
void iterate(unsigned int nIteration, const std::string &fileName, bool bias=false)
Run the iteration: find residuals, write to output, shift sensors.
Definition:
SurveyAlignment.cc:36
SurveyAlignment::theLevels
const std::vector< align::StructureType > & theLevels
Definition:
SurveyAlignment.h:39
MillePedeFileConverter_cfg.fileName
fileName
Definition:
MillePedeFileConverter_cfg.py:32
SurveyAlignment::SurveyAlignment
SurveyAlignment(const align::Alignables &sensors, const std::vector< align::StructureType > &levels)
Constructor to set the sensors and residual levels.
Definition:
SurveyAlignment.cc:9
SurveyAlignment::~SurveyAlignment
virtual ~SurveyAlignment()
Definition:
SurveyAlignment.h:22
Utilities.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
SurveyAlignment::findAlignPars
virtual void findAlignPars(bool bias=false)=0
Find the alignment parameters for all sensors.
align::Alignables
std::vector< Alignable * > Alignables
Definition:
Utilities.h:31
SurveyAlignment::theSensors
const align::Alignables & theSensors
Definition:
SurveyAlignment.h:38
SurveyAlignment::shiftSensors
virtual void shiftSensors()
Apply the alignment parameters to all sensors.
Definition:
SurveyAlignment.cc:12
SurveyAlignment
Definition:
SurveyAlignment.h:16
jets_cff.levels
levels
Definition:
jets_cff.py:21
Generated for CMSSW Reference Manual by
1.8.16