Changeset 2814


Ignore:
Timestamp:
01/15/04 14:47:42 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2812 r2814  
    1515
    1616
     17
    1718 2004/01/15: Thomas Bretz
    1819
    1920   * manalysis/AnalysisLinkDef.h:
    2021     - removed MCurrents
     22
     23   * mhist/MHCamera.[h,cc]:
     24     - added member function Projection
     25
     26   * mreport/MReport*.*:
     27     - added more comments
     28
    2129
    2230
  • trunk/MagicSoft/Mars/mreport/MReportCC.cc

    r2711 r2814  
    4343using namespace std;
    4444
     45// --------------------------------------------------------------------------
     46//
     47// Default construtor. Initialize identifier to "CC-REPORT" Report
     48// is expected to have no 'subsystem' time.
     49//
    4550MReportCC::MReportCC() : MReport("CC-REPORT", kFALSE)
    4651{
     
    4954}
    5055
     56// --------------------------------------------------------------------------
     57//
     58// Interprete the body of the CC-REPORT string
     59//
    5160Bool_t MReportCC::InterpreteBody(TString &str)
    5261{
  • trunk/MagicSoft/Mars/mreport/MReportCamera.cc

    r2593 r2814  
    5151using namespace std;
    5252
     53// --------------------------------------------------------------------------
     54//
     55// Default construtor. Initialize identifier to "CAMERA-REPORT"
     56//
    5357MReportCamera::MReportCamera() : MReport("CAMERA-REPORT")
    5458{
     
    5761}
    5862
     63// --------------------------------------------------------------------------
     64//
     65// FindCreate the following objects:
     66//  - MCameraCooling
     67//  - MCameraLids
     68//  - MCameraAUX
     69//  - MCameraHV
     70//  - MCameraLV
     71//  - MCameraCalibration
     72//
    5973Bool_t MReportCamera::SetupReading(MParList &plist)
    6074{
     
    86100}
    87101
     102// --------------------------------------------------------------------------
     103//
     104// Check whether the given TString begins with the given tag. Remove
     105// the tag from the string.
     106//
    88107Bool_t MReportCamera::CheckTag(TString &str, const char *tag) const
    89108{
     
    97116}
    98117
     118// --------------------------------------------------------------------------
     119//
     120// Interprete the DC* part of the report
     121//
    99122Bool_t MReportCamera::InterpreteDC(TString &str)
    100123{
     
    107130}
    108131
     132// --------------------------------------------------------------------------
     133//
     134// Interprete the HV* part of the report
     135//
    109136Bool_t MReportCamera::InterpreteHV(TString &str)
    110137{
     
    134161}
    135162
     163// --------------------------------------------------------------------------
     164//
     165// Interprete the COOL* part of the report
     166//
    136167Bool_t MReportCamera::InterpreteCOOL(TString &str)
    137168{
     
    171202}
    172203
     204// --------------------------------------------------------------------------
     205//
     206// Interprete the LID* part of the report
     207//
    173208Bool_t MReportCamera::InterpreteLID(TString &str)
    174209{
     
    210245}
    211246
     247// --------------------------------------------------------------------------
     248//
     249// Interprete the HVPS* part of the report
     250//
    212251Bool_t MReportCamera::InterpreteHVPS(TString &str)
    213252{
     
    233272}
    234273
     274// --------------------------------------------------------------------------
     275//
     276// Interprete the LV* part of the report
     277//
    235278Bool_t MReportCamera::InterpreteLV(TString &str)
    236279{
     
    279322}
    280323
     324// --------------------------------------------------------------------------
     325//
     326// Interprete the AUX* part of the report
     327//
    281328Bool_t MReportCamera::InterpreteAUX(TString &str)
    282329{
     
    301348}
    302349
     350// --------------------------------------------------------------------------
     351//
     352// Interprete the CAL* part of the report
     353//
    303354Bool_t MReportCamera::InterpreteCAL(TString &str)
    304355{
     
    326377}
    327378
     379// --------------------------------------------------------------------------
     380//
     381// Interprete the CAMERA-REPORT part
     382//
    328383Bool_t MReportCamera::InterpreteCamera(TString &str)
    329384{
     
    361416}
    362417
     418// --------------------------------------------------------------------------
     419//
     420// Interprete the body of the CAMERA-REPORT string
     421//
    363422Bool_t MReportCamera::InterpreteBody(TString &str)
    364423{
  • trunk/MagicSoft/Mars/mreport/MReportCurrents.cc

    r2780 r2814  
    2929// This is the class interpreting and storing the DC-REPORT information.
    3030//
    31 // --> Not yet finished...
    32 //
    3331//////////////////////////////////////////////////////////////////////////////
    3432#include "MReportCurrents.h"
     
    4341using namespace std;
    4442
     43// --------------------------------------------------------------------------
     44//
     45// Default construtor. Initialize identifier to "DC-REPORT" Reports
     46// are expected to have no 'subsystem' time.
     47//
    4548MReportCurrents::MReportCurrents() : MReport("DC-REPORT", kFALSE)
    4649{
     
    4952}
    5053
     54// --------------------------------------------------------------------------
     55//
     56// FindCreate the following objects:
     57//  - MCameraDC
     58//
    5159Bool_t MReportCurrents::SetupReading(MParList &plist)
    5260{
     
    5866}
    5967
     68// --------------------------------------------------------------------------
     69//
     70// Interprete the body of the DC-REPORT string
     71//
    6072Bool_t MReportCurrents::InterpreteBody(TString &str)
    6173{
  • trunk/MagicSoft/Mars/mreport/MReportDrive.cc

    r2593 r2814  
    3333// correct pointing position from.
    3434//
     35//
     36// Double_t fMjd;        // Modified Julian Date send by the drive system
     37//  This is the MJD as it was calculated by the drive system when the report
     38//  was send.
     39//
     40// Double_t fRa;         // [h]   Right ascension
     41// Double_t fDec;        // [deg] Declination
     42// Double_t fHa;         // [h]   Hour angle
     43//  Currently this descries the nominal source position
     44//
     45// Double_t fNominalZd;  // [deg] Nominal zenith distance
     46// Double_t fNominalAz;  // [deg] Nominal azimuth
     47//  The nominal local position like it was calculated in the last
     48//  control loop for time at which the last shaftencoder value has changed
     49//
     50// Double_t fCurrentZd;  // [deg] current zenith distance
     51// Double_t fCurrentAz;  // [deg] current azimuth
     52//  The current local position like it was calculated in the last
     53//  control loop from interpolated shaftencoder values for time at which
     54//  the last shaftencoder value has changed
     55//
     56// Double_t fErrorZd;    // [?] system error in the zenith angle axis
     57// Double_t fErrorAz;    // [?] sistem error in the azimuth angle axis
     58//  The system error on both axis derived from the two values above. Be
     59//  carefull, eg near the zenith we a huge deviation in azimuth
     60//  while having a small deviation in zenith angle might be meaingless.
     61//  Please use GetAbsError to get the absolute distance between the
     62//  twopositions.
     63//
     64//
    3565//////////////////////////////////////////////////////////////////////////////
    3666#include "MReportDrive.h"
     
    4474using namespace std;
    4575
     76// --------------------------------------------------------------------------
     77//
     78// Default construtor. Initialize identifier to "DRIVE-REPORT"
     79//
    4680MReportDrive::MReportDrive() : MReport("DRIVE-REPORT")
    4781{
     
    5084}
    5185
     86// --------------------------------------------------------------------------
     87//
     88// Interprete the body of the DRIVE-REPORT string
     89//
    5290Bool_t MReportDrive::InterpreteBody(TString &str)
    5391{
     
    79117}
    80118
     119// --------------------------------------------------------------------------
     120//
     121// Returns the absolute deviation from the nominal position calculated
     122// from the system error.
     123//
    81124Double_t MReportDrive::GetAbsError() const
    82125{
  • trunk/MagicSoft/Mars/mreport/MReportDrive.h

    r2707 r2814  
    99{
    1010private:
    11     Double_t fMjd;
     11    Double_t fMjd;        // Modified Julian Date send by the drive system
    1212
    13     Double_t fRa;         // [h]
    14     Double_t fDec;        // [deg]
    15     Double_t fHa;         // [h]
     13    Double_t fRa;         // [h]   Right ascension
     14    Double_t fDec;        // [deg] Declination
     15    Double_t fHa;         // [h]   Hour angle
    1616
    17     Double_t fNominalZd;  // [deg]
    18     Double_t fNominalAz;  // [deg]
    19     Double_t fCurrentZd;  // [deg]
    20     Double_t fCurrentAz;  // [deg]
     17    Double_t fNominalZd;  // [deg] Nominal zenith distance
     18    Double_t fNominalAz;  // [deg] Nominal azimuth
     19    Double_t fCurrentZd;  // [deg] current zenith distance
     20    Double_t fCurrentAz;  // [deg] current azimuth
    2121
    22     Double_t fErrorZd;    // [?]
    23     Double_t fErrorAz;    // [?]
     22    Double_t fErrorZd;    // [?] system error in the zenith angle axis
     23    Double_t fErrorAz;    // [?] sistem error in the azimuth angle axis
    2424
    2525    Bool_t InterpreteBody(TString &str);
  • trunk/MagicSoft/Mars/mreport/MReportFileRead.cc

    r2800 r2814  
    8484}
    8585
     86// --------------------------------------------------------------------------
     87//
     88// Wrapper. Returns the MReportHelp with the given identifier from the
     89// hash table.
     90//
    8691MReportHelp *MReportFileRead::GetReportHelp(const TString &str) const
    8792{
     
    8994}
    9095
     96// --------------------------------------------------------------------------
     97//
     98// Wrapper. Returns the MReport stored in the given MReportHelp
     99//
    91100MReport *MReportFileRead::GetReport(MReportHelp *help) const
    92101{
     
    94103}
    95104
     105// --------------------------------------------------------------------------
     106//
     107// Wrapper. Returns the MReport stored in the MReportHelp given by its
     108// identifier.
     109//
    96110MReport *MReportFileRead::GetReport(const TString &str) const
    97111{
  • trunk/MagicSoft/Mars/mreport/MReportRun.cc

    r2711 r2814  
    4242using namespace std;
    4343
     44// --------------------------------------------------------------------------
     45//
     46// Default construtor. Initialize identifier to "RUN-REPORT" No subsystem
     47// is expected.
     48//
    4449MReportRun::MReportRun() : MReport("RUN-REPORT", kFALSE), fRunNumber(0)
    4550{
     
    4853}
    4954
     55// --------------------------------------------------------------------------
     56//
     57// Interprete the body of the RUN-REPORT string
     58//
    5059Bool_t MReportRun::InterpreteBody(TString &str)
    5160{
  • trunk/MagicSoft/Mars/mreport/MReportTrigger.cc

    r2593 r2814  
    3838using namespace std;
    3939
     40// --------------------------------------------------------------------------
     41//
     42// Default construtor. Initialize identifier to "TRIGGER-REPORT"
     43//
    4044MReportTrigger::MReportTrigger() : MReport("TRIGGER-REPORT"), fPrescalerRates(19)
    4145{
     
    4448}
    4549
     50// --------------------------------------------------------------------------
     51//
     52// Interprete the body of the TRIGGER-REPORT string
     53//
    4654Bool_t MReportTrigger::InterpreteBody(TString &str)
    4755{
Note: See TracChangeset for help on using the changeset viewer.