Changeset 763


Ignore:
Timestamp:
04/23/01 14:51:15 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mraw/MRawFileWrite.cc

    r749 r763  
    4949ClassImp(MRawFileWrite)
    5050
     51// --------------------------------------------------------------------------
     52//
     53// Default constructor. It opens the output file (root-file)
     54//
    5155MRawFileWrite::MRawFileWrite(const char *fname, Option_t *opt,
    5256                             const char *ftitle, Int_t comp,
     
    7377}
    7478
     79// --------------------------------------------------------------------------
     80//
     81// The PreProcess function checks for the following input containers:
     82//  - MRawEvtHeader
     83//  - MRawEvtData
     84//  - MRawCrateArray
     85//  - MRawEvtTime <MTime>
     86//  - MRawRunHeader
     87// if a container isn't found the eventloop is stopped.
     88//
     89// The tree which should containe the run header is created. <RunHeaders>
     90// The trees which contains the Events <Events>, <PedEvents>, <CalEvents>
     91// are created.
     92//
    7593Bool_t MRawFileWrite::PreProcess (MParList *pList)
    7694{
     
    156174}
    157175   
     176// --------------------------------------------------------------------------
     177//
     178// Gets the trigger type from the run header to decide into which tree the
     179// event should be filled in and fills  it into this tree.
     180//
    158181Bool_t MRawFileWrite::Process()
    159182{
     
    187210}
    188211
     212
     213// --------------------------------------------------------------------------
     214//
     215// Close the TFile object and delete it.
     216//
    189217Bool_t MRawFileWrite::PostProcess()
    190218{
Note: See TracChangeset for help on using the changeset viewer.