Ignore:
Timestamp:
01/22/02 20:50:06 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mfilter
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfilter/MFAlpha.cc

    r1208 r1211  
    4444// --------------------------------------------------------------------------
    4545//
    46 MFAlpha::MFAlpha(const char *cname, const char type, const Float_t val) : fHillas(NULL)
     46MFAlpha::MFAlpha(const char *cname, const char type, const Float_t val,
     47                 const char *name, const char *title) : fHillas(NULL)
    4748{
    4849    fContName = cname;
    49     Init(type, val);
     50    Init(type, val, name, title);
    5051}
    5152
    5253// --------------------------------------------------------------------------
    5354//
    54 MFAlpha::MFAlpha(const MHillasSrc *hillas, const char type, const Float_t val) : fHillas(hillas)
     55MFAlpha::MFAlpha(const MHillasSrc *hillas, const char type, const Float_t val,
     56                 const char *name, const char *title) : fHillas(hillas)
    5557{
    56     Init(type, val);
     58    Init(type, val, name, title);
    5759}
    5860
    5961// --------------------------------------------------------------------------
    6062//
    61 void MFAlpha::Init(const char type, const Int_t val)
     63void MFAlpha::Init(const char type, const Int_t val,
     64                   const char *name, const char *title)
    6265{
     66    fName  = name  ? name  : "MFAlpha";
     67    fTitle = title ? title : "Filter using the alpha angle";
     68
    6369    fFilterType = (type=='<' ? kELowerThan : kEGreaterThan);
    6470
  • trunk/MagicSoft/Mars/mfilter/MFAlpha.h

    r1209 r1211  
    2727    Float_t fValue; // [deg]
    2828
    29     void Init(const char type, const Int_t val);
     29    void Init(const char type, const Int_t val,
     30              const char *name, const char *title);
    3031
    3132public:
    32     MFAlpha(const char       *cname="MHillas", const char type='>', const Float_t deg=15);
    33     MFAlpha(const MHillasSrc *hillas,          const char type='>', const Float_t deg=15);
     33    MFAlpha(const char       *cname="MHillas", const char type='>', const Float_t deg=15,
     34            const char *name=NULL, const char *title=NULL);
     35    MFAlpha(const MHillasSrc *hillas,          const char type='>', const Float_t deg=15,
     36            const char *name=NULL, const char *title=NULL);
    3437
    3538    Bool_t IsExpressionTrue() const;
  • trunk/MagicSoft/Mars/mfilter/MFTriggerLvl1.cc

    r1116 r1211  
    4242// --------------------------------------------------------------------------
    4343//
    44 MFTriggerLvl1::MFTriggerLvl1(const char *cname, const char type, const Int_t val) : fMcTrig(NULL)
     44MFTriggerLvl1::MFTriggerLvl1(const char *cname, const char type, const Int_t val,
     45                             const char *name, const char *title) : fMcTrig(NULL)
    4546{
    4647    fContName = cname;
    47     Init(type, val);
     48    Init(type, val, name, title);
    4849}
    4950
    5051// --------------------------------------------------------------------------
    5152//
    52 MFTriggerLvl1::MFTriggerLvl1(const MMcTrig *mctrig, const char type, const Int_t val) : fMcTrig(mctrig)
     53MFTriggerLvl1::MFTriggerLvl1(const MMcTrig *mctrig, const char type, const Int_t val,
     54                             const char *name, const char *title) : fMcTrig(mctrig)
    5355{
    54     Init(type, val);
     56    Init(type, val, name, title);
    5557}
    5658
    5759// --------------------------------------------------------------------------
    5860//
    59 void MFTriggerLvl1::Init(const char type, const Int_t val)
     61void MFTriggerLvl1::Init(const char type, const Int_t val,
     62                         const char *name, const char *title)
    6063{
     64    fName  = name  ? name  : "MFTriggerLvl1";
     65    fTitle = title ? title : "Filter using number of 1st level triggers";
     66
    6167    fFilterType = (type=='<' ? kELowerThan : kEGreaterThan);
    6268
  • trunk/MagicSoft/Mars/mfilter/MFTriggerLvl1.h

    r1015 r1211  
    2727    Int_t  fValue;
    2828
    29     void Init(const char type, const Int_t val);
     29    void Init(const char type, const Int_t val,
     30              const char *name, const char *title);
    3031
    3132public:
    32     MFTriggerLvl1(const char *cname="MMcTrig", const char type='>', const Int_t val=0);
    33     MFTriggerLvl1(const MMcTrig *mctrig,       const char type='>', const Int_t val=0);
     33    MFTriggerLvl1(const char *cname="MMcTrig", const char type='>', const Int_t val=0,
     34                  const char *name=NULL, const char *title=NULL);
     35    MFTriggerLvl1(const MMcTrig *mctrig,       const char type='>', const Int_t val=0,
     36                  const char *name=NULL, const char *title=NULL);
    3437
    3538    Bool_t IsExpressionTrue() const;
Note: See TracChangeset for help on using the changeset viewer.