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

Last change on this file since 13465 was 13465, checked in by Jens Buss, 13 years ago
initial commit
File size: 2.2 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
26// LOCAL INCLUDES
27//
28
29// FORWARD REFERENCES
30//
31
32
33class Pixel
34{
35public:
36// LIFECYCLE
37
38 /** Default constructor.
39 */
40// Pixel(int pixelID);
41 Pixel(
42 int pixelID = 0,
43 int maxPulsorder = 1,
44 int verbosityLevel = 0,
45 int pixelOverlayXaxisLeft,
46 int pixelOverlayXaxisRight,
47 int bSLMean,
48 int gainMean,
49 const char *options = ""
50 );
51
52
53// /** Copy constructor.
54// *
55// * @param from The value to copy to this object.
56// */
57// XX(const XX& from);
58
59
60 /** Destructor.
61 */
62 ~Pixel();
63
64
65// OPERATORS
66
67// /** Assignment operator.
68// *
69// * @param from THe value to assign to this object.
70// *
71// * @return A reference to this object.
72// */
73// XX& operator=(const XX& from);
74
75// OPERATIONS
76
77 void BookPixelHistos();
78 void BookDistributionHistos();
79
80 void DrawHistograms(
81 TCanvas *pixelCanvas, //Array of Canvases
82 int *histoFrameNR //Array with Canvas Frame numbers
83 );
84
85// ACCESS
86// INQUIRY
87 int mChid;
88 int mMaxPulseOrder;
89 int mVerbosityLevel;
90 int mPixelOverlayXaxisLeft;
91 int mPixelOverlayXaxisRight;
92 int mBSLMean;
93 int mGainMean;
94 const char* mOptions;
95
96 TH2F* hMaxOverlay; //histogrammm for overlay of detected Peaks
97 TH2F* hEdgeOverlay;
98 TProfile* hMaxProfile; //histogrammm for Profile of detected Peaks
99 TProfile* hEdgeProfile; //histogrammm for Profile of detected Peaks
100 TH1F* hSlopeRisingEdge;
101 TH1F* hRisingToMaxEdge;
102 TH1F* hPosOfMax;
103 TObjArray* hList;
104
105protected:
106private:
107};
108
109// INLINE METHODS
110//
111
112// EXTERNAL REFERENCES
113//
114
115#endif // _PIXEL_H_
Note: See TracBrowser for help on using the repository browser.