38 |
#include <TEllipse.h> |
#include <TEllipse.h> |
39 |
#include <TArrow.h> |
#include <TArrow.h> |
40 |
#include <TStyle.h> |
#include <TStyle.h> |
41 |
|
#include <TLeaf.h> |
42 |
|
#include <TLeafElement.h> |
43 |
|
#include <TLeafF.h> |
44 |
|
#include <TLeafC.h> |
45 |
|
#include <TLeafD.h> |
46 |
|
#include <TBranchClones.h> |
47 |
// |
// |
48 |
#include <PamLevel2.h> |
#include <PamLevel2.h> |
49 |
#include <PamelaRun.h> |
#include <PamelaRun.h> |
66 |
private: |
private: |
67 |
TCanvas *thefigure; |
TCanvas *thefigure; |
68 |
TFile *file; |
TFile *file; |
69 |
TTree *otr; |
// TTree *otr; |
70 |
|
TChain *otr; |
71 |
|
// TTree *runtree; |
72 |
|
// TChain *runtree; |
73 |
PamLevel2 *L2; |
PamLevel2 *L2; |
74 |
pamela::PscuHeader *ph; |
pamela::PscuHeader *ph; |
75 |
pamela::EventHeader *eh; |
pamela::EventHeader *eh; |
81 |
pamela::S4::S4Event *s4; |
pamela::S4::S4Event *s4; |
82 |
pamela::trigger::TriggerEvent *trigger; |
pamela::trigger::TriggerEvent *trigger; |
83 |
pamela::tof::TofEvent *tof; |
pamela::tof::TofEvent *tof; |
84 |
OrbitalInfo *oinfoL2; |
// OrbitalInfo *oinfoL2; |
85 |
ItoRunInfo *runinfo; |
// ItoRunInfo *runinfo; |
86 |
PAMevcontrol *pamgui; |
PAMevcontrol *pamgui; |
87 |
Int_t *ctrlword; |
Int_t *ctrlword; |
88 |
Int_t thisentry; |
Int_t thisentry; |
102 |
void ShowAC(); |
void ShowAC(); |
103 |
void ShowS4(Bool_t upd); |
void ShowS4(Bool_t upd); |
104 |
void ShowND(); |
void ShowND(); |
105 |
|
|
106 |
|
// void PrintData(TTree *,Long64_t, Int_t); |
107 |
|
// void PrintLeaves(TTree *, Int_t, TBranchElement *,Int_t); |
108 |
|
void ShowInfo(TString); |
109 |
|
|
110 |
void Calo1stcalib(); |
void Calo1stcalib(); |
111 |
int OLDCaloFindCalibs(); |
int OLDCaloFindCalibs(); |
112 |
int CaloPede(Int_t s); |
int CaloPede(Int_t s); |
116 |
public: |
public: |
117 |
struct Levels level; |
struct Levels level; |
118 |
struct Variables var; |
struct Variables var; |
119 |
|
TString ddec; |
120 |
Int_t lastevno; |
Int_t lastevno; |
121 |
Int_t firstevno; |
Int_t firstevno; |
122 |
Int_t si; |
Int_t si; |
138 |
// |
// |
139 |
FEVdetector(TString filename, TString selfile, Int_t &mainctrlword, TCanvas &figure); |
FEVdetector(TString filename, TString selfile, Int_t &mainctrlword, TCanvas &figure); |
140 |
void SetGUIPtr(PAMevcontrol &mainpamgui); |
void SetGUIPtr(PAMevcontrol &mainpamgui); |
141 |
|
void SetDDEC(TString); |
142 |
void checkctrlword(); |
void checkctrlword(); |
143 |
void add(TString name); |
void add(TString name); |
144 |
void Load(TTree &mainotr, TFile &mainfile); |
//Int_t Load(TTree &mainotr, TFile &mainfile); |
145 |
|
TChain *Load(TFile &mainfile); |
146 |
|
TChain *GetChain(){return otr;}; |
147 |
|
// TChain *GetRunChain(){return runtree;}; |
148 |
void GetWindow(); |
void GetWindow(); |
149 |
void ClearVariables(); |
void ClearVariables(); |
150 |
void GetEntry(Int_t i); |
void GetEntry(Int_t i); |
155 |
int GetThisEntry(){return (thisentry);}; |
int GetThisEntry(){return (thisentry);}; |
156 |
int GetCounter(); |
int GetCounter(); |
157 |
int SelectEvent(); |
int SelectEvent(); |
158 |
|
// |
159 |
|
PamLevel2 *GetL2(){return L2;}; |
160 |
|
// |
161 |
}; |
}; |
162 |
|
|
163 |
#endif |
#endif |