file input/output and histogram

From: Mushtari Afroz <>
Date: Thu, 20 Jul 2006 10:12:36 -0400 (EDT)


  I am at the beginner stage of C++. I am not quite sure how I can extract the fields from the following file and then do the same for 100 files of the same structure. The fields will be used to fill 1D histograms, so after the extraction the fields need to be quantified(for instance, on line 5: Level = Debug, I can assign "1" to Debug) and put them in different columns of an output file. Then use those columns to fill a histogram which can be accessed from a ROOT session.   

  If anyone can help me with this I would highly appreciate it.   

  The file format is as follows :   

  Message="FEC: Create a VME FEC"
  Origin=""   Timestamp="1149861348958"


  ErrorDispatcherTimestamp="1149861348960"   Lvl1Name="DummySupervisorDiagLvlOne"
  ENDLOG          Mushtari Afroz
Hons. BSc. Program
Trinity College, University of Toronto
Toronto, Canada.                  

Share your photos with the people who matter at Yahoo! Canada Photos Received on Thu Jul 20 2006 - 16:12:47 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET