StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StiTpcDetectorGroup.cxx
1 #include <stdexcept>
2 #include "StEvent.h"
3 #include "StiTpcDetectorGroup.h"
4 #include "StiTpcDetectorBuilder.h"
5 #include "StiTpcHitLoader.h"
6 
7 StiTpcDetectorGroup::StiTpcDetectorGroup(bool active)
8  : StiDetectorGroup<StEvent>("TPC",
9  active?new StiTpcHitLoader():0,
10  new StiTpcDetectorBuilder(active))
11 {}
12 
13 
15 StiTpcDetectorGroup::StiTpcDetectorGroup(bool active_Tpc, bool active_iTpc)
16  : StiDetectorGroup<StEvent>("TPC",
17  active_Tpc ? new StiTpcHitLoader() : nullptr,
18  new StiTpcDetectorBuilder(active_Tpc, active_iTpc))
19 {}
20 
21 
22 StiTpcDetectorGroup::~StiTpcDetectorGroup()
23 {}
24