[37deb3b] | 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 |
|
---|
[2ca23b5] | 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"
|
---|
[53b78e8] | 30 | #include <RQ_OBJECT.h>
|
---|
| 31 |
|
---|
[2ca23b5] | 32 |
|
---|
| 33 | class DelphesPlotSummary
|
---|
| 34 | {
|
---|
[53b78e8] | 35 | RQ_OBJECT("DelphesPlotSummary")
|
---|
[2ca23b5] | 36 | public:
|
---|
| 37 | DelphesPlotSummary(TEveWindowTab* tab);
|
---|
| 38 | virtual ~DelphesPlotSummary();
|
---|
| 39 | void Init(std::vector<DelphesBranchBase*>& elements);
|
---|
[3f51314] | 40 | void FillSample(ExRootTreeReader* treeReader, Int_t event_id);
|
---|
[2ca23b5] | 41 | void FillEvent();
|
---|
[3f51314] | 42 | void Draw();
|
---|
[53b78e8] | 43 | void Progress(Int_t); // *SIGNAL*
|
---|
[2ca23b5] | 44 |
|
---|
| 45 | private:
|
---|
| 46 | TEveWindowTab* tab_;
|
---|
[3f51314] | 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_;
|
---|
[2ca23b5] | 52 |
|
---|
| 53 | };
|
---|
| 54 |
|
---|
| 55 | #endif // DelphesPlotSummary_h
|
---|
| 56 |
|
---|