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