/[PAMELA software]/eventviewer/flight/inc/FEVdetector.h
ViewVC logotype

Diff of /eventviewer/flight/inc/FEVdetector.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mocchiut, Mon Feb 26 12:51:08 2007 UTC revision 1.11 by mocchiut, Wed Jan 11 16:27:26 2012 UTC
# Line 43  Line 43 
43  #include <TLeafF.h>  #include <TLeafF.h>
44  #include <TLeafC.h>  #include <TLeafC.h>
45  #include <TLeafD.h>  #include <TLeafD.h>
46    #include <TBranchClones.h>
47    #include <TStreamerInfo.h>
48  //  //
49  #include <PamLevel2.h>  #include <PamLevel2.h>
50  #include <PamelaRun.h>  #include <PamelaRun.h>
# Line 64  class FEVdetector : public TObject { Line 66  class FEVdetector : public TObject {
66    
67   private:   private:
68    TCanvas *thefigure;    TCanvas *thefigure;
69    TFile *file;    //  TFile *file;
70    TTree *otr;    //  TTree *otr;
71    PamLevel2 *L2;    TChain *otr;
72      //  TTree *runtree;
73      //  TChain *runtree;
74    pamela::PscuHeader *ph;    pamela::PscuHeader *ph;
75    pamela::EventHeader *eh;    pamela::EventHeader *eh;
76    pamela::calorimeter::CalorimeterEvent *de;    pamela::calorimeter::CalorimeterEvent *de;
# Line 77  class FEVdetector : public TObject { Line 81  class FEVdetector : public TObject {
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;
# Line 93  class FEVdetector : public TObject { Line 97  class FEVdetector : public TObject {
97    void ShowPalette();    void ShowPalette();
98    void ShowCalo(Bool_t upd);    void ShowCalo(Bool_t upd);
99    void ShowTRK(Bool_t upd);    void ShowTRK(Bool_t upd);
100      void ShowTRG();
101    void ShowTrack();    void ShowTrack();
102    void ShowTOF();    void ShowTOF();
103    void ShowAC();    void ShowAC();
104    void ShowS4(Bool_t upd);    void ShowS4(Bool_t upd);
105    void ShowND();    void ShowND();
106    void PrintData(TTree *,Long64_t, Int_t);  
107    void PrintLeaves(TTree *, Int_t, TBranchElement *,Int_t);    //  void PrintData(TTree *,Long64_t, Int_t);
108      //  void PrintLeaves(TTree *, Int_t, TBranchElement *,Int_t);
109      void ShowInfo(TString);
110    
111    void Calo1stcalib();    void Calo1stcalib();
112    int OLDCaloFindCalibs();    int OLDCaloFindCalibs();
113    int CaloPede(Int_t s);    int CaloPede(Int_t s);
# Line 107  class FEVdetector : public TObject { Line 115  class FEVdetector : public TObject {
115    void CaloCompressData(Int_t l, Int_t m, Int_t pre);    void CaloCompressData(Int_t l, Int_t m, Int_t pre);
116    
117   public:   public:
118      PamLevel2 *L2;
119    struct Levels level;    struct Levels level;
120    struct Variables var;    struct Variables var;
121    TString ddec;    TString ddec;
# Line 133  class FEVdetector : public TObject { Line 142  class FEVdetector : public TObject {
142    void SetGUIPtr(PAMevcontrol &mainpamgui);    void SetGUIPtr(PAMevcontrol &mainpamgui);
143    void SetDDEC(TString);    void SetDDEC(TString);
144    void checkctrlword();    void checkctrlword();
145      void Reset();
146    void add(TString name);    void add(TString name);
147    Int_t Load(TTree &mainotr, TFile &mainfile);    //Int_t Load(TTree &mainotr, TFile &mainfile);
148      //  TChain *Load(TFile &mainfile);
149      TChain *Load(TString mainfile);
150      TChain *GetChain(){return otr;};
151      //  TChain *GetRunChain(){return runtree;};
152    void GetWindow();    void GetWindow();
153    void ClearVariables();    void ClearVariables();
154    void GetEntry(Int_t i);    void GetEntry(Int_t i);
# Line 145  class FEVdetector : public TObject { Line 159  class FEVdetector : public TObject {
159    int GetThisEntry(){return (thisentry);};    int GetThisEntry(){return (thisentry);};
160    int GetCounter();    int GetCounter();
161    int SelectEvent();    int SelectEvent();
162      //
163      PamLevel2 *GetL2(){return L2;};
164      //
165  };  };
166    
167  #endif  #endif

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.23