Ignore:
Timestamp:
07/23/01 13:54:06 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mmontecarlo/MMcThresholdCalc.h

    r866 r893  
    1313#include "MTask.h"
    1414#endif
     15#ifndef ROOT_TObjArray
     16#include "TObjArray.h"
     17#endif
    1518
    1619class MMcEvt;
     
    2124{
    2225private:
    23     UInt_t fDimension;
     26    Int_t fDimension;
    2427
    2528    const MMcEvt  *fMcEvt;       // Container with Monte Carlo information
    26     MMcTrig      **fMcTrig;      // Container with Monte Carlo trigger information
    27     MHMcEnergy   **fHMcEnergy;   // Container where we save the energy (threshold)
    2829
    29     Bool_t        *fMustDelete;  // delete indicator for selfcreated energy hists
     30    TObjArray    *fMcTrig;       // Container with Monte Carlo trigger information
     31    TObjArray    *fEnergy;       // Container where we save the energy (threshold)
    3032
    3133    const static Float_t fSqrt2; // sqrt(2)
    3234
     35    MMcTrig    *GetTrig   (UInt_t i) { return (MMcTrig*)   (*fMcTrig)[i]; }
     36    MHMcEnergy *GetHEnergy(UInt_t i) { return (MHMcEnergy*)(*fEnergy)[i]; }
     37
    3338public:
    3439
    35     MMcThresholdCalc(const UInt_t dim = 1,
     40    MMcThresholdCalc(const Int_t dim = 0,
    3641                     const char* name = NULL, const char* title = NULL);
    3742    ~MMcThresholdCalc();
Note: See TracChangeset for help on using the changeset viewer.