Fork me on GitHub

source: git/display/DelphesPlotSummary.h@ 6301e02

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 6301e02 was 3f51314, checked in by Christophe Delaere <christophe.delaere@…>, 10 years ago

First incomplete version with summary plots

Most of the functionalities are there, but it is not yet properly
integrated in the GUI.
Known issues:

  • size of the event markers
  • all markers appear the same (missing index?)
  • Property mode set to 100644
File size: 901 bytes
Line 
1#ifndef DelphesPlotSummary_h
2#define DelphesPlotSummary_h
3
4#include <vector>
5#include <map>
6#include "TString.h"
7#include "TH1F.h"
8#include "TCanvas.h"
9#include "TEveWindow.h"
10#include "DelphesBranchElement.h"
11#include "external/ExRootAnalysis/ExRootTreeReader.h"
12
13class DelphesPlotSummary
14{
15 public:
16 DelphesPlotSummary(TEveWindowTab* tab);
17 virtual ~DelphesPlotSummary();
18 void Init(std::vector<DelphesBranchBase*>& elements);
19 void FillSample(ExRootTreeReader* treeReader, Int_t event_id);
20 void FillEvent();
21 void Draw();
22
23 private:
24 TEveWindowTab* tab_;
25 std::map< TString, TCanvas* > canvases_;
26 std::map< TString, std::vector<TH1F*> > histograms_;
27 std::vector<DelphesBranchBase*>* elements_;
28 std::map< TString, std::vector<TMarker*> > eventMarkers_;
29 std::map< TString, std::vector<TH1F*> > eventProfiles_;
30
31};
32
33#endif // DelphesPlotSummary_h
34
Note: See TracBrowser for help on using the repository browser.