/[PAMELA software]/calo/flight/CaloProfile/inc/CaloProfile.h
ViewVC logotype

Contents of /calo/flight/CaloProfile/inc/CaloProfile.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Nov 26 08:44:34 2007 UTC (17 years, 1 month ago) by mocchiut
Branch: MAIN
Changes since 1.1: +4 -0 lines
File MIME type: text/plain
TObject method overload bug fixed

1 /**
2 * \file CaloProfile.h
3 * \author Emiliano Mocchiutti
4 */
5 #ifndef caloprofile_h
6 #define caloprofile_h
7
8 #include <PamLevel2.h>
9
10 #include <TTree.h>
11 #include <TFriendElement.h>
12 #include <TChain.h>
13 #include <TCanvas.h>
14 #include <TGraph.h>
15 #include <TH1F.h>
16 #include <TH2F.h>
17 #include <TFile.h>
18 #include <TPolyLine.h>
19 #include <TMath.h>
20 #include <TStyle.h>
21 #include <TList.h>
22 #include <TKey.h>
23 #include <TSystemFile.h>
24 #include <TSystemDirectory.h>
25 #include <TSQLServer.h>
26 #include <TF1.h>
27 #include <iostream>
28
29 using namespace std;
30
31 /**
32 *
33 */
34 class CaloLat : public TObject {
35
36 private:
37 //
38 PamLevel2 *L2;
39 Bool_t debug;
40 //
41 // needed to avoid reprocessing the same event over and over to obtain the variables
42 //
43 UInt_t OBT;
44 UInt_t PKT;
45 UInt_t atime;
46 //
47 Float_t estrip[2][22][96];
48 //
49
50 public:
51 //
52 //
53 void Draw();
54 void Draw(Int_t,Int_t);
55 //
56 CaloLat();
57 CaloLat(PamLevel2 *L2);
58 ~CaloLat(){ Delete(); };
59 //
60 void SetDebug(Bool_t d){ debug=d; };
61 //
62 void Clear();
63 void Clear(Option_t *option){Clear();};
64 void Delete();
65 void Delete(Option_t *option){Delete();};
66 //
67 void Process(); ///< Process data
68 void Print();
69 void Print(Option_t *option){Print();};
70 //
71 ClassDef(CaloLat,1);
72 };
73
74 /**
75 *
76 */
77 class CaloLong : public TObject {
78
79 private:
80 //
81 PamLevel2 *L2;
82 Bool_t debug;
83 //
84 // needed to avoid reprocessing the same event over and over to obtain the variables
85 //
86 UInt_t OBT;
87 UInt_t PKT;
88 UInt_t atime;
89 //
90 Float_t eplane[2][22];
91 //
92
93 public:
94 //
95 //
96 void Draw();
97 void Draw(Int_t);
98 //
99 CaloLong();
100 CaloLong(PamLevel2 *L2);
101 ~CaloLong(){ Delete(); };
102 //
103 void SetDebug(Bool_t d){ debug=d; };
104 //
105 void Clear();
106 void Clear(Option_t *option){Clear();};
107 void Delete();
108 void Delete(Option_t *option){Delete();};
109 //
110 void Process(); ///< Process data
111 void Print();
112 void Print(Option_t *option){Print();};
113 //
114 ClassDef(CaloLong,1);
115 };
116
117 #endif
118

  ViewVC Help
Powered by ViewVC 1.1.23