Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:10:26

0001 /*
0002  * Project: xRooFit
0003  * Author:
0004  *   Will Buttinger, RAL 2022
0005  *
0006  * Copyright (c) 2022, CERN
0007  *
0008  * Redistribution and use in source and binary forms,
0009  * with or without modification, are permitted according to the terms
0010  * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
0011  */
0012 
0013 #include "Config.h"
0014 
0015 #ifdef XROOFIT_USE_PRAGMA_ONCE
0016 #pragma once
0017 #endif
0018 #if !defined(XROOFIT_XROOBROWSER_H) || defined(XROOFIT_USE_PRAGMA_ONCE)
0019 #ifndef XROOFIT_USE_PRAGMA_ONCE
0020 #define XROOFIT_XROOBROWSER_H
0021 #endif
0022 
0023 #include "TBrowser.h"
0024 #include "TQObject.h"
0025 
0026 BEGIN_XROOFIT_NAMESPACE
0027 
0028 class xRooNode;
0029 
0030 class xRooBrowser : public TBrowser, public TQObject {
0031 public:
0032    xRooBrowser();
0033    xRooBrowser(xRooNode *o);
0034 
0035    xRooNode *GetSelected();
0036 
0037    xRooNode *Open(const char *filename);
0038 
0039    void ls(const char *path = nullptr) const override;
0040    void cd(const char *path);
0041 
0042    void HandleMenu(Int_t id);
0043 
0044 private:
0045    std::shared_ptr<xRooNode> fNode;    //!
0046    std::shared_ptr<xRooNode> fTopNode; //!
0047 
0048 public:
0049    ClassDefOverride(xRooBrowser, 0)
0050 };
0051 
0052 END_XROOFIT_NAMESPACE
0053 
0054 #endif // include guard