/[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.3 by mocchiut, Mon Feb 26 17:30:30 2007 UTC revision 1.8 by mocchiut, Tue Apr 17 16:05:14 2007 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  //  //
48  #include <PamLevel2.h>  #include <PamLevel2.h>
49  #include <PamelaRun.h>  #include <PamelaRun.h>
# Line 64  class FEVdetector : public TObject { Line 65  class FEVdetector : public TObject {
65    
66   private:   private:
67    TCanvas *thefigure;    TCanvas *thefigure;
68    TFile *file;    //  TFile *file;
69    TTree *otr;    //  TTree *otr;
70    PamLevel2 *L2;    TChain *otr;
71      //  TTree *runtree;
72      //  TChain *runtree;
73    pamela::PscuHeader *ph;    pamela::PscuHeader *ph;
74    pamela::EventHeader *eh;    pamela::EventHeader *eh;
75    pamela::calorimeter::CalorimeterEvent *de;    pamela::calorimeter::CalorimeterEvent *de;
# Line 77  class FEVdetector : public TObject { Line 80  class FEVdetector : public TObject {
80    pamela::S4::S4Event  *s4;    pamela::S4::S4Event  *s4;
81    pamela::trigger::TriggerEvent *trigger;        pamela::trigger::TriggerEvent *trigger;    
82    pamela::tof::TofEvent  *tof;    pamela::tof::TofEvent  *tof;
83    OrbitalInfo *oinfoL2;    //  OrbitalInfo *oinfoL2;
84    ItoRunInfo *runinfo;    //  ItoRunInfo *runinfo;
85    PAMevcontrol *pamgui;    PAMevcontrol *pamgui;
86    Int_t *ctrlword;    Int_t *ctrlword;
87    Int_t thisentry;    Int_t thisentry;
# Line 98  class FEVdetector : public TObject { Line 101  class FEVdetector : public TObject {
101    void ShowAC();    void ShowAC();
102    void ShowS4(Bool_t upd);    void ShowS4(Bool_t upd);
103    void ShowND();    void ShowND();
104    void PrintData(TTree *,Long64_t, Int_t);  
105    void PrintLeaves(TTree *, Int_t, TBranchElement *,Int_t);    //  void PrintData(TTree *,Long64_t, Int_t);
106      //  void PrintLeaves(TTree *, Int_t, TBranchElement *,Int_t);
107      void ShowInfo(TString);
108    
109    void Calo1stcalib();    void Calo1stcalib();
110    int OLDCaloFindCalibs();    int OLDCaloFindCalibs();
111    int CaloPede(Int_t s);    int CaloPede(Int_t s);
# Line 107  class FEVdetector : public TObject { Line 113  class FEVdetector : public TObject {
113    void CaloCompressData(Int_t l, Int_t m, Int_t pre);    void CaloCompressData(Int_t l, Int_t m, Int_t pre);
114    
115   public:   public:
116      PamLevel2 *L2;
117    struct Levels level;    struct Levels level;
118    struct Variables var;    struct Variables var;
119    TString ddec;    TString ddec;
# Line 134  class FEVdetector : public TObject { Line 141  class FEVdetector : public TObject {
141    void SetDDEC(TString);    void SetDDEC(TString);
142    void checkctrlword();    void checkctrlword();
143    void add(TString name);    void add(TString name);
144    Int_t Load(TTree &mainotr, TFile &mainfile);    //Int_t Load(TTree &mainotr, TFile &mainfile);
145    //  Int_t Load(TChain &mainotr, TFile &mainfile);    //  TChain *Load(TFile &mainfile);
146      TChain *Load(TString mainfile);
147      TChain *GetChain(){return otr;};
148      //  TChain *GetRunChain(){return runtree;};
149    void GetWindow();    void GetWindow();
150    void ClearVariables();    void ClearVariables();
151    void GetEntry(Int_t i);    void GetEntry(Int_t i);
# Line 146  class FEVdetector : public TObject { Line 156  class FEVdetector : public TObject {
156    int GetThisEntry(){return (thisentry);};    int GetThisEntry(){return (thisentry);};
157    int GetCounter();    int GetCounter();
158    int SelectEvent();    int SelectEvent();
159      //
160      PamLevel2 *GetL2(){return L2;};
161      //
162  };  };
163    
164  #endif  #endif

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.23