Changeset 436 for trunk/MagicSoft/include-Classes/MMcTrig.cxx
- Timestamp:
- 09/22/00 18:40:18 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/include-Classes/MMcTrig.cxx
r394 r436 23 23 Int_t i; 24 24 25 topology = -1 ; 26 multiplicity = -1 ; 27 for(i=0;i<TRIGGER_PIXELS;i++){ 28 threshold[i] = -1.0; 25 nFirstLevel = 0 ; 26 27 for(i=0;i<TOTAL_TRIGGER_TIME/LEVEL1_DEAD_TIME+1;i++){ 28 timeFirst[i] = -99.9; 29 pixelFirst[i] = -9; 29 30 } 30 31 31 nFirstLevel = 0 ;32 timeFirst = -99.9;33 pixelFirst = -9;34 35 32 nSecondLevel = 0 ; 36 33 for(i=0;i<TOTAL_TRIGGER_TIME/LEVEL2_DEAD_TIME+1;i++){ 34 FirstToSecond[i]=0; 35 } 37 36 } 38 37 … … 50 49 51 50 nFirstLevel = 0 ; 52 timeFirst = -99.9; 53 pixelFirst = -9; 51 for(i=0;i<TOTAL_TRIGGER_TIME/LEVEL1_DEAD_TIME+1;i++){ 52 timeFirst[i] = -99.9; 53 pixelFirst[i] = -9; 54 } 54 55 55 nSecondLevel = 0 ; 56 nSecondLevel = 0 ; 57 for(i=0;i<TOTAL_TRIGGER_TIME/LEVEL2_DEAD_TIME+1;i++){ 58 FirstToSecond[i]=0; 59 } 56 60 57 61 // cout << "MMcTrig::Clear() " << endl ; … … 65 69 66 70 cout <<endl << "Monte Carlo Trigger output:" <<endl; 67 cout << " Topology Trigger in this event : "<<topology<<endl;68 cout << " Multiplicity Trigger in this event : "<<multiplicity<<endl;69 71 cout << " First Level Trigger in this Event : "<<nFirstLevel<<endl; 70 cout << " Time of first Level Trigger in this Event : "<< timeFirst<<endl; 71 cout << " Pixels of first Level Trigger in this Event : "<<pixelFirst<<endl; 72 cout << " Times of first Level Trigger in this Event : "; 73 for (i=0;i<nFirstLevel;i++){ 74 cout<< timeFirst[i]<<"-"; 75 } 76 cout<<endl; 77 cout << " Pixels of first Level Trigger in this Event : "; 78 for (i=0;i<nFirstLevel;i++){ 79 cout<<pixelFirst[i]<<"-"; 80 } 81 cout<<endl; 72 82 cout << " Second Level Trigger in this Event : " << nSecondLevel << endl ; 73 83 cout << endl ;
Note:
See TracChangeset
for help on using the changeset viewer.