Changeset 2591


Ignore:
Timestamp:
12/02/03 16:03:49 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mreport
Files:
5 edited

Legend:

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

    r2557 r2591  
    2727//  MReport
    2828//
     29//  This is a base class for all reports comming from subsystems stored in
     30//  a report file.
     31//
     32//  Be carefull: The class name of all classes derived from this class
     33//               should start with 'MReport', see SetupReading
     34//
    2935//////////////////////////////////////////////////////////////////////////////
    3036#include "MReport.h"
     
    3945using namespace std;
    4046
     47// --------------------------------------------------------------------------
     48//
     49// Interpretes the beginning of a line which starts like:
     50//   status hour minute second millisec skip skip skip skip skip
     51// The identifier is assumed to be removed.
     52//
     53// While skip are numbers which won't enter the analysis
     54//
    4155Bool_t MReport::InterpreteHeader(TString &str)
    4256{
     
    6478}
    6579
     80// --------------------------------------------------------------------------
     81//
     82// Report Body must be overwritten. It will get the line idetified to belong
     83// to fIdentifier without the leading status and time infomration as an
     84// argument.
     85//
    6686Bool_t MReport::InterpreteBody(TString &str)
    6787{
     
    7090}
    7191
     92// --------------------------------------------------------------------------
     93//
     94// Interprets Header and Body of a report file line. Calls SetReadyToSave()
     95// in case the interpretation was successfull. And fTime->SetReadyToSave()
     96// when a corresponding time container exists.
     97//
    7298Bool_t MReport::Interprete(TString &str)
    7399{
     
    85111}
    86112
     113// --------------------------------------------------------------------------
     114//
     115// Check for the existance of a corresponding MTime in the given parameter
     116// list. If it is not found a new one will be created. The name of the
     117// MTime object is created by taking the ClassName() of the derived MReport
     118// class and stripping the leading MReport
     119//
    87120Bool_t MReport::SetupReading(MParList &plist)
    88121{
  • trunk/MagicSoft/Mars/mreport/MReport.h

    r2566 r2591  
    1212{
    1313private:
    14     const TString fIdentifier;    //!
    15     const Bool_t  fHasReportTime; //!
     14    const TString fIdentifier;    //! Identifier of the subsystem
     15    const Bool_t  fHasReportTime; //! Intermediate solution for DC currents
    1616
    17     Byte_t  fState;
    18     MTime  *fTime;             //!
     17    Byte_t  fState;               // Status of the subsystem
     18    MTime  *fTime;                //! pointer to the corresponding time stamp
    1919
    2020    ULong_t Hash() const { return fIdentifier.Hash(); }
  • trunk/MagicSoft/Mars/mreport/MReportCamera.cc

    r2557 r2591  
    2727//  MReportCamera
    2828//
     29// This is the class interpreting and storing the CAMERA-REPORT information.
     30//
     31// Most of the information is redirected to the classes MCamera* and stored
     32// there.
     33//
    2934//////////////////////////////////////////////////////////////////////////////
    3035#include "MReportCamera.h"
     
    355360}
    356361
    357 // CAMERA-REPORT 06 2003 11 04 23 53 34 438 00 0000 00 00 00 00 00 000
    358 // 0 1 4 4 5 5 4 5 4 9 0 2 3 DC 00000025001E000000070000000F00250025001E0016000000000007000700000007000000070025002D002D001E001E001E0000000000000000000F0007000700000000000F0007000F002D0034002D0034001E001E001E001E00000000000000000007000F000F000F00070000000000000007000F000F0007003400340034003400340016002D0016001E001E0007000F000000070201001E000F000F000F000F00070007000701DB00000007000F00070007000F002D002D0034002D00340025001E001E001E002D001E001E000700000007000000000000000F0016000F000F000F000F00000000000000000007000000070007000F0416000F020B002D0034002D002D002D0034002D002D001E00250025002D001E0025000700070000000F0007000F0000000F000F0007000F000F00160007000000070007000F0000000700070007000F00070007000F000700070025002D0025002D0025002500250034001E001E001E002500250025002D002500070016000F00070016000F000F0007000700070007000F000F00070007000F00000007000F000000000000000000000007000700070007000F0000000F000F002D002D0025002500250025002D0025002D001E001E00250025001E0025001E002D001E00070000000700070007000700070000000700070007000F000000070000000F000700070000000000070000000000070007000F00000007000700000007000700070007000F0007002D0025002D0034002D002500250025002D0025001E001E001E001E001E0025001E001E001E00250000000000000000000000000000000000000007000F0000000F000F00070000000F0007000F00000007000F0007000000000007000000070000000F0007000700070007000000070007000700000000002D0034002D003400340034002D0034003400340034002D001E0025001E0025001E001E001E002D001E001E0000000700000007000700000000000F000700000000000F000F000F0016000F0016000F0007000700070007000000070000000F000F00070000000F0007000F000700070007000F0007001600070000000700070007000F002D003400340034002D0034001E002D002D002500250025000F000F000000070007000F001E001E0016001E001E001E00160016000F0016001600160016000F000F000F000F0007002D00250034002D0034002D00340025002D001E002D001E002D0025000F000F000F0007000700000007001E001E001E0016001E001E001E000F000F0016000F000F000F000F0000000700070016000F000F000F002D00250025002D00340025002D002D001E002D002D002D0025002D0025002D0007025B00070007000F000000070007001E001E00160016001E0016001E001600160007000F0000000F000F0007000F00070000000F000700070000000700070025002D0025002D002500340025002D0025001E0016001E001E0025001E002D001E0025000000070007000000070000000700070000001E001E001E001E00160016001600160016022E0016000F0016000F000F000F000F0007000000070007000700070000000700070007 HV 00006906806B06B06C06906906906806806C06C06B06B06C06C06906906906906906806806806B06C06C06B06B06B06C06C06C06906906906906906906906806806806806B06C06C06C06A06B06A06B06C00106C06C06806906906906906906906906906806806806806806C06B06B06C06B06A06A06A06A06B06C06C06B06C06C06906906906906906906906906806906906806906806806806806C06C06C06B06B06C06A06B06A06A06A06B06B06C06C06B06C06C06906A06806900006906906906906906906906906806806806806806806806C06C06C06B06B06B06C06A06A06A06A06A06A06A06B06B06B06B06B06B06C05C06906906906906906806906906906906906906906906806806806806806806806806C06B06C06C06C06C06B06C06A06A06A06A06906A06A06A06B06B06B06B06B06B06B06B06906906906906906906906906906906906906906906906906906806806806806806806806806806B06C06B06B06B06B06B06B06B06A06A06906906A06A06A06A06906B06C06B06B06B08906B06B06B06906906906906906906906906906806806906906906906806906906906806806806806806806806806806806C06B06C06C06B06C06B06B06B06B06906906A06A06A06A06A06906906A06B06B06B06B06B06B06B06B06B06B06806906906906906906906906906906806906906906906906906806906906906806806806806806806806806806806806B06B06B06B06B06B06C06A06C06B06C06A06A06A06A06A06A06A06A06A06A06A06B06B09B06B06B06B06B06B06B06B06B06906906906906906906906906906906806906906906906A06906806806806806906806B06B06B06B06A06B06A06A06906A06B06A08F06B06C06B06B06B06906906906906906906906906906906906906906806806806806806806806B06B06B06B06B06B06B06906A06A06A06A06A06A06B06B06B06B06B06B06B06906906906906906906906906906906906906906906906806806806806806806806806B06B06B06B06B06B06B06B06906A06906906A06906A06A06B06B06B06B06B06B06B06B06906906906906906906A06906906906906906906906906906906806806806806806806806806806B06B06B06B06B06B06B06B06B06A06906906A06906906A06906A06B06B06B06B06B06B07306B06B069069069069069069069069069 COOL 219 228 250 110 038 032 0 0 1 1 0 0 0 LID 0 1 0 1 0 0 0 0 2 2 0 0 HVPS 0105 0113 000 000 LV 00556 01120 -1190 00528 01080 -1209 01072 01064 03825 07350 02880 04779 06650 02898 09750 09150 1 204 031 AUX 0 0 CAL 0 1 0 0 OVER
    359362Bool_t MReportCamera::InterpreteBody(TString &str)
    360363{
  • trunk/MagicSoft/Mars/mreport/MReportDAQ.cc

    r2520 r2591  
    2727//  MReportDAQ
    2828//
     29// This is the class interpreting and storing the DAQ-REPORT information.
     30//
     31// --> Currently unused
     32//
    2933//////////////////////////////////////////////////////////////////////////////
    3034#include "MReportDAQ.h"
  • trunk/MagicSoft/Mars/mreport/MReportDAQ.h

    r2520 r2591  
    1414    Bool_t InterpreteBody(TString &str);
    1515
    16     ClassDef(MReportDAQ, 0) // Base class for control reports
     16    ClassDef(MReportDAQ, 1) // Base class for control reports
    1717};
    1818
Note: See TracChangeset for help on using the changeset viewer.