source: fact/tools/rootmacros/PulseTemplates/rootfilehandler.h@ 13465

Last change on this file since 13465 was 13465, checked in by Jens Buss, 12 years ago
initial commit
File size: 998 bytes
Line 
1#ifndef ROOTFILEHANDLER_H
2#define ROOTFILEHANDLER_H
3
4void
5CreateRootFile(
6 const char* loc_fname,
7 int verbosityLevel
8 );
9
10TFile*
11OpenRootFile(
12 const char* loc_fname,
13 int verbosityLevel
14 );
15
16void
17CloseRootFile(
18 TFile* tf
19 );
20
21void
22SaveHistograms(
23 const char* loc_fname,
24 const char* subdirectory,
25 TObjArray* histList,
26 int verbosityLevel
27 );
28
29TString
30CreateSubDirName(
31 int pixel
32 );
33
34TString
35CreateSubDirName(
36 const char* title
37 );
38
39int
40CalculateHistogramId(
41 int pixelID,
42 int pulseOrder,
43 int maxPulseOrder
44 );
45
46int
47CalculatePixelId(
48 int histrogramID,
49 int pulseOrder,
50 int maxPulseOrder
51 );
52
53int
54CalculatePulseOrder(
55 int mHistogramId,
56 int maxPulseOrder
57 );
58
59
60#endif // ROOTFILEHANDLER_H
Note: See TracBrowser for help on using the repository browser.