Last change
on this file since 19874 was 18481, checked in by tbretz, 9 years ago |
Added a container class for the software trigger
|
File size:
620 bytes
|
Line | |
---|
1 | #ifndef MARS_MSoftwareTrigger
|
---|
2 | #define MARS_MSoftwareTrigger
|
---|
3 |
|
---|
4 | #ifndef MARS_MParContainer
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MSoftwareTrigger : public MParContainer
|
---|
9 | {
|
---|
10 | private:
|
---|
11 | Short_t fPatch;
|
---|
12 | Double_t fBaseline;
|
---|
13 | UShort_t fPosition;
|
---|
14 | Double_t fAmplitude;
|
---|
15 |
|
---|
16 | public:
|
---|
17 | MSoftwareTrigger(const char *name=NULL, const char *title=NULL);
|
---|
18 |
|
---|
19 | void SetData(Short_t i, Double_t bl, UShort_t pos, Double_t ampl)
|
---|
20 | {
|
---|
21 | fPatch = i;
|
---|
22 | fBaseline = bl;
|
---|
23 | fAmplitude = ampl;
|
---|
24 | fPosition = pos;
|
---|
25 | }
|
---|
26 |
|
---|
27 | ClassDef(MSoftwareTrigger, 1) // Storage Container for software trigger
|
---|
28 | };
|
---|
29 |
|
---|
30 | #endif
|
---|
31 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.