15#ifndef ClingWorkAroundMissingDynamicScope
16# define ClingWorkAroundMissingDynamicScope
20#ifdef ClingWorkAroundMissingDynamicScope
30 printf(
"Adding hpx: %d entries\n", (
int)hpx->
GetEntries());
32 TH1 *hpxpy = (
TH1*)
f->Get(
"hpxpy");
34 TH1 *hprof = (
TH1*)
f->Get(
"hprof");
43 gROOT->LoadMacro(tutdir+
"/hsimple.C");
46 for (
Int_t i=0; i<10; i++) {
47 inputs->
AddAt(GetCollection(),0);
54 printf(
"============================================\n");
55 printf(
"Total hpx: %d entries\n", (
int)hpx->
GetEntries());
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
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 float per channel (see TH1 documentation)}
virtual Double_t GetEntries() const
Return the current number of entries.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual void Add(TObject *obj)
virtual void AddAt(TObject *obj, Int_t idx)
Insert object at position idx in the list.
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
virtual void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
Mother of all ROOT objects.
Sequenceable collection abstract base class.
Long64_t Merge(TCollection *list)
Merge this collection with all collections coming in the input list.