Main Page
Namespaces
Classes
Package Documentation
Alignment
CommonAlignment
interface
AlignableExtras.h
Go to the documentation of this file.
1
#ifndef Alignment_CommonAlignment_AlignableExtras_H
2
#define Alignment_CommonAlignment_AlignableExtras_H
3
15
#include "
Alignment/CommonAlignment/interface/Alignable.h
"
16
#include "
Alignment/CommonAlignment/interface/AlignableMap.h
"
17
#include "
Alignment/CommonAlignment/interface/Utilities.h
"
18
19
class
AlignableExtras
20
{
21
public
:
22
23
typedef
align::Alignables
Alignables
;
24
26
explicit
AlignableExtras
();
27
29
Alignables&
subStructures
(
const
std::string
&subStructName) {
30
return
alignableLists_
.
find
(subStructName);
31
}
32
34
Alignables&
beamSpot
() {
return
this->
subStructures
(
"BeamSpot"
);}
35
36
const
Alignables&
components
()
const
{
return
components_
; }
37
39
Alignments
*
alignments
()
const
;
40
42
AlignmentErrorsExtended
*
alignmentErrors
()
const
;
43
44
void
dump
(
void
)
const
;
45
47
void
initializeBeamSpot
(
double
x
,
double
y
,
double
z
,
48
double
dxdz
,
double
dydz
);
49
51
void
resetBeamSpot
();
52
53
private
:
54
55
AlignableMap
alignableLists_
;
//< kind of map of lists of alignables
56
Alignables
components_
;
//< list of alignables
57
};
58
59
#endif //AlignableExtras_H
AlignableExtras::components_
Alignables components_
Definition:
AlignableExtras.h:56
AlignableExtras::AlignableExtras
AlignableExtras()
Constructor (builds all alignables)
Definition:
AlignableExtras.cc:22
Alignments
Definition:
Alignments.h:10
AlignableMap
Definition:
AlignableMap.h:29
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
AlignmentErrorsExtended
Definition:
AlignmentErrorsExtended.h:10
AlignableMap.h
AlignableExtras
Definition:
AlignableExtras.h:19
BeamSpotFakeParameters_cfi.dxdz
dxdz
Definition:
BeamSpotFakeParameters_cfi.py:12
AlignableMap::find
align::Alignables & find(const std::string &name="")
Definition:
AlignableMap.cc:15
AlignableExtras::alignableLists_
AlignableMap alignableLists_
Definition:
AlignableExtras.h:55
BeamSpotFakeParameters_cfi.dydz
dydz
Definition:
BeamSpotFakeParameters_cfi.py:13
AlignableExtras::subStructures
Alignables & subStructures(const std::string &subStructName)
Return alignables determined by name.
Definition:
AlignableExtras.h:29
Utilities.h
AlignableExtras::initializeBeamSpot
void initializeBeamSpot(double x, double y, double z, double dxdz, double dydz)
Initialize the alignable beam spot with the given parameters.
Definition:
AlignableExtras.cc:85
AlignableExtras::resetBeamSpot
void resetBeamSpot()
Initialize the alignable beam spot with the given parameters.
Definition:
AlignableExtras.cc:99
AlignableExtras::components
const Alignables & components() const
Definition:
AlignableExtras.h:36
AlignableExtras::dump
void dump(void) const
Definition:
AlignableExtras.cc:30
align::Alignables
std::vector< Alignable * > Alignables
Definition:
Utilities.h:32
AlignableExtras::Alignables
align::Alignables Alignables
Definition:
AlignableExtras.h:23
AlignableExtras::alignmentErrors
AlignmentErrorsExtended * alignmentErrors() const
Return alignment errors, sorted by DetId.
Definition:
AlignableExtras.cc:64
DDAxes::y
DDAxes::z
AlignableExtras::alignments
Alignments * alignments() const
Return alignments, sorted by DetId.
Definition:
AlignableExtras.cc:44
DDAxes::x
Alignable.h
AlignableExtras::beamSpot
Alignables & beamSpot()
Return beam spot alignable as a vector with one element.
Definition:
AlignableExtras.h:34
Generated for CMSSW Reference Manual by
1.8.11