Changeset 986 for trunk


Ignore:
Timestamp:
10/24/01 14:51:21 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MFilterList.cc

    r858 r986  
    232232// one the option string must conatin a "v"
    233233//
    234 void MFilterList::Print(Option_t *opt)
     234void MFilterList::Print(Option_t *opt) const
    235235{
    236236    TString str(opt);
  • trunk/MagicSoft/Mars/mbase/MFilterList.h

    r961 r986  
    4242    Bool_t PostProcess();
    4343
    44     void Print(Option_t *opt = "");
     44    void Print(Option_t *opt = "") const;
    4545
    4646    ClassDef(MFilterList, 0)            // List to combine several filters logically
  • trunk/MagicSoft/Mars/mbase/MParContainer.cc

    r855 r986  
    132132//  Print MParContainer name and title.
    133133//
    134 void MParContainer::Print(Option_t *)
     134void MParContainer::Print(Option_t *) const
    135135{
    136136    *fLog <<"OBJ: " << IsA()->GetName() << "\t" << GetName() << "\t" << GetTitle() << endl;
  • trunk/MagicSoft/Mars/mbase/MParContainer.h

    r858 r986  
    6464    virtual void     SetTitle(const char *title=""); // *MENU*
    6565    virtual void     ls(Option_t *option="");
    66     virtual void     Print(Option_t *option="");
     66    virtual void     Print(Option_t *option="") const;
    6767    virtual Int_t    Sizeof() const;
    6868
  • trunk/MagicSoft/Mars/mbase/MParList.cc

    r984 r986  
    358358    // if object is not existing in the list try to create one
    359359    //
    360     *fLog << dbginf << "Object '" << oname << "' of type '" << cname << "' not found... creating." << endl;
     360    *fLog << dbginf << "Object '" << oname << "' [" << cname << "] not found... creating." << endl;
    361361
    362362    //
     
    406406//   print some information about the current status of MParList
    407407//
    408 void MParList::Print(Option_t *t)
    409 {
    410     *fLog << dbginf << "ParList: " << this->GetName() << " <" << this->GetTitle() << ">" << endl;
     408void MParList::Print(Option_t *t) const
     409{
     410    *fLog << dbginf << "ParList: " << GetName() << " <" << GetTitle() << ">" << endl;
    411411    *fLog << endl;
    412412}
  • trunk/MagicSoft/Mars/mbase/MParList.h

    r984 r986  
    7474    void SetOwner(Bool_t enable=kTRUE);
    7575
    76     void Print(Option_t *t = NULL);
     76    void Print(Option_t *t = NULL) const;
    7777
    7878    ClassDef(MParList, 0) // list of parameter containers (MParContainer)
  • trunk/MagicSoft/Mars/mbase/MTime.cc

    r858 r986  
    3939ClassImp(MTime);
    4040
    41 void MTime::Print(Option_t *)
     41void MTime::Print(Option_t *) const
    4242{
    4343    fLog->setf(ios::showbase);
  • trunk/MagicSoft/Mars/mbase/MTime.h

    r458 r986  
    5151    ~MTime() {}
    5252
    53     void Print(Option_t *t=NULL);
     53    void Print(Option_t *t=NULL) const;
    5454
    5555    void SetTime(UInt_t t1, UInt_t t0)
  • trunk/MagicSoft/Mars/mgui/MGeomCam.cc

    r977 r986  
    120120//  Prints the Geometry information of all pixels in the camera
    121121//
    122 void MGeomCam::Print(Option_t *)
     122void MGeomCam::Print(Option_t *) const
    123123{
    124124    //
  • trunk/MagicSoft/Mars/mgui/MGeomCam.h

    r977 r986  
    3535    MGeomPix &operator[](Int_t i) const;
    3636
    37     virtual void Print(Option_t *opt=NULL);
     37    virtual void Print(Option_t *opt=NULL) const;
    3838
    3939    ClassDef(MGeomCam, 1)  // Geometry base class for the camera
  • trunk/MagicSoft/Mars/mgui/MGeomPix.cc

    r963 r986  
    7777// Print the geometry information of one pixel.
    7878//
    79 void MGeomPix::Print(Option_t *opt)
     79void MGeomPix::Print(Option_t *opt) const
    8080{
    8181    //   information about a pixel
  • trunk/MagicSoft/Mars/mgui/MGeomPix.h

    r961 r986  
    2020    MGeomPix(Float_t x=0, Float_t y=0, Float_t r=0);
    2121
    22     void Print(Option_t *opt=NULL);
     22    void Print(Option_t *opt=NULL) const;
    2323
    2424    void Set (Float_t x, Float_t y, Float_t r) { fX=x; fY=y; fR=r; }
  • trunk/MagicSoft/Mars/mgui/MHexagon.cc

    r959 r986  
    243243//  print/dump this hexagon with its attributes
    244244//
    245 void MHexagon::Print(Option_t *)
     245void MHexagon::Print(Option_t *) const
    246246{
    247247    cout << GetName() << ": X=" << fX << " Y=" << fY << "R=" << fD << endl;
  • trunk/MagicSoft/Mars/mgui/MHexagon.h

    r961 r986  
    5050    virtual void  Paint(Option_t *Option="");
    5151    virtual void  PaintHexagon(Float_t x, Float_t y, Float_t d);
    52     virtual void  Print(Option_t *Option="");
     52    virtual void  Print(Option_t *Option="") const;
    5353
    5454    ClassDef(MHexagon, 0)    // A hexagon for MAGIC
  • trunk/MagicSoft/Mars/mhist/MHMcEnergy.cc

    r970 r986  
    209209// Write the threshold and its error in the standard output
    210210//
    211 void MHMcEnergy::Print(Option_t*)
     211void MHMcEnergy::Print(Option_t*) const
    212212{
    213213    cout << "Threshold: " << fThreshold << " +- " << fThresholdErr << endl;
  • trunk/MagicSoft/Mars/mhist/MHMcEnergy.h

    r970 r986  
    5050    void Draw(Option_t* option = "");
    5151    TObject *DrawClone(Option_t* option = "") const;
    52     void Print(Option_t* option = NULL);
     52    void Print(Option_t* option = NULL) const;
    5353
    5454    ClassDef(MHMcEnergy, 1)  // Histogram container for montecarlo energy threshold
  • trunk/MagicSoft/Mars/mhist/MHMcRate.cc

    r970 r986  
    194194//  print the trigger rate
    195195//
    196 void MHMcRate::Print(Option_t *)
     196void MHMcRate::Print(Option_t *) const
    197197{
    198198    *fLog << "Incident rate " << fShowerRate << " Hz " << endl;
  • trunk/MagicSoft/Mars/mhist/MHMcRate.h

    r970 r986  
    5555    void CalcRate(Float_t trig, Float_t anal, Float_t simu);
    5656
    57     void Print(Option_t *o=NULL);
     57    void Print(Option_t *o=NULL) const;
    5858
    5959    void Draw(Option_t *o=NULL);
Note: See TracChangeset for help on using the changeset viewer.