ROOT
Version v6.34
master
v6.32
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
►
graf2d
►
graf3d
►
gui
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
►
net
►
proof
▼
roofit
►
batchcompute
►
doc
▼
histfactory
doc
►
inc
▼
src
Asimov.cxx
Channel.cxx
ConfigParser.cxx
Data.cxx
FlexibleInterpVar.cxx
►
hist2workspace.cxx
►
HistFactoryImpl.cxx
►
HistFactoryModelUtils.cxx
HistFactoryNavigation.cxx
►
HistoToWorkspaceFactoryFast.cxx
HistRef.cxx
LinInterpVar.cxx
►
MakeModelAndMeasurementsFast.cxx
Measurement.cxx
ParamHistFunc.cxx
PiecewiseInterpolation.cxx
PreprocessFunction.cxx
RooBarlowBeestonLL.cxx
Sample.cxx
Systematics.cxx
►
hs3
►
jsoninterface
►
multiprocess
►
roofit
►
roofitcore
►
roofitmore
►
roofitZMQ
►
roostats
►
xroofit
►
sql
►
tmva
►
tree
►
tutorials
►
v6-34-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
HistRef.cxx
Go to the documentation of this file.
1
// @(#)root/roostats:$Id$
2
// Author: L. Moneta
3
/*************************************************************************
4
* Copyright (C) 1995-2008, Rene Brun and Fons Rademakers. *
5
* All rights reserved. *
6
* *
7
* For the licensing terms see $ROOTSYS/LICENSE. *
8
* For the list of contributors see $ROOTSYS/README/CREDITS. *
9
*************************************************************************/
10
11
/** \class RooStats::HistFactory::HistRef
12
* \ingroup HistFactory
13
* Internal class wrapping an histogram and managing its content.
14
* convenient for dealing with histogram pointers in the
15
* HistFactory class
16
*/
17
18
#include "
TH1.h
"
19
#include "
RooStats/HistFactory/HistRef.h
"
20
21
namespace
RooStats
{
22
namespace
HistFactory
{
23
24
TH1
*
HistRef::CopyObject
(
const
TH1
*
h
) {
25
// implementation of method copying the contained pointer
26
// (just use Clone)
27
if
(!
h
)
return
nullptr
;
28
return
static_cast<
TH1
*
>
(
h
->Clone());
29
}
30
}
31
}
32
33
HistRef.h
h
#define h(i)
Definition
RSha256.hxx:106
TH1.h
RooStats::HistFactory::HistRef::CopyObject
static TH1 * CopyObject(const TH1 *h)
Definition
HistRef.cxx:24
TH1
TH1 is the base class of all histogram classes in ROOT.
Definition
TH1.h:59
RooFit::HistFactory
@ HistFactory
Definition
RooGlobalFunc.h:64
RooStats
Namespace for the RooStats classes.
Definition
Asimov.h:19
roofit
histfactory
src
HistRef.cxx
ROOT tags/6-34-04 - Reference Guide Generated on Tue Mar 25 2025 04:21:25 (GVA Time) using Doxygen 1.10.0