source: trunk/MagicSoft/Mars/manalysis/MTrigLvl2.h@ 1740

Last change on this file since 1740 was 1740, checked in by moralejo, 22 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1/*###########################################################################
2 #
3 # This file is part of MTrigLvl2 simulation toolkit for simulating the
4 # MAGIC Second Level Trigger
5 # e-mail: stamerra@pi.infn.it
6 # marcos@gae.ucm.es #
7 # date: January 2003 #
8 # version: 0.1 #
9 ###########################################################################*/
10
11
12#include "MParContainer.h"
13
14class MMcTrig;
15class MGeomCamMagic;
16class MCamDisplay;
17
18
19class MTrigLvl2 : public MParContainer
20{
21
22 private:
23 Int_t fPixels[36][19]; // Array with the triggered pixels after Lvl1
24 // First index: pixels index in trigger cell
25 // Second index: trigger cell number
26 MMcTrig *fMcTrig;
27 MGeomCamMagic *fGeomcam;
28 MCamDisplay *fCam;
29
30
31 public:
32 MTrigLvl2(const char* name = NULL, const char* title = NULL);
33
34
35 void DrawCell(Int_t cell);
36 void DrawLv1();
37
38 void PrintCell(Int_t cell);
39 void PrintStatus();
40
41 void SetLv1(MMcTrig *trig);
42 void SetPixelFired(Int_t pixle, Int_t fired);
43
44 Int_t GetCellNumberFired(int cell);
45 Int_t GetBiggerFiredCell();
46
47 ClassDef(MTrigLvl2,0)
48};
49
50
Note: See TracBrowser for help on using the repository browser.