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 an on-disk file, usually with extension .root, that stores objects in a file-system-li...
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)
TH1 is the base class of all histogram classes in ROOT.
void Draw(Option_t *option="") override
Draw this histogram with options.
virtual Double_t GetEntries() const
Return the current number of entries.
void AddAt(TObject *obj, Int_t idx) override
Insert object at position idx in the list.
void Add(TObject *obj) override
void Delete(Option_t *option="") override
Remove all objects from the list AND delete all heap based objects.
TObject * At(Int_t idx) const override
Returns the object at position idx. Returns 0 if idx is out of range.
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.