source: trunk/MagicSoft/include-Classes/MMcFormat/MHeaderTrig.cxx@ 612

Last change on this file since 612 was 609, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 1.0 KB
Line 
1#include <iostream.h>
2#include "MHeaderTrig.hxx"
3
4
5//==========
6// MHeaderTrig
7//
8// This class contains the MonteCarlo information
9// of the trigger simulation for the current run.
10// The information is saved only once, whatever the
11// number of events is
12
13
14
15ClassImp(MHeaderTrig)
16
17
18
19MHeaderTrig::MHeaderTrig() {
20 //
21 // default constructor
22 // set all values to zero
23
24 Int_t i;
25
26 topology = -1 ;
27 multiplicity = -1 ;
28 for(i=0;i<TRIGGER_PIXELS;i++){
29 threshold[i] = -1.0;
30 }
31
32 TriggerPattern[0]=0;
33 TriggerPattern[1]=0;
34
35}
36
37MHeaderTrig::~MHeaderTrig() {
38 //
39 // default destructor
40 //
41}
42
43
44void MHeaderTrig::Print(Option_t *Option) {
45 //
46 // print out the data member on screen
47 //
48
49 cout << endl;
50 cout << "Monte Carlo Trigger output:" << endl;
51 cout << " XSTopology Trigger in this run: " << topology << endl;
52 cout << " Multiplicity Trigger in this run: " << multiplicity << endl;
53 cout << " Trigger Pattern in this run: ";
54 cout << TriggerPattern[0] << ", " << TriggerPattern[1] << endl;
55 cout << endl;
56}
Note: See TracBrowser for help on using the repository browser.