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
|
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"
|
---|
| 12 |
|
---|
| 13 | class DelphesPlotSummary
|
---|
| 14 | {
|
---|
| 15 | public:
|
---|
| 16 | DelphesPlotSummary(TEveWindowTab* tab);
|
---|
| 17 | virtual ~DelphesPlotSummary();
|
---|
| 18 | void Init(std::vector<DelphesBranchBase*>& elements);
|
---|
[3f51314] | 19 | void FillSample(ExRootTreeReader* treeReader, Int_t event_id);
|
---|
[2ca23b5] | 20 | void FillEvent();
|
---|
[3f51314] | 21 | void Draw();
|
---|
[2ca23b5] | 22 |
|
---|
| 23 | private:
|
---|
| 24 | TEveWindowTab* tab_;
|
---|
[3f51314] | 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_;
|
---|
[2ca23b5] | 30 |
|
---|
| 31 | };
|
---|
| 32 |
|
---|
| 33 | #endif // DelphesPlotSummary_h
|
---|
| 34 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.