Ignore:
Timestamp:
09/14/04 19:46:40 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationIntensityRelTimeCam.cc

    r4967 r5015  
    3939/////////////////////////////////////////////////////////////////////////////
    4040#include "MCalibrationIntensityRelTimeCam.h"
     41#include "MCalibrationRelTimeCam.h"
    4142
    42 #include <TClonesArray.h>
     43#include <TObjArray.h>
    4344
    4445ClassImp(MCalibrationIntensityRelTimeCam);
     
    5051// Default constructor.
    5152//
    52 // Sets all pointers to 0
    53 //
    54 // Creates a TClonesArray of MCalibrationRelTimeCam containers, initialized to 1 entry, destinated
    55 // to hold one container per camera.
    56 //
    57 //
    5853MCalibrationIntensityRelTimeCam::MCalibrationIntensityRelTimeCam(const char *name, const char *title)
    5954{
     
    6257  fTitle = title ? title : "Results of the Intensity Calibration";
    6358 
    64   fCams = new TClonesArray("MCalibrationRelTimeCam",1);
     59}
    6560
     61
     62// --------------------------------------------------------------------------
     63//
     64// Calls TObjArray::Expand() for fCams and initialze one CalibrationRelTimeCam
     65//
     66void MCalibrationIntensityRelTimeCam::InitSize(const UInt_t n)
     67{
     68  MCalibrationIntensityCam::InitSize(n);
     69  (*fCams)[n-1] = new MCalibrationRelTimeCam;
    6670}
     71
Note: See TracChangeset for help on using the changeset viewer.