Changeset 2236 for trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
- Timestamp:
- 06/26/03 16:21:57 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
r2230 r2236 224 224 225 225 TString str(opt); 226 str.ToLower(); 226 227 227 228 UInt_t id = 0; 228 229 229 if (str.BeginsWith(" GRAPH", TString::kIgnoreCase))230 if (str.BeginsWith("graph")) 230 231 if (str.Length()>5) 231 232 sscanf(&str[5], "%d", &id); 232 if (str.BeginsWith(" HIST", TString::kIgnoreCase))233 if (str.BeginsWith("hist")) 233 234 if (str.Length()>4) 234 235 sscanf(&str[4], "%d", &id); … … 250 251 name += pix.GetPixelId(); 251 252 252 Bool_t same = str.Contains("same" , TString::kIgnoreCase);253 254 if (str.BeginsWith(" GRAPH", TString::kIgnoreCase))253 Bool_t same = str.Contains("same"); 254 255 if (str.BeginsWith("graph")) 255 256 { 256 257 *fLog << inf << "Drawing Graph: Pixel Idx #" << pix.GetPixelId(); … … 276 277 } 277 278 278 if (str.BeginsWith(" HIST", TString::kIgnoreCase))279 if (str.BeginsWith("hist")) 279 280 { 280 281 // FIXME: Add Legend
Note:
See TracChangeset
for help on using the changeset viewer.