Fork me on GitHub

source: git/display/DelphesPlotSummary.h@ 4586f8f

Last change on this file since 4586f8f was 77e9ae1, checked in by Pavel Demin <pavel-demin@…>, 6 years ago

set Standard to Cpp03 in .clang-format

  • Property mode set to 100644
File size: 1.7 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 DelphesPlotSummary_h
20#define DelphesPlotSummary_h
21
22#include "DelphesBranchElement.h"
23#include "TCanvas.h"
24#include "TEveWindow.h"
25#include "TH1F.h"
26#include "TString.h"
27#include "external/ExRootAnalysis/ExRootTreeReader.h"
28#include <RQ_OBJECT.h>
29#include <map>
30#include <vector>
31
32class DelphesPlotSummary
33{
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_;
51};
52
53#endif // DelphesPlotSummary_h
Note: See TracBrowser for help on using the repository browser.