10 unsigned int maxComponent ) :
13 maxComponent_(maxComponent)
28 unsigned int maxComponent)
79 unsigned int nDau = daus.size();
91 for (
unsigned int i = 0;
i < nDau; ++
i)
TkRotation< Scalar > RotationType
align::ID id() const
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit).
Type & find(const std::string &name="")
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
const RotationType & globalRotation() const
Return the global orientation of the object.
virtual align::Counter get(align::StructureType) const
Get a counter based on its structure type.
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.
Type & get(const std::string &name="")
align::StructureType theModuleType
virtual void addComponent(Alignable *)=0
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_
std::vector< Alignable * > Alignables
unsigned int maxComponent(unsigned int level) const
Find max number of components for a given level in the hierarchy.
static const char * idToString(align::StructureType type)
const TrackerTopology * theTopology
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")