ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since 5e6db08 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
|
Rev | Line | |
---|
[2ca23b5] | 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"
|
---|
[53b78e8] | 12 | #include <RQ_OBJECT.h>
|
---|
| 13 |
|
---|
[2ca23b5] | 14 |
|
---|
| 15 | class DelphesPlotSummary
|
---|
| 16 | {
|
---|
[53b78e8] | 17 | RQ_OBJECT("DelphesPlotSummary")
|
---|
[2ca23b5] | 18 | public:
|
---|
| 19 | DelphesPlotSummary(TEveWindowTab* tab);
|
---|
| 20 | virtual ~DelphesPlotSummary();
|
---|
| 21 | void Init(std::vector<DelphesBranchBase*>& elements);
|
---|
[3f51314] | 22 | void FillSample(ExRootTreeReader* treeReader, Int_t event_id);
|
---|
[2ca23b5] | 23 | void FillEvent();
|
---|
[3f51314] | 24 | void Draw();
|
---|
[53b78e8] | 25 | void Progress(Int_t); // *SIGNAL*
|
---|
[2ca23b5] | 26 |
|
---|
| 27 | private:
|
---|
| 28 | TEveWindowTab* tab_;
|
---|
[3f51314] | 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_;
|
---|
[2ca23b5] | 34 |
|
---|
| 35 | };
|
---|
| 36 |
|
---|
| 37 | #endif // DelphesPlotSummary_h
|
---|
| 38 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.