Ignore:
Timestamp:
09/13/04 11:43:25 (20 years ago)
Author:
stamerra
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mreport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mreport/MReportTrigger.cc

    r4966 r4971  
    3434//  *Input:
    3535//
    36 //  The report is divided into 8 sections:
     36//  The report is divided into 9 sections:
     37//  - the name of the Table                 (1 field)
    3738//  - the cell rates                       (32 fields)
    3839//  - L1 and L2 table name                 ( 2 fields)
     
    164165       }
    165166    TString descriptor = str(0, ws);
    166     //*fLog  << descriptor <<endl;
    167167    str.Remove(0, ws);
    168168     
     
    174174        }
    175175      str.Remove(0, len); // Remove Prescal. factors from report string
    176       // *fLog << warn << fPrescFactor->fPrescFact[i]<<endl;
    177     }
    178   str=str.Strip(TString::kLeading); 
    179  
    180   return kTRUE;
    181 }
    182 
    183 // --------------------------------------------------------------------------
    184 //
    185 // Interprete the Scaler with Live-Deadtime section of the report
     176    }
     177  str=str.Strip(TString::kLeading); 
     178 
     179  return kTRUE;
     180}
     181
     182// --------------------------------------------------------------------------
     183//
     184// Interprete the Scalers with Live-Deadtime section of the report
    186185//  Read 4x5 integers separated with a blank
     186//  There are 5 scalers,each one with the live and deadtime.
     187//  Live and deadtimes have two fields, with the most significant
     188//  and less significant bits.
    187189//
    188190Bool_t MReportTrigger::InterpreteLiveTime(TString &str)
     
    255257       }
    256258   
    257     TString L1tablename = str(0, wsL1);
     259    fL1Tablename = str(0, wsL1);
    258260    str.Remove(0, wsL1);
    259261
     
    277279        return kCONTINUE;
    278280      }   
    279     TString L2tablename = str(0, wsL2);
     281    fL2Tablename = str(0, wsL2);
    280282    str.Remove(0,wsL2);
    281283    str.Strip(TString::kBoth);
     
    389391    }
    390392
    391     TString tablename = str(0, ws);
     393    fTablename = str(0, ws);
    392394    str.Remove(0, ws);
    393395
     
    439441    if (!InterpreteIPR(str))
    440442      return kCONTINUE;
    441 
    442  
    443 
    444   //    str.Remove(0,len);
    445   //  str.Strip(TString::kBoth);
    446 
    447   //*fLog << warn << " str=" << str << endl;
    448443
    449444    return str==(TString)"OVER" ? kTRUE : kCONTINUE;
  • trunk/MagicSoft/Mars/mreport/MReportTrigger.h

    r4966 r4971  
    2222  Float_t fL2BeforePrescaler;       // L2 trigger rate before prescaler
    2323  Float_t fL2AfterPrescaler;        // L2 trigger rate after prescaler
     24  TString fTablename;               // Name of the trigger table
     25  TString fL1Tablename;             // Name of the L1 trigger table
     26  TString fL2Tablename;             // Name of the L2 trigger table
    2427 
    2528  MTriggerBit *fBit;                //! container of the L2 prescaler rates
Note: See TracChangeset for help on using the changeset viewer.