Fork me on GitHub

Changeset 341014c in git for display/DelphesEventDisplay.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/DelphesEventDisplay.h

    r45e58be r341014c  
    2222#include <vector>
    2323
     24#include "RQ_OBJECT.h"
    2425#include "Rtypes.h"
    25 #include "RQ_OBJECT.h"
    2626
    2727class TAxis;
     
    4545class DelphesEventDisplay
    4646{
    47     RQ_OBJECT("DelphesEventDisplay")
    48   public:
    49     DelphesEventDisplay();
    50     DelphesEventDisplay(const char *configFile, const char *inputFile, Delphes3DGeometry& det3D);
    51     ~DelphesEventDisplay();
    52     void EventChanged(Int_t); // *SIGNAL*
     47  RQ_OBJECT("DelphesEventDisplay")
     48public:
     49  DelphesEventDisplay();
     50  DelphesEventDisplay(const char *configFile, const char *inputFile, Delphes3DGeometry &det3D);
     51  ~DelphesEventDisplay();
     52  void EventChanged(Int_t); // *SIGNAL*
    5353
    54   private:
    55     void update_html_summary();
    56     void make_gui();
    57     void load_event();
    58     void readConfig(const char *configFile, std::vector<DelphesBranchBase *>& elements);
     54private:
     55  void update_html_summary();
     56  void make_gui();
     57  void load_event();
     58  void readConfig(const char *configFile, std::vector<DelphesBranchBase *> &elements);
    5959
    60     // Configuration and global variables.
    61     Int_t event_id_;
    62     Int_t event_id_tmp_;
    63     ExRootTreeReader *treeReader_;
    64     Double_t tkRadius_, totRadius_, tkHalfLength_, muHalfLength_, bz_;
    65     TAxis *etaAxis_, *phiAxis_;
    66     TChain *chain_;
    67     std::vector<DelphesBranchBase *> elements_;
    68     DelphesDisplay *delphesDisplay_;
    69     DelphesHtmlSummary *htmlSummary_;
    70     TGHtml *gHtml_;
    71     DelphesPlotSummary *plotSummary_;
    72     TGStatusBar *fStatusBar_;
    73    
    74     // gui controls
    75   public:
    76      void Fwd();
     60  // Configuration and global variables.
     61  Int_t event_id_;
     62  Int_t event_id_tmp_;
     63  ExRootTreeReader *treeReader_;
     64  Double_t tkRadius_, totRadius_, tkHalfLength_, muHalfLength_, bz_;
     65  TAxis *etaAxis_, *phiAxis_;
     66  TChain *chain_;
     67  std::vector<DelphesBranchBase *> elements_;
     68  DelphesDisplay *delphesDisplay_;
     69  DelphesHtmlSummary *htmlSummary_;
     70  TGHtml *gHtml_;
     71  DelphesPlotSummary *plotSummary_;
     72  TGStatusBar *fStatusBar_;
    7773
    78      void Bck();
     74  // gui controls
     75public:
     76  void Fwd();
    7977
    80     void PreSetEv(char *ev);
     78  void Bck();
    8179
    82     void GoTo();
     80  void PreSetEv(char *ev);
    8381
    84     void InitSummaryPlots();
     82  void GoTo();
    8583
    86     void DisplayProgress(Int_t p);
     84  void InitSummaryPlots();
     85
     86  void DisplayProgress(Int_t p);
    8787};
    8888
Note: See TracChangeset for help on using the changeset viewer.