Hello
I am sure it is trivial but could not find it 
So, I ve made the .C and .H via the “MakeClass” and this is how the .h looks like
[code]Int_t NII;
Float_t XELEC[1801]; //[NII]
…
fChain->SetBranchAddress(“XELEC”, XELEC, &b_XELEC);
[/code]
Now, I am not sure how to loop and draw the contents of the XELEC since it is an array. Doing
[code] Int_t kentries = lcpolmc->GetEntriesFast();
TH1F *h1 = new TH1F(“h1”,“XELDET”, 100, -0.0,0.1);
for (Int_t jentry=0; jentry<kentries;jentry++) {
fChain->GetEntry(jentry);
Int_t ientry = LoadTree(jentry);
h1->Fill(XELDET[jentry]);
cout<<" kentry "<<jentry<<" ientry "<<ientry<<" value "<<XELDET[jentry]<<endl;
}
[/code]
does not produce the proper histogram… What am I missing ?
Thanks
Alex