Fork me on GitHub

source: git/display/DelphesEventDisplay.h@ 05a7228

ImprovedOutputFile Timing
Last change on this file since 05a7228 was 341014c, checked in by Pavel Demin <pavel-demin@…>, 6 years ago

apply .clang-format to all .h, .cc and .cpp files

  • Property mode set to 100644
File size: 2.4 KB
Line 
1/*
2 * Delphes: a framework for fast simulation of a generic collider experiment
3 * Copyright (C) 2012-2014 Universite catholique de Louvain (UCL), Belgium
4 *
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.
9 *
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.
14 *
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/>.
17 */
18
19#ifndef DelphesEventDisplay_h
20#define DelphesEventDisplay_h
21
22#include <vector>
23
24#include "RQ_OBJECT.h"
25#include "Rtypes.h"
26
27class TAxis;
28class TChain;
29class TGHtml;
30class TGStatusBar;
31class DelphesDisplay;
32class Delphes3DGeometry;
33class DelphesBranchBase;
34class DelphesHtmlSummary;
35class DelphesPlotSummary;
36class ExRootTreeReader;
37
38/*
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 *
43 */
44
45class DelphesEventDisplay
46{
47 RQ_OBJECT("DelphesEventDisplay")
48public:
49 DelphesEventDisplay();
50 DelphesEventDisplay(const char *configFile, const char *inputFile, Delphes3DGeometry &det3D);
51 ~DelphesEventDisplay();
52 void EventChanged(Int_t); // *SIGNAL*
53
54private:
55 void update_html_summary();
56 void make_gui();
57 void load_event();
58 void readConfig(const char *configFile, std::vector<DelphesBranchBase *> &elements);
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
75public:
76 void Fwd();
77
78 void Bck();
79
80 void PreSetEv(char *ev);
81
82 void GoTo();
83
84 void InitSummaryPlots();
85
86 void DisplayProgress(Int_t p);
87};
88
89#endif //DelphesEventDisplay_h
Note: See TracBrowser for help on using the repository browser.