Line | |
---|
1 | #include "MMcTrigHeader.hxx"
|
---|
2 |
|
---|
3 | #include <iostream.h>
|
---|
4 |
|
---|
5 |
|
---|
6 | //==========
|
---|
7 | // MMcTrigHeader
|
---|
8 | //
|
---|
9 | // This class contains the MonteCarlo information
|
---|
10 | // of the trigger simulation for the current run.
|
---|
11 | // The information is saved only once, whatever the
|
---|
12 | // number of events is
|
---|
13 |
|
---|
14 |
|
---|
15 |
|
---|
16 | ClassImp(MMcTrigHeader);
|
---|
17 |
|
---|
18 |
|
---|
19 |
|
---|
20 | MMcTrigHeader::MMcTrigHeader() {
|
---|
21 | //
|
---|
22 | // default constructor
|
---|
23 | // set all values to zero
|
---|
24 |
|
---|
25 | Int_t i;
|
---|
26 |
|
---|
27 | fTopology = -1 ;
|
---|
28 | fMultiplicity = -1 ;
|
---|
29 | for(i=0;i<TRIGGER_PIXELS;i++){
|
---|
30 | fThreshold[i] = -1.0;
|
---|
31 | }
|
---|
32 |
|
---|
33 | fTrigPattern[0]=0;
|
---|
34 | fTrigPattern[1]=0;
|
---|
35 |
|
---|
36 | fTrigShape=0.0;
|
---|
37 | fAmplTrig=RESPONSE_AMPLITUDE;
|
---|
38 | fFwhmTrig=RESPONSE_FWHM;
|
---|
39 | fOverlapingTime=TRIGGER_OVERLAPING;
|
---|
40 | fGateLeng=TRIGGER_GATE ;
|
---|
41 | }
|
---|
42 |
|
---|
43 | MMcTrigHeader::~MMcTrigHeader() {
|
---|
44 | //
|
---|
45 | // default destructor
|
---|
46 | //
|
---|
47 | }
|
---|
48 |
|
---|
49 |
|
---|
50 | void MMcTrigHeader::Print(Option_t *opt) const {
|
---|
51 | //
|
---|
52 | // print out the data member on screen
|
---|
53 | //
|
---|
54 | cout << endl;
|
---|
55 | cout << "Monte Carlo Trigger output:" << endl;
|
---|
56 | cout << " XSTopology Trigger in this run: " << fTopology << endl;
|
---|
57 | cout << " Multiplicity Trigger in this run: " << fMultiplicity << endl;
|
---|
58 | cout << " Trigger Pattern in this run: ";
|
---|
59 | cout << fTrigPattern[0] << ", " << fTrigPattern[1] << endl;
|
---|
60 | cout << endl;
|
---|
61 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.