CMS 3D CMS Logo

AlignmentLevel.h
Go to the documentation of this file.
1 #ifndef ALIGNMENT_COMMONALIGNMENT_INTERFACE_ALIGNMENTLEVEL_H_
2 #define ALIGNMENT_COMMONALIGNMENT_INTERFACE_ALIGNMENTLEVEL_H_
3 
4 // Original Author: Max Stark
5 // Created: Wed, 10 Feb 2016 13:35:23 CET
6 
8 
9 
10 
12 
13  //========================== PUBLIC METHODS =================================
14  public: //===================================================================
15 
17  unsigned int maxNumComponents,
18  bool isFlat) :
19  levelType(levelType),
20  maxNumComponents(maxNumComponents),
21  isFlat(isFlat) {};
22  // copy construction + assignment
23  AlignmentLevel(const AlignmentLevel&) = default;
24  AlignmentLevel& operator=(const AlignmentLevel&) = default;
25 
26  // move construction + assignment
27  AlignmentLevel(AlignmentLevel&&) = default;
29 
30  virtual ~AlignmentLevel() = default;
31 
32  //=========================== PUBLIC DATA ===================================
33  //===========================================================================
34 
38 
41  unsigned int maxNumComponents;
42 
44  bool isFlat;
45 
46 };
47 
48 #endif /* ALIGNMENT_COMMONALIGNMENT_INTERFACE_ALIGNMENTLEVEL_H_ */
bool isFlat
true if structure-type is a flat surface (rod, string, ladder etc.)
AlignmentLevel & operator=(const AlignmentLevel &)=default
unsigned int maxNumComponents
AlignmentLevel(align::StructureType levelType, unsigned int maxNumComponents, bool isFlat)
align::StructureType levelType
virtual ~AlignmentLevel()=default