Hi,
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 :
STARTLOG
Message="FEC: Create a VME FEC"
Origin="ch.cern.cmstkint04.CrateController.instance(0)"
Timestamp="1149861348958"
Thread="3044891568"
Level="DEBUG"
File="/exports/xdaq/dev35/TriDAS/DiagSystem/tools/diagbag/src/common/DiagBagWizard.cc" Line="3200" NDC="" Text="LOGDB"
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET