Ignore:
Timestamp:
04/28/03 16:51:29 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r1964 r2031  
    1010#endif
    1111
     12#include "MFilter.h"
     13
    1214class MMcEnergyEst : public MParContainer
    1315{
    1416private:
    1517
    16   Char_t *fInFile, *fOutFile;
    17   Char_t *fHillasName, *fHillasSrcName, *fHadronnessName;
     18  TString fInFile, fOutFile;
     19  TString fHillasName;
     20  TString fHillasSrcName;
    1821  Int_t   fNevents;
    19   Float_t fMaxHadronness, fMaxAlpha, fMaxDist;
     22
     23  MFilter *fEventFilter; //!
    2024
    2125  TArrayD fA;
     
    2529  MMcEnergyEst(const char *name=NULL, const char *title=NULL);
    2630
    27   void SetInFile(Char_t *name)         {fInFile = name;}
    28   void SetOutFile(Char_t *name)        {fOutFile = name;}
    29   void SetHillasName(Char_t *name)     {fHillasName = name;}
    30   void SetHillasSrcName(Char_t *name)  {fHillasSrcName = name;}
    31   void SetHadronnessName(Char_t *name) {fHadronnessName = name;}
    32   void SetNevents(Int_t n)             {fNevents = n;}
    33   void SetMaxHadronness(Float_t x)     {fMaxHadronness = x;}
    34   void SetMaxAlpha(Float_t x)          {fMaxAlpha = x;}
    35   void SetMaxDist(Float_t x)           {fMaxDist = x;}
     31  void SetInFile(const TString &name)         {fInFile = name;}
     32  void SetOutFile(const TString &name)        {fOutFile = name;}
     33  void SetHillasName(const TString &name)     {fHillasName = name;}
     34  void SetHillasSrcName(const TString &name)  {fHillasSrcName = name;}
     35  void SetEventFilter(MFilter *filter)        {fEventFilter = filter;}
     36  void SetNevents(Int_t n)                    {fNevents = n;}
    3637
    37   Char_t* GetInFile()         {return fInFile;}
    38   Char_t* GetOutFile()        {return fOutFile;}
    39   Char_t* GetHillasName()     {return fHillasName;}
    40   Char_t* GetHillasSrcName()  {return fHillasSrcName;}
    41   Char_t* GetHadronnessName() {return fHadronnessName;}
    42   Int_t   GetNevents()        {return fNevents;}
    43   Float_t GetMaxHadronness()  {return fMaxHadronness;}
    44   Float_t GetMaxAlpha()       {return fMaxAlpha;}
    45   Float_t GetMaxDist()        {return fMaxDist;}
     38  TString GetInFile()         const {return fInFile;}
     39  TString GetOutFile()        const {return fOutFile;}
     40  TString GetHillasName()     const {return fHillasName;}
     41  TString GetHillasSrcName()  const {return fHillasSrcName;}
     42  Int_t   GetNevents()        const {return fNevents;}
    4643
    4744  Double_t GetCoeff(Int_t i) { return i<fA.GetSize()? fA[i] : fB[i-fA.GetSize()]; }
Note: See TracChangeset for help on using the changeset viewer.