NAGASH 0.9.8
Next Generation Analysis System
Loading...
Searching...
No Matches
Plot3D.h
Go to the documentation of this file.
1//***************************************************************************************
4//***************************************************************************************
5
6#pragma once
7
8#include "NAGASH/NGHist.h"
9
10namespace NAGASH
11{
15
24 template <>
25 template <>
26 inline NGHist<TH3D>::NGHist(std::shared_ptr<MSGTool> MSG, std::shared_ptr<ConfigTool> c, const TString &name, const TString &filename, const std::vector<double> &bindivx, const std::vector<double> &bindivy, const std::vector<double> &bindivz)
27 : HistBase(MSG, c, name, filename)
28 {
29 Nominal = new TH3D(GetResultName(), GetResultName(), (int)bindivx.size() - 1, bindivx.data(), (int)bindivy.size() - 1, bindivy.data(), (int)bindivz.size() - 1, bindivz.data());
30 Nominal->Sumw2();
31 Nominal->SetDirectory(0);
33 }
34
35}
Virtual base class for histograms.
Definition HistBase.h:27
NAGASH interface for using ROOT histograms.
Definition NGHist.h:18
HistType * Nominal
Definition NGHist.h:23
HistType * FillHist
Definition NGHist.h:22
NGHist(std::shared_ptr< MSGTool > MSG, std::shared_ptr< ConfigTool > c, const TString &name, const TString &filename, const Args &...args)
Constructor.
Definition NGHist.h:355
const TString & GetResultName()
Definition Result.h:70