Changeset 4971 for trunk/MagicSoft/Mars/mreport
- Timestamp:
- 09/13/04 11:43:25 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mreport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mreport/MReportTrigger.cc
r4966 r4971 34 34 // *Input: 35 35 // 36 // The report is divided into 8 sections: 36 // The report is divided into 9 sections: 37 // - the name of the Table (1 field) 37 38 // - the cell rates (32 fields) 38 39 // - L1 and L2 table name ( 2 fields) … … 164 165 } 165 166 TString descriptor = str(0, ws); 166 //*fLog << descriptor <<endl;167 167 str.Remove(0, ws); 168 168 … … 174 174 } 175 175 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 186 185 // 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. 187 189 // 188 190 Bool_t MReportTrigger::InterpreteLiveTime(TString &str) … … 255 257 } 256 258 257 TString L1tablename = str(0, wsL1);259 fL1Tablename = str(0, wsL1); 258 260 str.Remove(0, wsL1); 259 261 … … 277 279 return kCONTINUE; 278 280 } 279 TString L2tablename = str(0, wsL2);281 fL2Tablename = str(0, wsL2); 280 282 str.Remove(0,wsL2); 281 283 str.Strip(TString::kBoth); … … 389 391 } 390 392 391 TString tablename = str(0, ws);393 fTablename = str(0, ws); 392 394 str.Remove(0, ws); 393 395 … … 439 441 if (!InterpreteIPR(str)) 440 442 return kCONTINUE; 441 442 443 444 // str.Remove(0,len);445 // str.Strip(TString::kBoth);446 447 //*fLog << warn << " str=" << str << endl;448 443 449 444 return str==(TString)"OVER" ? kTRUE : kCONTINUE; -
trunk/MagicSoft/Mars/mreport/MReportTrigger.h
r4966 r4971 22 22 Float_t fL2BeforePrescaler; // L2 trigger rate before prescaler 23 23 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 24 27 25 28 MTriggerBit *fBit; //! container of the L2 prescaler rates
Note:
See TracChangeset
for help on using the changeset viewer.