Changeset 2850


Ignore:
Timestamp:
01/19/04 17:19:56 (21 years ago)
Author:
rico
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2849 r2850  
    44
    55                                                 -*-*- END OF LINE -*-*-
     6
     7 2004/01/19: Javier Rico
     8   * manalysis/MPedCalcPedRun.cc, manalysis/MPedPhotCalc.cc
     9     - Added documentation of member functions
     10
    611
    712 2004/01/19: Abelardo Moralejo
  • trunk/MagicSoft/Mars/manalysis/MPedCalcPedRun.cc

    r2821 r2850  
    6565using namespace std;
    6666
     67//
     68// default constructor
     69//
    6770MPedCalcPedRun::MPedCalcPedRun(const char *name, const char *title)
    6871{
     
    7477}
    7578
     79// --------------------------------------------------------------------------
     80//
     81// Look for the following input containers:
     82//
     83//  - MRawEvtData
     84//
     85// The following output containers are also searched and created if
     86// they were not found:
     87//
     88//  - MPedestalCam
     89//
    7690Int_t MPedCalcPedRun::PreProcess( MParList *pList )
    7791{
     
    92106}
    93107
     108// --------------------------------------------------------------------------
     109//
     110// The ReInit searches for the following input containers:
     111//  - MRawRunHeader
     112//
     113// It also initializes the data arrays fSumx and fSumx2
     114// (only for the first read file)
     115//
    94116Bool_t MPedCalcPedRun::ReInit(MParList *pList)
    95117{
     
    122144    return kTRUE;
    123145}
    124 
     146// --------------------------------------------------------------------------
     147//
     148// Fill the MPedestalCam container with the signal mean and rms for the event.
     149// Store the measured signal in arrays fSumx and fSumx2 so that we can
     150// calculate the overall mean and rms in the PostProcess()
     151//
    125152Int_t MPedCalcPedRun::Process()
    126153{
     
    161188}
    162189
     190// --------------------------------------------------------------------------
     191//
     192// Compute signal mean and rms in the whole run and store it in MPedestalCam
     193//
    163194Int_t MPedCalcPedRun::PostProcess()
    164195{
  • trunk/MagicSoft/Mars/manalysis/MPedPhotCalc.cc

    r2848 r2850  
    5959using namespace std;
    6060
     61//
     62// Default constructor
     63//
    6164MPedPhotCalc::MPedPhotCalc(const char *name, const char *title)
    6265{
     
    6568}
    6669
     70// --------------------------------------------------------------------------
     71//
     72// Look for the following input containers:
     73//
     74//  - MCerPhotEvt
     75//
     76// The following output containers are also searched and created if
     77// they were not found:
     78//
     79//  - MPedPhotCam
     80//
    6781Int_t MPedPhotCalc::PreProcess( MParList *pList )
    6882{     
     
    8397}
    8498
     99// --------------------------------------------------------------------------
     100//
     101// The ReInit searches for the following input containers:
     102//  - MRawRunHeader
     103//
     104// It also initializes the data arrays fSumx and fSumx2
     105// (only for the first read file)
     106//
    85107Bool_t MPedPhotCalc::ReInit(MParList *pList)
    86108{
     
    111133}
    112134
     135// --------------------------------------------------------------------------
     136//
     137// Store the measured number of photons in arrays fSumx and fSumx2
     138// so that we can calculate the mean and rms in the PostProcess()
     139//
    113140Int_t MPedPhotCalc::Process()
    114141{
     
    129156}
    130157
     158// --------------------------------------------------------------------------
     159//
     160// Compute mean and rms of the measured charge distribution (in photons)
     161//
    131162Int_t MPedPhotCalc::PostProcess()
    132163  {
Note: See TracChangeset for help on using the changeset viewer.