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
StTriggerUtilities
StDSMUtilities
DSMLayer_B001_2015.cc
1
#include "DSMLayer_B001_2015.hh"
2
3
#include "DSMAlgo_BE001_2015.hh"
4
#include "DSMAlgo_BE003_2015.hh"
5
#include "DSMAlgo_BW001_2015.hh"
6
#include "DSMAlgo_BW003_2015.hh"
7
8
DSMLayer_B001_2015::DSMLayer_B001_2015() :
DSMLayer_B001_2009
()
9
{
10
//printf("DSMLayer_B001_2015 constructor\n");
11
// West
12
13
for
(
int
dsm = 0; dsm < 15; ++dsm)
14
(*
this
)[dsm].setName(
"BW"
, 0, dsm);
15
16
// East
17
18
for
(
int
dsm = 15; dsm < 30; ++dsm)
19
(*
this
)[dsm].setName(
"BE"
, 0, dsm-15);
20
}
21
22
23
void
DSMLayer_B001_2015::run()
24
{
25
int
dsm = 0;
26
27
while
(dsm < 15) {
28
DSMAlgo_BW001_2015
()((*this)[dsm++]);
// BW001/BW006/BW011
29
DSMAlgo_BW001_2015
()((*this)[dsm++]);
// BW002/BW007/BW012
30
DSMAlgo_BW003_2015
()((*this)[dsm++]);
// BW003/BW008/BW013
31
DSMAlgo_BW001_2015
()((*this)[dsm++]);
// BW004/BW009/BW014
32
DSMAlgo_BW001_2015
()((*this)[dsm++]);
// BW005/BW010/BW015
33
}
34
35
// East
36
37
while
(dsm < 30) {
38
DSMAlgo_BE001_2015
()((*this)[dsm++]);
// BE001/BE006/BE011
39
DSMAlgo_BE001_2015
()((*this)[dsm++]);
// BE002/BE007/BE012
40
DSMAlgo_BE003_2015
()((*this)[dsm++]);
// BE003/BE008/BE013
41
DSMAlgo_BE001_2015
()((*this)[dsm++]);
// BE004/BE009/BE014
42
DSMAlgo_BE001_2015
()((*this)[dsm++]);
// BE005/BE010/BE015
43
}
44
}
DSMAlgo_BW001_2015
Definition:
DSMAlgo_BW001_2015.hh:12
DSMAlgo_BE003_2015
Definition:
DSMAlgo_BE003_2015.hh:12
DSMAlgo_BE001_2015
Definition:
DSMAlgo_BE001_2015.hh:12
DSMLayer_B001_2009
Definition:
DSMLayer_B001_2009.hh:11
DSMAlgo_BW003_2015
Definition:
DSMAlgo_BW003_2015.hh:12
Generated by
1.8.5