47 #ifndef StiDetectorTreeBuilder_HH
48 #define StiDetectorTreeBuilder_HH
52 #include "Sti/Base/Factory.h"
53 #include "StiCompositeTreeNode.h"
54 #include "StiDetector.h"
91 string& keystring,
int newOne=0);
StiDetectorNode * hangWhere(StiDetectorNode *parent, const StiOrderKey &order, string &keystring, int newOne=0)
Decide where to hang the detector object on the tree.
void addToTree(StiDetector *)
Actually hang an individual detector object on the tree.
StiDetectorNode * mroot
Store a pointer to the root of the tree.
StiDetectorNode * build(StiDetectorBuilder *builder)
Build the Detector model.
void loopOnDetectors()
Iterate over the detector objects served by StiDetectorBuilder.
StiDetectorTreeBuilder()
Default Contstructor.
Factory< StiDetectorNode > * mnodefactory
This object is assumed not to be owned by this class.
void buildRoot()
Assemble detector objects into tree.
StiDetectorBuilder * mDetectorBuilder
Store a pointer to the StiDetectorBuilder instance.
virtual ~StiDetectorTreeBuilder()
Default Destructor.
StiDetectorNode * mregion
Pointer to the current region in the tree (e.g., mid rapidity)