Changeset 1782 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 02/21/03 15:55:35 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/triglvl2.C
r1777 r1782 4 4 // Filters to select events using these parameter are also created. 5 5 // 6 // Inputs: 7 // - filename name of data file 8 // - CompactNN number of NN to define a compact pixel 9 // - fValue comparision value for the filter 10 // 6 11 void triglvl2(char *filename = "Gamma.root") 12 // USER: Data File Name ---^ 7 13 { 8 14 // … … 19 25 parlist.AddToList(&cell); 20 26 27 // Set the number of Next Neighbourhoods that define a compact pixel 28 // 29 cell.SetCompactNN(3); 30 // USER: --^ 21 31 // 22 32 // A filter to select events using the L2T parameters is created … … 24 34 // MF lvl2filter("MMcTriggerLvl2.fLutPseudoSize > 6"); 25 35 MF lvl2filter("MMcTriggerLvl2.fSizeBiggerCell > 16"); 36 // 26 37 // A second filter is created using the class MFTriggerLvl2 27 MFTriggerLvl2 fTrig1("MMcTriggerLvl2", '>', 6); 28 // this is the value to be compared --^ 38 // 39 MFTriggerLvl2 fTrig1("MMcTriggerLvl2", '>', 8); 40 // USER: fValue to be compared --^ 29 41 30 42 // … … 38 50 // 39 51 MFilterList flist; 40 flist.AddToList(&energyfilter);41 flist.AddToList(&lvl2filter);42 flist.AddToList(&selector);52 // flist.AddToList(&energyfilter); 53 // flist.AddToList(&lvl2filter); 54 // flist.AddToList(&selector); 43 55 flist.AddToList(&fTrig1); 44 56
Note:
See TracChangeset
for help on using the changeset viewer.