44 |
#include <TLeafC.h> |
#include <TLeafC.h> |
45 |
#include <TLeafD.h> |
#include <TLeafD.h> |
46 |
#include <TBranchClones.h> |
#include <TBranchClones.h> |
47 |
|
#include <TStreamerInfo.h> |
48 |
// |
// |
49 |
#include <PamLevel2.h> |
#include <PamLevel2.h> |
50 |
#include <PamelaRun.h> |
#include <PamelaRun.h> |
66 |
|
|
67 |
private: |
private: |
68 |
TCanvas *thefigure; |
TCanvas *thefigure; |
69 |
TFile *file; |
// TFile *file; |
70 |
// TTree *otr; |
// TTree *otr; |
71 |
TChain *otr; |
TChain *otr; |
72 |
// TTree *runtree; |
// TTree *runtree; |
73 |
TChain *runtree; |
// TChain *runtree; |
|
PamLevel2 *L2; |
|
74 |
pamela::PscuHeader *ph; |
pamela::PscuHeader *ph; |
75 |
pamela::EventHeader *eh; |
pamela::EventHeader *eh; |
76 |
pamela::calorimeter::CalorimeterEvent *de; |
pamela::calorimeter::CalorimeterEvent *de; |
114 |
void CaloCompressData(Int_t l, Int_t m, Int_t pre); |
void CaloCompressData(Int_t l, Int_t m, Int_t pre); |
115 |
|
|
116 |
public: |
public: |
117 |
|
PamLevel2 *L2; |
118 |
struct Levels level; |
struct Levels level; |
119 |
struct Variables var; |
struct Variables var; |
120 |
TString ddec; |
TString ddec; |
143 |
void checkctrlword(); |
void checkctrlword(); |
144 |
void add(TString name); |
void add(TString name); |
145 |
//Int_t Load(TTree &mainotr, TFile &mainfile); |
//Int_t Load(TTree &mainotr, TFile &mainfile); |
146 |
TChain *Load(TFile &mainfile); |
// TChain *Load(TFile &mainfile); |
147 |
|
TChain *Load(TString mainfile); |
148 |
TChain *GetChain(){return otr;}; |
TChain *GetChain(){return otr;}; |
149 |
TChain *GetRunChain(){return runtree;}; |
// TChain *GetRunChain(){return runtree;}; |
150 |
void GetWindow(); |
void GetWindow(); |
151 |
void ClearVariables(); |
void ClearVariables(); |
152 |
void GetEntry(Int_t i); |
void GetEntry(Int_t i); |