Ignore:
Timestamp:
09/22/00 18:40:18 (24 years ago)
Author:
harald
Message:
Added a lot of changes done by oscar.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/include-Classes/MMcTrig.cxx

    r394 r436  
    2323  Int_t i;
    2424
    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;
    2930  }
    3031
    31   nFirstLevel  = 0 ;
    32   timeFirst    = -99.9;
    33   pixelFirst   = -9;
    34    
    3532  nSecondLevel = 0 ;
    36 
     33  for(i=0;i<TOTAL_TRIGGER_TIME/LEVEL2_DEAD_TIME+1;i++){
     34    FirstToSecond[i]=0;
     35  }
    3736}
    3837
     
    5049
    5150  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  }
    5455
    55   nSecondLevel = 0 ;
     56  nSecondLevel = 0 ;
     57  for(i=0;i<TOTAL_TRIGGER_TIME/LEVEL2_DEAD_TIME+1;i++){
     58    FirstToSecond[i]=0;
     59  }
    5660
    5761  //  cout << "MMcTrig::Clear() " << endl ;
     
    6569
    6670  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;
    6971  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;
    7282  cout << " Second Level Trigger in this Event : " << nSecondLevel << endl ;
    7383  cout << endl ;
Note: See TracChangeset for help on using the changeset viewer.