StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiGenericDetectorGroup.h
1 #ifndef STAR_StiGenericDetectorGroup_H_INCLUDED
2 #define STAR_StiGenericDetectorGroup_H_INCLUDED
3 // $Id: StiGenericDetectorGroup.h,v 2.2 2014/08/22 16:28:36 perev Exp $
4 // Author: Valeri Fine, Dec 2006
5 
6 #include <stdexcept>
7 #include "Sti/Base/Named.h"
8 
10 
12 {
13  protected:
14  StiGenericDetectorGroup(const string & name);
15  StiGenericDetectorGroup(const string & name,
16  StiDetectorBuilder * detectorBuilder);
17  virtual ~StiGenericDetectorGroup();
18 
19  StiDetectorBuilder * _detectorBuilder;
21  int _groupId;
22  public:
23  virtual void initialize(){} ; // FIXME: this method must be abstract = 0;
26 
33  void setGroupId(int id);
34  int getGroupId() const;
35 };
36 #endif
Definition: Named.h:16
int _groupId
Detector group identifier.
virtual StiDetectorBuilder * getDetectorBuilder()
Get a detector builder appropriate for this detector group.