Ignore:
Timestamp:
11/22/03 15:31:18 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mraw
Files:
2 edited

Legend:

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

    r2470 r2556  
    105105//  - MRawEvtData
    106106//  - MRawCrateArray
    107 //  - MRawEvtTime <MTime>
     107//  - MTime
    108108//  - MRawRunHeader
    109109// if a container isn't found the eventloop is stopped.
     
    154154    }
    155155
    156     fRawEvtTime = (MTime*)pList->FindObject("MRawEvtTime");
    157     if (!fRawEvtTime)
    158     {
    159         *fLog << err << dbginf << "MRawEvtTime not found... aborting." << endl;
     156    fTime = (MTime*)pList->FindObject("MTime");
     157    if (!fTime)
     158    {
     159        *fLog << err << dbginf << "MTime not found... aborting." << endl;
    160160        return kFALSE;
    161161    }
     
    186186    // create data trees for the three types of data
    187187    //
    188     fTData        = new TTree("Events",    "Normal Triggered Events");
    189     fTPedestal    = new TTree("PedEvents", "Pedestal Triggered Events");
    190     fTCalibration = new TTree("CalEvents", "Calibration Triggered Events");
     188    fTData        = new TTree("Events",      "Normal Triggered Events");
     189    fTPedestal    = new TTree("Pedestals",  "Pedestal Triggered Events");
     190    fTCalibration = new TTree("Calibration", "Calibration Triggered Events");
    191191
    192192    //
     
    213213    // FIXME: Can we calculate a good buffer size out of the event size?
    214214    //        using splitlevel=0 sppeds up writing by a factor of 5-10%
    215     fTData       ->Branch("MTime.",          "MTime",          &fRawEvtTime,    32000);
    216     fTPedestal   ->Branch("MTime.",          "MTime",          &fRawEvtTime,    32000);
    217     fTCalibration->Branch("MTime.",          "MTime",          &fRawEvtTime,    32000);
     215    fTData       ->Branch("MTime.",          "MTime",          &fTime,          32000);
     216    fTPedestal   ->Branch("MTime.",          "MTime",          &fTime,          32000);
     217    fTCalibration->Branch("MTime.",          "MTime",          &fTime,          32000);
    218218    fTData       ->Branch("MRawEvtHeader.",  "MRawEvtHeader",  &fRawEvtHeader,  32000);
    219219    fTPedestal   ->Branch("MRawEvtHeader.",  "MRawEvtHeader",  &fRawEvtHeader,  32000);
  • trunk/MagicSoft/Mars/mraw/MRawFileWrite.h

    r2207 r2556  
    2121    MParList *pParList;
    2222
    23     MTime          *fRawEvtTime;
     23    MTime          *fTime;
    2424    MRawRunHeader  *fRawRunHeader;
    2525    MRawEvtHeader  *fRawEvtHeader;
Note: See TracChangeset for help on using the changeset viewer.