6 #include "StiGenericDetectorGroup.h"
7 #include "Sti/StiDetectorBuilder.h"
10 StiGenericDetectorGroup::StiGenericDetectorGroup(
const string & name)
19 StiGenericDetectorGroup::StiGenericDetectorGroup(
const string & name,
22 _detectorBuilder(detectorBuilder),
28 StiGenericDetectorGroup::~StiGenericDetectorGroup()
30 delete _detectorBuilder;
35 assert(_detectorBuilder);
36 return _detectorBuilder;
43 if (_detectorBuilder) _detectorBuilder->setGroupId(
id);
48 int StiGenericDetectorGroup::getGroupId()
const
int _groupId
Detector group identifier.
virtual StiDetectorBuilder * getDetectorBuilder()
Get a detector builder appropriate for this detector group.