Last change
on this file since 13591 was 13591, checked in by Jens Buss, 13 years ago |
second constructor fpr loading allready produced histos, also took away
standard values couse they did not work for overloading
|
File size:
3.0 KB
|
Line | |
---|
1 | /** A one line description of the class.
|
---|
2 | *
|
---|
3 | * #include "XX.h" <BR>
|
---|
4 | * -llib
|
---|
5 | *
|
---|
6 | * A longer description.
|
---|
7 | *
|
---|
8 | * @see something
|
---|
9 | */
|
---|
10 |
|
---|
11 | #ifndef PIXEL_H
|
---|
12 | #define PIXEL_H
|
---|
13 |
|
---|
14 | // SYSTEM INCLUDES
|
---|
15 |
|
---|
16 | #include <TROOT.h>
|
---|
17 | #include <TProfile.h>
|
---|
18 | #include <TH2F.h>
|
---|
19 | #include <TString.h>
|
---|
20 |
|
---|
21 | //
|
---|
22 |
|
---|
23 | // PROJECT INCLUDES
|
---|
24 | //
|
---|
25 | //#include "rootfilehandler.h"
|
---|
26 | //#include "rootfilehandler.C"
|
---|
27 |
|
---|
28 | // LOCAL INCLUDES
|
---|
29 | //
|
---|
30 |
|
---|
31 | // FORWARD REFERENCES
|
---|
32 | //
|
---|
33 |
|
---|
34 |
|
---|
35 | class Pixel
|
---|
36 | {
|
---|
37 | public:
|
---|
38 | // LIFECYCLE
|
---|
39 |
|
---|
40 | /** Default constructor.
|
---|
41 | */
|
---|
42 | Pixel(
|
---|
43 | int pixelID,
|
---|
44 | int maxPulsorder,
|
---|
45 | int verbosityLevel,
|
---|
46 | bool stats,
|
---|
47 | TFile* filename
|
---|
48 | );
|
---|
49 |
|
---|
50 | Pixel(
|
---|
51 | int pixelID,
|
---|
52 | int maxPulsorder,
|
---|
53 | int verbosityLevel,
|
---|
54 | bool stats,
|
---|
55 | TFile* filename,
|
---|
56 | int pixelOverlayXaxisLeft,
|
---|
57 | int pixelOverlayXaxisRight,
|
---|
58 | int bSLMean,
|
---|
59 | int gainMean,
|
---|
60 | TString options
|
---|
61 | );
|
---|
62 |
|
---|
63 |
|
---|
64 | // /** Copy constructor.
|
---|
65 | // *
|
---|
66 | // * @param from The value to copy to this object.
|
---|
67 | // */
|
---|
68 |
|
---|
69 |
|
---|
70 | /** Destructor.
|
---|
71 | */
|
---|
72 | ~Pixel();
|
---|
73 |
|
---|
74 |
|
---|
75 | // OPERATORS
|
---|
76 |
|
---|
77 | // /** Assignment operator.
|
---|
78 | // *
|
---|
79 | // * @param from THe value to assign to this object.
|
---|
80 | // *
|
---|
81 | // * @return A reference to this object.
|
---|
82 | // */
|
---|
83 | // XX& operator=(const XX& from);
|
---|
84 |
|
---|
85 | // OPERATIONS
|
---|
86 |
|
---|
87 | void BookPixelHistos();
|
---|
88 | void DeletePixelHistos();
|
---|
89 | void DrawHistograms(
|
---|
90 | TCanvas **pixelCanvas, //Array of Canvases
|
---|
91 | int *histoFrameNR //Array with Canvas Frame numbers
|
---|
92 | );
|
---|
93 |
|
---|
94 | void BookDistributionHistos();
|
---|
95 | void DeleteDistributionHistos();
|
---|
96 | void DrawDistributionHistograms(
|
---|
97 | TCanvas **pixelCanvas, //Array of Canvases
|
---|
98 | int *histoFrameNr //Array with Canvas Frame numbers
|
---|
99 | );
|
---|
100 |
|
---|
101 | void SavePixelHistograms(const char *loc_fname, bool);
|
---|
102 | void LoadPulseHistos( );
|
---|
103 |
|
---|
104 | TString HistoTitle(
|
---|
105 | TString histo_title,
|
---|
106 | int order
|
---|
107 | );
|
---|
108 |
|
---|
109 | TString HistoName(
|
---|
110 | TString histoname,
|
---|
111 | int order
|
---|
112 | );
|
---|
113 |
|
---|
114 | // ACCESS
|
---|
115 | // INQUIRY
|
---|
116 | int mChid;
|
---|
117 | bool mStats;
|
---|
118 | int mMaxPulseOrder;
|
---|
119 | int mVerbosityLevel;
|
---|
120 | int mPixelOverlayXaxisLeft;
|
---|
121 | int mPixelOverlayXaxisRight;
|
---|
122 | int mBSLMean;
|
---|
123 | int mGainMean;
|
---|
124 | TString mOptions;
|
---|
125 |
|
---|
126 | TH2F** hMaxOverlay; //histogrammm for overlay of detected Peaks
|
---|
127 | TH2F** hEdgeOverlay;
|
---|
128 | TProfile** hMaxProfile; //histogrammm for Profile of detected Peaks
|
---|
129 | TProfile** hEdgeProfile; //histogrammm for Profile of detected Peaks
|
---|
130 | TH1F** hSlopeRisingEdge;
|
---|
131 | TH1I** hRisingEdgeToMax;
|
---|
132 | TH1I** hPosOfMax;
|
---|
133 | TObjArray* hList;
|
---|
134 |
|
---|
135 | TFile* mRootFile;
|
---|
136 |
|
---|
137 | protected:
|
---|
138 | private:
|
---|
139 | };
|
---|
140 |
|
---|
141 | // INLINE METHODS
|
---|
142 | //
|
---|
143 |
|
---|
144 | // EXTERNAL REFERENCES
|
---|
145 | //
|
---|
146 |
|
---|
147 | #endif // _PIXEL_H_
|
---|
Note:
See
TracBrowser
for help on using the repository browser.