test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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/Utilities.h
"
17
#include "
Alignment/CommonAlignment/interface/AlignSetup.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
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
50
private
:
51
52
AlignSetup<Alignables>
alignableLists_
;
//< kind of map of lists of alignables
53
Alignables
components_
;
//< list of alignables
54
};
55
56
#endif //AlignableExtras_H
AlignableExtras::components_
Alignables components_
Definition:
AlignableExtras.h:53
AlignableExtras::AlignableExtras
AlignableExtras()
Constructor (builds all alignables)
Definition:
AlignableExtras.cc:26
AlignSetup::find
Type & find(const std::string &name="")
Definition:
AlignSetup.h:58
Alignments
Definition:
Alignments.h:10
AlignSetup.h
AlignmentErrorsExtended
Definition:
AlignmentErrorsExtended.h:10
AlignableExtras
Definition:
AlignableExtras.h:19
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
AlignableExtras::subStructures
Alignables & subStructures(const std::string &subStructName)
Return alignables determined by name.
Definition:
AlignableExtras.h:29
Utilities.h
AlignableExtras::alignableLists_
AlignSetup< Alignables > alignableLists_
Definition:
AlignableExtras.h:52
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:88
AlignableExtras::components
Alignables components() const
Definition:
AlignableExtras.h:36
AlignableExtras::dump
void dump(void) const
Definition:
AlignableExtras.cc:34
align::Alignables
std::vector< Alignable * > Alignables
Definition:
Utilities.h:28
AlignableExtras::Alignables
align::Alignables Alignables
Definition:
AlignableExtras.h:23
AlignableExtras::alignmentErrors
AlignmentErrorsExtended * alignmentErrors() const
Return alignment errors, sorted by DetId.
Definition:
AlignableExtras.cc:68
DDAxes::y
AlignSetup< Alignables >
DDAxes::z
AlignableExtras::alignments
Alignments * alignments() const
Return alignments, sorted by DetId.
Definition:
AlignableExtras.cc:48
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.5