NAGASH
0.9.8
Next Generation Analysis System
Loading...
Searching...
No Matches
include
NAGASH
Plot1D.h
Go to the documentation of this file.
1
//***************************************************************************************
4
//***************************************************************************************
5
6
#pragma once
7
8
#include "
NAGASH/NGHist.h
"
9
10
namespace
NAGASH
11
{
14
using
Plot1D
=
NGHist<TH1D>
;
15
22
template
<>
23
template
<>
24
inline
NGHist<TH1D>::NGHist
(std::shared_ptr<MSGTool> MSG, std::shared_ptr<ConfigTool> c,
const
TString &name,
const
TString &filename,
const
std::vector<double> &bindiv)
25
:
HistBase
(MSG, c, name, filename)
26
{
27
Nominal
=
new
TH1D(
GetResultName
(),
GetResultName
(), (
int
)bindiv.size() - 1, bindiv.data());
28
Nominal
->SetDirectory(0);
29
Nominal
->Sumw2();
30
FillHist
=
Nominal
;
31
}
32
33
}
NGHist.h
NAGASH::HistBase
Virtual base class for histograms.
Definition
HistBase.h:27
NAGASH::NGHist
NAGASH interface for using ROOT histograms.
Definition
NGHist.h:18
NAGASH::NGHist::Nominal
HistType * Nominal
Definition
NGHist.h:23
NAGASH::NGHist::FillHist
HistType * FillHist
Definition
NGHist.h:22
NAGASH::NGHist::NGHist
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
NAGASH::Result::GetResultName
const TString & GetResultName()
Definition
Result.h:70
NAGASH
Definition
Analysis.h:232
Generated on Mon Sep 2 2024 14:24:32 for NAGASH by
1.9.8