Ignore:
Timestamp:
01/19/04 17:19:56 (21 years ago)
Author:
rico
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.