Fill a 1D histogram with random values using predefined functions. 
 
void hist001_TH1_fillrandom()
{
   
   int nBins = 200;
 
   
   
   h1d.FillRandom(
"gaus", 10000);
 
 
   
}
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)
 
- Date
 - November 2024 
 
- Author
 - Giacomo Parolini 
 
Definition in file hist001_TH1_fillrandom.C.