Fork me on GitHub

source: git/display/DelphesPlotSummary.h@ 37deb3b

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 37deb3b was 37deb3b, checked in by Michele Selvaggi <michele.selvaggi@…>, 10 years ago

Merge branch 'Delphes4LHCb' of https://github.com/selvaggi/delphes into selvaggi-Delphes4LHCb

Conflicts:

Makefile

  • Property mode set to 100644
File size: 1.8 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 <vector>
23#include <map>
24#include "TString.h"
25#include "TH1F.h"
26#include "TCanvas.h"
27#include "TEveWindow.h"
28#include "DelphesBranchElement.h"
29#include "external/ExRootAnalysis/ExRootTreeReader.h"
30#include <RQ_OBJECT.h>
31
32
33class DelphesPlotSummary
34{
35 RQ_OBJECT("DelphesPlotSummary")
36 public:
37 DelphesPlotSummary(TEveWindowTab* tab);
38 virtual ~DelphesPlotSummary();
39 void Init(std::vector<DelphesBranchBase*>& elements);
40 void FillSample(ExRootTreeReader* treeReader, Int_t event_id);
41 void FillEvent();
42 void Draw();
43 void Progress(Int_t); // *SIGNAL*
44
45 private:
46 TEveWindowTab* tab_;
47 std::map< TString, TCanvas* > canvases_;
48 std::map< TString, std::vector<TH1F*> > histograms_;
49 std::vector<DelphesBranchBase*>* elements_;
50 std::map< TString, std::vector<TMarker*> > eventMarkers_;
51 std::map< TString, std::vector<TH1F*> > eventProfiles_;
52
53};
54
55#endif // DelphesPlotSummary_h
56
Note: See TracBrowser for help on using the repository browser.