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 |
|
|