This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Open eBay feedback page in your browser: https://www.ebay.com/fdbk/leave_feedback | |
// Paste following code in the inspector console: | |
var comments=['All good. Nice buyer. Fast payment!', | |
'Nice buyer. Quick payment!', | |
'A+ buyer. Come back any time!', | |
'Good buyer. Thanks for your business', | |
'Nice buyer quick payment.', | |
'Definitely recommend this buyer.']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <TQObject.h> | |
#include <RQ_OBJECT.h> | |
class A { | |
RQ_OBJECT("A") | |
private: | |
Int_t fValue1; | |
Int_t fValue2; | |
public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "__Presenter.h" | |
#include "__View.h" | |
#include "../AbstractPresenter.h" | |
#include "../../model/Model.h" | |
#include <TGFileDialog.h> | |
__Presenter::__Presenter(__View* view) : AbstractPresenter<Model, __View>(view) { | |
model = instantinateModel(); | |
onInitModel(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "./../AbstractPresenter.h" | |
#include "../../model/Model.h" | |
class __View; | |
class __Presenter : public AbstractPresenter<Model, __View> { | |
public: | |
__Presenter(__View* view); | |
virtual ~__Presenter(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "__View.h" | |
#include "__Presenter.h" | |
__View::__View(const TGWindow *w) : AbstractView<__Presenter>(w){ | |
// Build UI | |
initUI(); | |
// Instantinate presenter and connect slots | |
presenter = instantinatePresenter(); | |
connectSignalsToPresenter(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "./../AbstractView.h" | |
#include "__Presenter.h" | |
class __Presenter; | |
class __View : public AbstractView<__Presenter> { | |
protected: | |
void initUI(); | |
void connectSignalsToPresenter(); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <TGClient.h> | |
#include <TGCanvas.h> | |
#include <TGListBox.h> | |
#include <TGFrame.h> | |
class MyMainFrame : public TGMainFrame { | |
public: | |
MyMainFrame(const TGWindow *p, UInt_t w, UInt_t h); | |
virtual ~MyMainFrame(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Riostream.h" | |
// Custom exponential PDF | |
class ExpPdf : public RooAbsPdf { | |
public: | |
ExpPdf() {}; | |
ExpPdf(const char *name, const char *title, RooAbsReal& _t, RooAbsReal& _tau); | |
ExpPdf(const ExpPdf& other, const char* name = 0); | |
virtual TObject* clone(const char* newname) const { return new ExpPdf(*this, newname); } | |
inline virtual ~ExpPdf() { } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Riostream.h" | |
// Custom two exponential pdf | |
class TwoExpPdf : public RooAbsPdf { | |
public: | |
TwoExpPdf() {}; | |
TwoExpPdf(const char *name, const char *title, | |
RooAbsReal& _t, | |
RooAbsReal& _tau1, | |
RooAbsReal& _tau2, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// \file | |
/// \ingroup tutorial_roofit | |
/// \notebook -js | |
/// 'DATA AND CATEGORIES' RooFit tutorial macro #403 | |
/// | |
/// Using weights in unbinned datasets | |
/// | |
/// \macro_image | |
/// \macro_output | |
/// \macro_code |