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_LD301_2009.cc
1
#include "DSMAlgo_LD301_2009.hh"
2
#include "DSMLayer_LD301_2009.hh"
3
4
//DSMLayer_LD301_2009::DSMLayer_LD301_2009() : StDSMLayer(1)//<TriggerDataBlk>(1)
5
DSMLayer_LD301_2009::DSMLayer_LD301_2009() :
DSMLayer
<
TriggerDataBlk
>(1)
6
{
7
front().name =
"LD301"
;
8
}
9
10
bool
DSMLayer_LD301_2009::read(
const
TriggerDataBlk
& event)
11
{
12
L1_DSM_Data
* L1data = (
L1_DSM_Data
*)((
char
*)&
event
+
event
.L1_DSM_ofl.offset);
13
copy_and_swap8(front().channels, L1data->lastDSM);
14
return
true
;
15
}
16
17
void
DSMLayer_LD301_2009::run()
18
{
19
DSMAlgo_LD301_2009
()(front());
20
}
DSMLayer
Definition:
DSMLayer.hh:48
DSMAlgo_LD301_2009
Definition:
DSMAlgo_LD301_2009.hh:14
L1_DSM_Data
Definition:
trgDataDefs_40.h:58
TriggerDataBlk
Definition:
trgDataDefs_40.h:143
Generated by
1.8.5