Fork me on GitHub

source: git/display/DelphesPlotSummary.h@ cf4a208

ImprovedOutputFile Timing dual_readout llp
Last change on this file since cf4a208 was 53b78e8, checked in by Christophe Delaere <christophe.delaere@…>, 10 years ago

New signal to show the progress of plot processing

Progress is now shown in the status bar when generating std plots.

  • Property mode set to 100644
File size: 999 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#include <RQ_OBJECT.h>
13
14
15class DelphesPlotSummary
16{
17 RQ_OBJECT("DelphesPlotSummary")
18 public:
19 DelphesPlotSummary(TEveWindowTab* tab);
20 virtual ~DelphesPlotSummary();
21 void Init(std::vector<DelphesBranchBase*>& elements);
22 void FillSample(ExRootTreeReader* treeReader, Int_t event_id);
23 void FillEvent();
24 void Draw();
25 void Progress(Int_t); // *SIGNAL*
26
27 private:
28 TEveWindowTab* tab_;
29 std::map< TString, TCanvas* > canvases_;
30 std::map< TString, std::vector<TH1F*> > histograms_;
31 std::vector<DelphesBranchBase*>* elements_;
32 std::map< TString, std::vector<TMarker*> > eventMarkers_;
33 std::map< TString, std::vector<TH1F*> > eventProfiles_;
34
35};
36
37#endif // DelphesPlotSummary_h
38
Note: See TracBrowser for help on using the repository browser.