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
StiSsd
StiSstDetectorGroup.cxx
1
#include "StiSsd/StiSstDetectorGroup.h"
2
#include "StiSsd/StiSstHitLoader.h"
3
#include "StiSsd/StiSstDetectorBuilder.h"
4
#include "StiSsd/StiSstDetectorBuilder1.h"
5
#include "StEvent/StEvent.h"
6
7
8
StiSstDetectorGroup::StiSstDetectorGroup(
bool
active, SstDetectorBuilderImpl sstImpl,
bool
buildIdealGeom)
9
:
StiDetectorGroup
<
StEvent
>(
"SST"
)
10
{
11
switch
(sstImpl) {
12
case
kFirstPro:
13
_detectorBuilder =
new
StiSstDetectorBuilder1
(active, buildIdealGeom);
14
break
;
15
case
kDefault:
16
default
:
17
_detectorBuilder =
new
StiSstDetectorBuilder
(active, buildIdealGeom);
18
}
19
20
_hitLoader = active ?
new
StiSstHitLoader
() : 0;
21
22
if
(_hitLoader)
23
_hitLoader->setDetector(_detectorBuilder);
24
25
initialize();
26
}
27
28
29
StiSstDetectorGroup::~StiSstDetectorGroup()
30
{}
StEvent
Definition:
StEvent.h:232
StiSstDetectorBuilder1
Definition:
StiSstDetectorBuilder1.h:10
StiSstHitLoader
Definition:
StiSstHitLoader.h:39
StiDetectorGroup
Definition:
StiDetectorGroup.h:12
StiSstDetectorBuilder::StiSstDetectorBuilder
StiSstDetectorBuilder(bool active, bool buildIdealGeom=true)
Definition:
StiSstDetectorBuilder.cxx:38
Generated by
1.8.5