Fork me on GitHub

source: git/display/DelphesEventDisplay.h@ a10293e

Last change on this file since a10293e 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
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 "RQ_OBJECT.h"
[341014c]25#include "Rtypes.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{
[341014c]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);
[cfc3160]59
[341014c]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_;
[cfc3160]73
[341014c]74 // gui controls
75public:
76 void Fwd();
[cfc3160]77
[341014c]78 void Bck();
[6301e02]79
[341014c]80 void PreSetEv(char *ev);
[0a67548]81
[341014c]82 void GoTo();
[6301e02]83
[341014c]84 void InitSummaryPlots();
[53b78e8]85
[341014c]86 void DisplayProgress(Int_t p);
[cfc3160]87};
88
89#endif //DelphesEventDisplay_h
Note: See TracBrowser for help on using the repository browser.