Ignore:
Timestamp:
02/21/00 14:52:28 (25 years ago)
Author:
harald
Message:
Changed the namespace for all the members. To be more readable all the
prefixes to tell the type of variables are removed. This is a topic only
of the class and is not really interesting for the outside world.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/include-Classes/MRawPixel.cxx

    r306 r371  
    2626// ---------
    2727//
    28 // UShort_t     usPixelId     ;   
     28// UShort_t     PixelId     ;   
    2929//
    3030// This is to identify the Pixel.
     
    3434// To reduce the amount of data, we store the information of the
    3535// low-gain-branch of the Fadc´s only if there is a signal in. Then the
    36 // usPixelId is:
    37 //                   usPixelId = 10000 + PixelId   .
     36// PixelId is:
     37//                   PixelId = 10000 + PixelId   .
    3838//
    3939// For the high gain Fadc values the rule is:
    40 //                   usPixelId = PixelId .
     40//                   PixelId = PixelId .
    4141//
    4242//
    4343// ---------
    4444//
    45 // UChar_t      ucPixelStatus ;   
     45// UChar_t      PixelStatus ;   
    4646//
    4747// The PixelStatus may contain information if the Pixel has triggered
    4848// this event. Also the kind of gain-branch (high or low) may be indicated
    49 // by one bit of the ucPixelStatus. etc
     49// by one bit of the PixelStatus. etc
    5050//
    5151// ---------
    5252//
    53 // UChar_t      aucFadc[ FADC_SLICES ]  ;
     53// UChar_t      Fadc[ FADC_SLICES ]  ;
    5454//
    5555// The values of FADC_SLICES fadc-slices. This is the information of the
    5656// measured ADC values for one branch (high gain or low gain). The typ of
    57 // branch is indicated in the usPixelNumber and in the ucPixelStatus.
     57// branch is indicated in the usPixelNumber and in the PixelStatus.
    5858
    5959ClassImp(MRawPixel)
     
    6666  //
    6767   
    68     usPixelId     = 0 ;
    69     ucPixelStatus = 0 ;
     68    PixelId     = 0 ;
     69    PixelStatus = 0 ;
    7070   
    7171    for (Int_t i = 0; i<FADC_SLICES; i++)
    72       aucFadc[i]   = 0 ;
     72      Fadc[i]   = 0 ;
    7373}
    7474
     
    8080  //  Parameter is the PixelId. All other data member are set to zero
    8181 
    82   usPixelId     = PId ;
    83   ucPixelStatus = 0 ;
     82  PixelId     = PId ;
     83  PixelStatus = 0 ;
    8484 
    8585  for (Int_t i = 0; i<FADC_SLICES; i++)
    86     aucFadc[i]   = 0 ;
     86    Fadc[i]   = 0 ;
    8787}
    8888
     
    9494  // parameters are PixelId, Status and an array with Fadc numbers.
    9595 
    96   usPixelId     = usPId ;
    97   ucPixelStatus = ucSt  ;
     96  PixelId     = usPId ;
     97  PixelStatus = ucSt  ;
    9898 
    9999  for (Int_t i = 0; i<FADC_SLICES; i++)
    100     aucFadc[i]   = ucF[i] ;
     100    Fadc[i]   = ucF[i] ;
    101101}
    102102MRawPixel::~MRawPixel(){
     
    110110  //  Sets the data member back to zero
    111111  //
    112   usPixelId     = 0 ;
    113   ucPixelStatus = 0 ;
     112  PixelId     = 0 ;
     113  PixelStatus = 0 ;
    114114 
    115115  for (Int_t i = 0; i<FADC_SLICES; i++)
    116     aucFadc[i]   = 0 ;
     116    Fadc[i]   = 0 ;
    117117}
    118118
     
    124124  //
    125125
    126   cout << endl << "PixId " << usPixelId          ;
    127   cout << " Stat " << (Int_t) ucPixelStatus << " --> "     ;
     126  cout << endl << "PixId " << PixelId          ;
     127  cout << " Stat " << (Int_t) PixelStatus << " --> "     ;
    128128
    129129  for (Int_t i=0 ; i<FADC_SLICES ; i++ ) {
    130     cout<<" / " << (int) aucFadc[i] ;
     130    cout<<" / " << (int) Fadc[i] ;
    131131  }
    132132}
     
    136136  // returns back the PixelId of the Pixel
    137137  //
    138   return usPixelId;
     138  return PixelId;
    139139}
    140140
     
    143143  // returns back the fadc content of the slice iSli
    144144  //
    145   return ( aucFadc[iSli] ) ;
     145  return ( Fadc[iSli] ) ;
    146146}
    147147
Note: See TracChangeset for help on using the changeset viewer.