StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
Sti
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
9
class
StiDetectorBuilder
;
10
11
class
StiGenericDetectorGroup
:
public
Named
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;
25
virtual
StiDetectorBuilder
*
getDetectorBuilder
();
26
33
void
setGroupId
(
int
id
);
34
int
getGroupId()
const
;
35
};
36
#endif
Named
Definition:
Named.h:16
StiGenericDetectorGroup
Definition:
StiGenericDetectorGroup.h:11
StiGenericDetectorGroup::_groupId
int _groupId
Detector group identifier.
Definition:
StiGenericDetectorGroup.h:21
StiDetectorBuilder
Definition:
StiDetectorBuilder.h:42
StiGenericDetectorGroup::getDetectorBuilder
virtual StiDetectorBuilder * getDetectorBuilder()
Get a detector builder appropriate for this detector group.
Definition:
StiGenericDetectorGroup.cxx:33
StiGenericDetectorGroup::setGroupId
void setGroupId(int id)
Definition:
StiGenericDetectorGroup.cxx:41
Generated by
1.8.5