Changeset 2478 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 11/06/03 15:10:39 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MMcTriggerLvl2.cc
r2446 r2478 165 165 // all the pixels in all the trigger cells 166 166 // 167 // "check" 168 // Print a warning message when no starting pixel is found in the 169 // CalcPseudoSize method. 170 // 167 171 // no option: 168 172 // Print the value of the selection parameters … … 197 201 *fLog << endl; 198 202 } 203 } 204 else if (str.Contains("check", TString::kIgnoreCase)) 205 { 206 // check when no starting pixels was found (<<--to be fixed) 207 if (fPseudoSize < 0) 208 *fLog << " Warning: starting pixel not found. Pseudosize set to -1." << endl; 199 209 } 200 210 else … … 663 673 if (check > 36) 664 674 { 665 *fLog <<"Error: a starting pixelswas not found! - PseudoSize = "<< fPseudoSize << endl;666 fPseudoSize= 0;675 // *fLog <<"Warning: a starting pixel was not found! - PseudoSize = "<< fPseudoSize << endl; 676 fPseudoSize=-1; 667 677 return; 668 678 } … … 766 776 void MMcTriggerLvl2::GetEnergy(MMcEvt *fMcEvt) 767 777 { 768 const MMcEvt &h = *(MMcEvt *)fMcEvt; 778 const MMcEvt &h = *(MMcEvt *)fMcEvt; 769 779 fEnergy = h.GetEnergy(); 770 780 } … … 777 787 // x-1 triggered neighbor pixels. 778 788 // The variable fTriggerPattern = x is computed 779 // (x= 3,4,5,6,7) 789 // (x= 2,3,4,5,6,7) 790 // 791 // x=2 * * 780 792 // 781 793 // x=3 * * … … 807 819 // If a x-NN pattern exists then a pixel must have 808 820 // at least x-1 adjacent neighbors (look at patterns) 809 // For each triggered pixel the number of adjacent triggered pixels is counted. 821 // For each triggered pixel the number of adjacent triggered pixels 822 // is counted. 810 823 // 811 824 int j=1;
Note:
See TracChangeset
for help on using the changeset viewer.