Fork me on GitHub

source: git/display/DelphesPlotSummary.h@ 6455202

ImprovedOutputFile Timing llp
Last change on this file since 6455202 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: 1.7 KB
RevLine 
[37deb3b]1/*
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 *
[37deb3b]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 *
[37deb3b]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 *
[37deb3b]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
[2ca23b5]19#ifndef DelphesPlotSummary_h
20#define DelphesPlotSummary_h
21
[341014c]22#include "DelphesBranchElement.h"
[2ca23b5]23#include "TCanvas.h"
24#include "TEveWindow.h"
[341014c]25#include "TH1F.h"
26#include "TString.h"
[2ca23b5]27#include "external/ExRootAnalysis/ExRootTreeReader.h"
[53b78e8]28#include <RQ_OBJECT.h>
[341014c]29#include <map>
30#include <vector>
[2ca23b5]31
32class DelphesPlotSummary
33{
[341014c]34 RQ_OBJECT("DelphesPlotSummary")
35public:
36 DelphesPlotSummary(TEveWindowTab *tab);
37 virtual ~DelphesPlotSummary();
38 void Init(std::vector<DelphesBranchBase *> &elements);
39 void FillSample(ExRootTreeReader *treeReader, Int_t event_id);
40 void FillEvent();
41 void Draw();
42 void Progress(Int_t); // *SIGNAL*
43
44private:
45 TEveWindowTab *tab_;
46 std::map<TString, TCanvas *> canvases_;
47 std::map<TString, std::vector<TH1F *>> histograms_;
48 std::vector<DelphesBranchBase *> *elements_;
49 std::map<TString, std::vector<TMarker *>> eventMarkers_;
50 std::map<TString, std::vector<TH1F *>> eventProfiles_;
[2ca23b5]51};
52
53#endif // DelphesPlotSummary_h
Note: See TracBrowser for help on using the repository browser.