1 #ifndef Alignment_CommonAlignment_AlignableBuilder_H
2 #define Alignment_CommonAlignment_AlignableBuilder_H
46 unsigned int maxComponent );
void build(unsigned int level, align::StructureType dauType, AlignSetup< align::Alignables > &setup) const
Build the components for a given level in the hierarchy.
std::vector< LevelInfo > theLevelInfos
void buildAll(AlignSetup< align::Alignables > &setup) const
Build the components for all levels given by user.
LevelInfo(align::StructureType, bool flat, unsigned int maxComponent)
void addLevelInfo(align::StructureType, bool flat, unsigned int maxComponent)
Add info required to build a level to the list.
align::StructureType theModuleType
AlignableBuilder(align::StructureType moduleType, Counters &counter, const TrackerTopology *tTopo)
Init the module type.
unsigned int index(unsigned int level, align::ID, const TrackerTopology *tTopo) const
align::StructureType type_
unsigned int maxComponent_
unsigned int maxComponent(unsigned int level) const
Find max number of components for a given level in the hierarchy.
static std::atomic< unsigned int > counter
const TrackerTopology * theTopology