Parent Directory | Revision Log | Patch
revision 1.1 by kusanagi, Sun Apr 30 11:08:14 2006 UTC | revision 1.2 by kusanagi, Wed Jun 14 07:21:35 2006 UTC | |
---|---|---|
# | Line 318 Int_t Utility::getFirstNotZeroBin(TH1 *h | Line 318 Int_t Utility::getFirstNotZeroBin(TH1 *h |
318 | //In the end I subtract 10% to the retrieved value | //In the end I subtract 10% to the retrieved value |
319 | return (Int_t)(lastBin*0.90); | return (Int_t)(lastBin*0.90); |
320 | } | } |
321 | ||
322 | void Utility::endian_swap(UShort_t& x) { | |
323 | x = (x>>8) | | |
324 | (x<<8); | |
325 | } | |
326 | ||
327 | void Utility::endian_swap(UInt_t& x){ | |
328 | x = (x>>24) | | |
329 | ((x<<8) & 0x00FF0000) | | |
330 | ((x>>8) & 0x0000FF00) | | |
331 | (x<<24); | |
332 | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.23 |