Fork me on GitHub

Changeset 341014c in git for display/DelphesPlotSummary.h


Ignore:
Timestamp:
Feb 12, 2019, 9:29:17 PM (6 years ago)
Author:
Pavel Demin <pavel-demin@…>
Branches:
ImprovedOutputFile, Timing, llp, master
Children:
6455202
Parents:
45e58be
Message:

apply .clang-format to all .h, .cc and .cpp files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • display/DelphesPlotSummary.h

    r45e58be r341014c  
    2020#define DelphesPlotSummary_h
    2121
    22 #include <vector>
    23 #include <map>
    24 #include "TString.h"
    25 #include "TH1F.h"
     22#include "DelphesBranchElement.h"
    2623#include "TCanvas.h"
    2724#include "TEveWindow.h"
    28 #include "DelphesBranchElement.h"
     25#include "TH1F.h"
     26#include "TString.h"
    2927#include "external/ExRootAnalysis/ExRootTreeReader.h"
    3028#include <RQ_OBJECT.h>
    31 
     29#include <map>
     30#include <vector>
    3231
    3332class DelphesPlotSummary
    3433{
    35     RQ_OBJECT("DelphesPlotSummary")
    36   public:
    37     DelphesPlotSummary(TEveWindowTab* tab);
    38     virtual ~DelphesPlotSummary();
    39     void Init(std::vector<DelphesBranchBase*>& elements);
    40     void FillSample(ExRootTreeReader* treeReader, Int_t event_id);
    41     void FillEvent();
    42     void Draw();
    43     void Progress(Int_t); // *SIGNAL*
     34  RQ_OBJECT("DelphesPlotSummary")
     35public:
     36  DelphesPlotSummary(TEveWindowTab *tab);
     37  virtual ~DelphesPlotSummary();
     38  void Init(std::vector<DelphesBranchBase *> &elements);
     39  void FillSample(ExRootTreeReader *treeReader, Int_t event_id);
     40  void FillEvent();
     41  void Draw();
     42  void Progress(Int_t); // *SIGNAL*
    4443
    45   private:
    46     TEveWindowTab* tab_;
    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_;
    52 
     44private:
     45  TEveWindowTab *tab_;
     46  std::map<TString, TCanvas *> canvases_;
     47  std::map<TString, std::vector<TH1F *>> histograms_;
     48  std::vector<DelphesBranchBase *> *elements_;
     49  std::map<TString, std::vector<TMarker *>> eventMarkers_;
     50  std::map<TString, std::vector<TH1F *>> eventProfiles_;
    5351};
    5452
    5553#endif // DelphesPlotSummary_h
    56 
Note: See TracChangeset for help on using the changeset viewer.