Changeset 341014c in git for display/DelphesEventDisplay.h
- Timestamp:
- Feb 12, 2019, 9:29:17 PM (6 years ago)
- Branches:
- ImprovedOutputFile, Timing, llp, master
- Children:
- 6455202
- Parents:
- 45e58be
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
display/DelphesEventDisplay.h
r45e58be r341014c 22 22 #include <vector> 23 23 24 #include "RQ_OBJECT.h" 24 25 #include "Rtypes.h" 25 #include "RQ_OBJECT.h"26 26 27 27 class TAxis; … … 45 45 class DelphesEventDisplay 46 46 { 47 48 49 50 DelphesEventDisplay(const char *configFile, const char *inputFile, Delphes3DGeometry&det3D);51 52 47 RQ_OBJECT("DelphesEventDisplay") 48 public: 49 DelphesEventDisplay(); 50 DelphesEventDisplay(const char *configFile, const char *inputFile, Delphes3DGeometry &det3D); 51 ~DelphesEventDisplay(); 52 void EventChanged(Int_t); // *SIGNAL* 53 53 54 55 56 57 58 void readConfig(const char *configFile, std::vector<DelphesBranchBase *>&elements);54 private: 55 void update_html_summary(); 56 void make_gui(); 57 void load_event(); 58 void readConfig(const char *configFile, std::vector<DelphesBranchBase *> &elements); 59 59 60 // Configuration and global variables. 61 Int_t event_id_; 62 Int_t event_id_tmp_; 63 ExRootTreeReader *treeReader_; 64 Double_t tkRadius_, totRadius_, tkHalfLength_, muHalfLength_, bz_; 65 TAxis *etaAxis_, *phiAxis_; 66 TChain *chain_; 67 std::vector<DelphesBranchBase *> elements_; 68 DelphesDisplay *delphesDisplay_; 69 DelphesHtmlSummary *htmlSummary_; 70 TGHtml *gHtml_; 71 DelphesPlotSummary *plotSummary_; 72 TGStatusBar *fStatusBar_; 73 74 // gui controls 75 public: 76 void Fwd(); 60 // Configuration and global variables. 61 Int_t event_id_; 62 Int_t event_id_tmp_; 63 ExRootTreeReader *treeReader_; 64 Double_t tkRadius_, totRadius_, tkHalfLength_, muHalfLength_, bz_; 65 TAxis *etaAxis_, *phiAxis_; 66 TChain *chain_; 67 std::vector<DelphesBranchBase *> elements_; 68 DelphesDisplay *delphesDisplay_; 69 DelphesHtmlSummary *htmlSummary_; 70 TGHtml *gHtml_; 71 DelphesPlotSummary *plotSummary_; 72 TGStatusBar *fStatusBar_; 77 73 78 void Bck(); 74 // gui controls 75 public: 76 void Fwd(); 79 77 80 void PreSetEv(char *ev);78 void Bck(); 81 79 82 void GoTo();80 void PreSetEv(char *ev); 83 81 84 void InitSummaryPlots();82 void GoTo(); 85 83 86 void DisplayProgress(Int_t p); 84 void InitSummaryPlots(); 85 86 void DisplayProgress(Int_t p); 87 87 }; 88 88
Note:
See TracChangeset
for help on using the changeset viewer.