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

Last change on this file since 1775 was 1746, checked in by moralejo, 22 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MTrigLvl2
2#define MARS_MTrigLvl2
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MMcTrig;
9class MGeomCamMagic;
10class MCamDisplay;
11
12
13class MTrigLvl2 : public MParContainer
14{
15
16 private:
17 Int_t fPixels[36][19]; // Array with the triggered pixels after Lvl1
18 // First index: pixels index in trigger cell
19 // Second index: trigger cell number
20
21 Int_t fLutPseudoSize; // number of compact pixels in one lut
22
23 MMcTrig *fMcTrig;
24 MGeomCamMagic *fGeomcam;
25 MCamDisplay *fCam;
26
27
28 public:
29 MTrigLvl2(const char* name = NULL, const char* title = NULL);
30
31
32 void DrawCell(Int_t cell);
33 void DrawLv1();
34
35 void Print(Int_t cell=-1) const;
36
37 void SetLv1(MMcTrig *trig = NULL);
38 void SetPixelFired(Int_t pixel, Int_t fired=1);
39
40 Int_t GetCellNumberFired(int cell);
41 Int_t GetBiggerFiredCell();
42
43 Int_t GetLutCompactPixel(int cell, int lut, int neighpix=2);
44 Int_t GetLutPseudoSize(int neighpix=2);
45
46 ClassDef(MTrigLvl2,0) // Container for 2nd Level Trigger selection parameters
47};
48
49#endif
50
51
Note: See TracBrowser for help on using the repository browser.