11void hist002_TH1_fillrandom_userfunc()
35 h1d.FillRandom(
"sqroot", 10000);
38 auto myFile = std::unique_ptr<TFile>(
TFile::Open(
"fillrandom_userfunc.root",
"RECREATE"));
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
1-D histogram with a double per channel (see TH1 documentation)