NAGASH 0.9.8
Next Generation Analysis System
|
Virtual base class for histograms. More...
#include "NAGASH/HistBase.h"
Public Types | |
enum class | SystPolicy { Average , Maximum , Variance , CTEQ , Backup } |
Policies of dealing with systematic uncertainties. More... | |
Public Member Functions | |
virtual | ~HistBase ()=default |
virtual bool | BookSystematicVariation (const std::vector< TString > &names, double corr_factor=0, SystPolicy policy=SystPolicy::Maximum) |
virtual bool | BookSystematicVariation (const TString &name, double corr_factor=0, SystPolicy policy=SystPolicy::Maximum) |
virtual bool | BookSystematicVariation (const TString &name1, const TString &name2, double corr_factor=0, SystPolicy policy=SystPolicy::Maximum) |
virtual void | ClearLinkPlot () |
virtual TH1 * | GetNominalHistVirtual () |
virtual size_t | GetNVariations () |
virtual double | GetVariationCorrelationFactor (const TString &) |
virtual TString | GetVariationName (uint64_t) |
virtual std::vector< std::tuple< std::vector< TString >, double, SystPolicy > > | GetVariationTypes () |
virtual TH1 * | GetVariationVirtual (const TString &) |
virtual TH1 * | GetVariationVirtual (uint64_t) |
virtual bool | IsBackupVariation (const TString &) |
virtual bool | IsBackupVariation (uint64_t) |
virtual bool | Process () |
virtual bool | Recover () |
virtual bool | Recover (const TString &filename) |
virtual bool | Recover (std::shared_ptr< TFileHelper >) |
virtual bool | Recover (TFile *file) |
virtual bool | RegroupSystematicVariation (const std::vector< TString > &names, SystPolicy policy) |
virtual bool | RemoveSystematicVariation (const TString &name) |
virtual bool | RenameSystematicVariation (const TString &name_old, const TString &name_new) |
virtual void | Reset () |
virtual void | Scale (double) |
virtual void | SetLinkPlot (uint64_t index, std::shared_ptr< HistBase > subplot) |
virtual void | SetLinkType (const TString &) |
virtual void | SetLinkType (std::function< double(const std::vector< double > &)>, std::function< double(const std::vector< double > &, const std::vector< double > &)>) |
virtual void | SetLinkType (std::function< void(const std::vector< TH1 * > &, TH1 *)>) |
virtual bool | SetSystematicVariation (const TString &name="Nominal") |
virtual bool | SetSystematicVariation (uint64_t index) |
virtual void | SetUnprocessed () |
virtual void | Write () |
Public Member Functions inherited from NAGASH::Result | |
virtual void | Combine (std::shared_ptr< Result > result) |
Return the name of the output file. | |
const TString & | GetOutputFileName () |
Return the name of the result. | |
const TString & | GetResultName () |
virtual void | WriteToFile () |
Protected Member Functions | |
HistBase (std::shared_ptr< MSGTool > MSG, std::shared_ptr< ConfigTool > c, const TString &name, const TString &filename) | |
virtual std::shared_ptr< HistBase > | CloneVirtual (const TString &name) |
Protected Member Functions inherited from NAGASH::Result | |
Result ()=delete | |
Result (const Result &result)=delete | |
Result (Result &&result)=delete | |
Result (std::shared_ptr< MSGTool > MSG, std::shared_ptr< ConfigTool > c, const TString &rname, const TString &fname="") | |
virtual interface to write the result to a file. | |
virtual | ~Result ()=default |
std::shared_ptr< ConfigTool > | ConfigUser () |
Return the internal ConfigTool.> | |
std::shared_ptr< MSGTool > | MSGUser () |
Return the internal MSGTool. | |
Result & | operator= (const Result &result)=delete |
Result & | operator= (Result &&result)=delete |
void | SetOutputFileName (const TString &fileName) |
Set the output file name of the result. | |
Toolkit * | ToolkitUser () |
Return the internal Toolkit. | |
Friends | |
class | PlotGroup |
Virtual base class for histograms.
Definition at line 26 of file HistBase.h.
|
strong |
Policies of dealing with systematic uncertainties.
Definition at line 32 of file HistBase.h.
|
inlineprotected |
Definition at line 42 of file HistBase.h.
|
virtualdefault |
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 48 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 46 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 47 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 49 of file HistBase.h.
|
inlineprotectedvirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 43 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 50 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 51 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 52 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 53 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 54 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 56 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 55 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 58 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 57 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 59 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 60 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 62 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 63 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 61 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 64 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 65 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 66 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 67 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 68 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 69 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 70 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 71 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 72 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 74 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 73 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 75 of file HistBase.h.
|
inlinevirtual |
Reimplemented in NAGASH::NGHist< HistType >.
Definition at line 76 of file HistBase.h.
|
friend |
Definition at line 28 of file HistBase.h.