/usr/include/root/TLimitDataSource.h is in libroot-hist-dev 5.34.14-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | // @(#)root/hist:$Id$
// Author: Christophe.Delaere@cern.ch 21/08/2002
#ifndef ROOT_TLimitDataSource
#define ROOT_TLimitDataSource
#ifndef ROOT_TObjArray
#include "TObjArray.h"
#endif
#include "TVectorDfwd.h"
class TH1;
//_______________________________________________________________________
//
// TLimitDataSource
//
// This class serves as input for the TLimit::ComputeLimit method.
// It takes the signal, background and data histograms to form a channel.
// More channels can be added using AddChannel(), as well as different
// systematics sources.
//_______________________________________________________________________
class TLimitDataSource : public TObject{
public:
TLimitDataSource();
virtual ~TLimitDataSource() {}
TLimitDataSource(TH1* s,TH1* b,TH1* d);
TLimitDataSource(TH1* s,TH1* b,TH1* d, TVectorD* es,TVectorD* eb,TObjArray* names);
virtual void AddChannel(TH1*,TH1*,TH1*);
virtual void AddChannel(TH1*,TH1*,TH1*,TVectorD*, TVectorD*, TObjArray*);
inline virtual TObjArray* GetSignal() { return &fSignal;}
inline virtual TObjArray* GetBackground() { return &fBackground;}
inline virtual TObjArray* GetCandidates() { return &fCandidates;}
inline virtual TObjArray* GetErrorOnSignal() { return &fErrorOnSignal;}
inline virtual TObjArray* GetErrorOnBackground() { return &fErrorOnBackground;}
inline virtual TObjArray* GetErrorNames() { return &fIds;}
virtual void SetOwner(bool swtch=kTRUE);
private:
// The arrays used to store the packed inputs
TObjArray fSignal; //packed input signal
TObjArray fBackground; //packed input background
TObjArray fCandidates; //packed input candidates (data)
TObjArray fErrorOnSignal; //packed error sources for signal
TObjArray fErrorOnBackground; //packed error sources for background
TObjArray fIds; //packed IDs for the different error sources
// some dummy objects that the class will use and delete
TObjArray fDummyTA; //array of dummy object (used for bookeeping)
TObjArray fDummyIds; //array of dummy object (used for bookeeping)
ClassDef(TLimitDataSource, 2 ) // input for TLimit routines
};
#endif
|