Changeset 2056


Ignore:
Timestamp:
05/02/03 13:01:51 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc

    r2048 r2056  
    2323!
    2424\* ======================================================================== */
    25 
    2625#include "MCerPhotPix.h"
    2726
     
    4241// --------------------------------------------------------------------------
    4342//
    44 // Sets the information of one pixel.  The pixel is assumed as used and
    45 // not a core pixel.
    46 //
    47 void MCerPhotPix::SetPixelContent(Int_t pix, Float_t phot, Float_t errphot)
    48 {
    49     fPixId   = pix;
    50     fRing    = 1;
    51     fPhot    = phot;
    52     fErrPhot = errphot;
    53 }
    54 
    55 // --------------------------------------------------------------------------
    56 //
    5743//  Print information to gLog.
    5844//
     
    6450    gLog << "Nphot= " << fPhot << " Error(Nphot)=" << fErrPhot << endl;
    6551}
    66 
    67 
    68 
    69 
    70 
    71 
    72 
    73 
    74 
    75 
    76 
    77 
    78 
    79 
    80 
  • trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h

    r2055 r2056  
    1212    Int_t    fPixId;     // the pixel Id
    1313
    14     UShort_t fRing;      // NT: number of analyzed rings around the core pixels
    15     Bool_t   fIsCore;    // the pixel is a Core pixel          --> kTRUE
     14    UShort_t fRing;      // NT: number of analyzed rings around the core pixels (fRing>0 means: used)
     15    Bool_t   fIsCore;    // the pixel is a Core pixel -> kTRUE
    1616
    17     UShort_t fRing;      // NT: number of analyzed rings around the core pixels
    1817    Float_t  fPhot;      // The number of Cerenkov photons
    1918    Float_t  fErrPhot;   // the error of fPhot
     
    2827    Float_t  GetErrorPhot() const        { return fErrPhot; }
    2928
    30     Bool_t   IsPixelUsed() const      { return fRing>0; }
    31     void     SetPixelUnused()         { fRing=0; }
    32     void     SetPixelUsed()           { fRing=1; }
     29    Bool_t   IsPixelUsed() const         { return fRing>0; }
     30    void     SetPixelUnused()            { fRing=0; }
     31    void     SetPixelUsed()              { fRing=1; }
    3332
    34     void     SetRing(UShort_t r)      { fRing = r;   }
    35     Short_t  GetRing() const          { return fRing;}
     33    void     SetRing(UShort_t r)         { fRing = r;   }
     34    Short_t  GetRing() const             { return fRing;}
    3635
    3736    void     SetPixelCore()              { fIsCore = kTRUE; }
Note: See TracChangeset for help on using the changeset viewer.