Changeset 371 for trunk/MagicSoft/include-Classes/MRawPixel.cxx
- Timestamp:
- 02/21/00 14:52:28 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/include-Classes/MRawPixel.cxx
r306 r371 26 26 // --------- 27 27 // 28 // UShort_t usPixelId ;28 // UShort_t PixelId ; 29 29 // 30 30 // This is to identify the Pixel. … … 34 34 // To reduce the amount of data, we store the information of the 35 35 // 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 . 38 38 // 39 39 // For the high gain Fadc values the rule is: 40 // usPixelId = PixelId .40 // PixelId = PixelId . 41 41 // 42 42 // 43 43 // --------- 44 44 // 45 // UChar_t ucPixelStatus ;45 // UChar_t PixelStatus ; 46 46 // 47 47 // The PixelStatus may contain information if the Pixel has triggered 48 48 // this event. Also the kind of gain-branch (high or low) may be indicated 49 // by one bit of the ucPixelStatus. etc49 // by one bit of the PixelStatus. etc 50 50 // 51 51 // --------- 52 52 // 53 // UChar_t aucFadc[ FADC_SLICES ] ;53 // UChar_t Fadc[ FADC_SLICES ] ; 54 54 // 55 55 // The values of FADC_SLICES fadc-slices. This is the information of the 56 56 // 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. 58 58 59 59 ClassImp(MRawPixel) … … 66 66 // 67 67 68 usPixelId = 0 ;69 ucPixelStatus = 0 ;68 PixelId = 0 ; 69 PixelStatus = 0 ; 70 70 71 71 for (Int_t i = 0; i<FADC_SLICES; i++) 72 aucFadc[i] = 0 ;72 Fadc[i] = 0 ; 73 73 } 74 74 … … 80 80 // Parameter is the PixelId. All other data member are set to zero 81 81 82 usPixelId = PId ;83 ucPixelStatus = 0 ;82 PixelId = PId ; 83 PixelStatus = 0 ; 84 84 85 85 for (Int_t i = 0; i<FADC_SLICES; i++) 86 aucFadc[i] = 0 ;86 Fadc[i] = 0 ; 87 87 } 88 88 … … 94 94 // parameters are PixelId, Status and an array with Fadc numbers. 95 95 96 usPixelId = usPId ;97 ucPixelStatus = ucSt ;96 PixelId = usPId ; 97 PixelStatus = ucSt ; 98 98 99 99 for (Int_t i = 0; i<FADC_SLICES; i++) 100 aucFadc[i] = ucF[i] ;100 Fadc[i] = ucF[i] ; 101 101 } 102 102 MRawPixel::~MRawPixel(){ … … 110 110 // Sets the data member back to zero 111 111 // 112 usPixelId = 0 ;113 ucPixelStatus = 0 ;112 PixelId = 0 ; 113 PixelStatus = 0 ; 114 114 115 115 for (Int_t i = 0; i<FADC_SLICES; i++) 116 aucFadc[i] = 0 ;116 Fadc[i] = 0 ; 117 117 } 118 118 … … 124 124 // 125 125 126 cout << endl << "PixId " << usPixelId ;127 cout << " Stat " << (Int_t) ucPixelStatus << " --> " ;126 cout << endl << "PixId " << PixelId ; 127 cout << " Stat " << (Int_t) PixelStatus << " --> " ; 128 128 129 129 for (Int_t i=0 ; i<FADC_SLICES ; i++ ) { 130 cout<<" / " << (int) aucFadc[i] ;130 cout<<" / " << (int) Fadc[i] ; 131 131 } 132 132 } … … 136 136 // returns back the PixelId of the Pixel 137 137 // 138 return usPixelId;138 return PixelId; 139 139 } 140 140 … … 143 143 // returns back the fadc content of the slice iSli 144 144 // 145 return ( aucFadc[iSli] ) ;145 return ( Fadc[iSli] ) ; 146 146 } 147 147
Note:
See TracChangeset
for help on using the changeset viewer.