Fork me on GitHub

source: git/display/DelphesEventDisplay.h@ 5a697dde

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 5a697dde was f53a4d2, checked in by Pavel Demin <pavel.demin@…>, 10 years ago

adapt EventDisplay to ROOT 6.04

  • Property mode set to 100644
File size: 2.5 KB
RevLine 
[cfc3160]1/*
[f53a4d2]2 * Delphes: a framework for fast simulation of a generic collider experiment
3 * Copyright (C) 2012-2014 Universite catholique de Louvain (UCL), Belgium
[1fa50c2]4 *
[f53a4d2]5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
[1fa50c2]9 *
[f53a4d2]10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
[1fa50c2]14 *
[f53a4d2]15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
[cfc3160]17 */
18
19#ifndef DelphesEventDisplay_h
20#define DelphesEventDisplay_h
21
22#include <vector>
[6301e02]23
[f53a4d2]24#include "Rtypes.h"
25#include "RQ_OBJECT.h"
[6301e02]26
[f53a4d2]27class TAxis;
28class TChain;
29class TGHtml;
30class TGStatusBar;
31class DelphesDisplay;
32class Delphes3DGeometry;
33class DelphesBranchBase;
34class DelphesHtmlSummary;
35class DelphesPlotSummary;
36class ExRootTreeReader;
[cfc3160]37
38/*
[f53a4d2]39 *assembly.C: sauvegarde as shape-extract -> implement in the geometry class (read/write)
40 *histobrowser.C: intégration d'histogrammes dans le display (on pourrait avoir Pt, eta, phi pour les principales collections)
41 *also from alice_esd: summary html table
42 *
[cfc3160]43 */
44
45class DelphesEventDisplay
46{
[0a67548]47 RQ_OBJECT("DelphesEventDisplay")
[cfc3160]48 public:
49 DelphesEventDisplay();
50 DelphesEventDisplay(const char *configFile, const char *inputFile, Delphes3DGeometry& det3D);
51 ~DelphesEventDisplay();
[0a67548]52 void EventChanged(Int_t); // *SIGNAL*
[cfc3160]53
54 private:
[8b04b31]55 void update_html_summary();
[cfc3160]56 void make_gui();
[fafc433]57 void load_event();
[f53a4d2]58 void readConfig(const char *configFile, std::vector<DelphesBranchBase *>& elements);
[cfc3160]59
60 // Configuration and global variables.
[fafc433]61 Int_t event_id_;
[0a67548]62 Int_t event_id_tmp_;
[fafc433]63 ExRootTreeReader *treeReader_;
[4fd37d4]64 Double_t tkRadius_, totRadius_, tkHalfLength_, muHalfLength_, bz_;
65 TAxis *etaAxis_, *phiAxis_;
[f53a4d2]66 TChain *chain_;
67 std::vector<DelphesBranchBase *> elements_;
[fafc433]68 DelphesDisplay *delphesDisplay_;
[5fbcfe8]69 DelphesHtmlSummary *htmlSummary_;
70 TGHtml *gHtml_;
[2ca23b5]71 DelphesPlotSummary *plotSummary_;
[f53a4d2]72 TGStatusBar *fStatusBar_;
[6301e02]73
[fafc433]74 // gui controls
75 public:
[f53a4d2]76 void Fwd();
[cfc3160]77
[f53a4d2]78 void Bck();
[6301e02]79
[f53a4d2]80 void PreSetEv(char *ev);
[0a67548]81
[f53a4d2]82 void GoTo();
[6301e02]83
[f53a4d2]84 void InitSummaryPlots();
[53b78e8]85
[f53a4d2]86 void DisplayProgress(Int_t p);
[cfc3160]87};
88
89#endif //DelphesEventDisplay_h
Note: See TracBrowser for help on using the repository browser.