/[PAMELA software]/yodaUtility/yodaUtility.h
ViewVC logotype

Diff of /yodaUtility/yodaUtility.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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 33  class Utility { Line 33  class Utility {
33    static TFile* getFile(TString base, TString packetType, TString subType);    static TFile* getFile(TString base, TString packetType, TString subType);
34    static Int_t getLastNotZeroBin(TH1 *histo);    static Int_t getLastNotZeroBin(TH1 *histo);
35    static Int_t getFirstNotZeroBin(TH1 *histo);    static Int_t getFirstNotZeroBin(TH1 *histo);
36      static void endian_swap(UShort_t& x);
37      static void endian_swap(UInt_t& x);
38    
39    /*
40      inline void endian_swap(ULong64_t& x){
41        x = (x>>56) |
42            ((x<<40) & 0x00FF000000000000) |
43            ((x<<24) & 0x0000FF0000000000) |
44            ((x<<8)  & 0x000000FF00000000) |
45            ((x>>8)  & 0x00000000FF000000) |
46            ((x>>24) & 0x0000000000FF0000) |
47            ((x>>40) & 0x000000000000FF00) |
48            (x<<56);
49      }
50      */
51  };  };
52    
53    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23