fHXYEntrance 2D Hitso in SLitrani

How can I plot the fHXYEntrance distribution of the detected photons which are stopped in my detector (TLitDetector)?
TLitVolume *Lit_PM = new TLitVolume(PM);
Lit_PM->SetDetector(kTRUE,“none”,89.9,0.0,0.0,1.0);

I saw that fHXYEntrance is well filled in the method TLitPhoton::InDetRecord() and the x and y seem also to be correct. I checked their values by printing them. This 2D histo is not accessible (or I did not succeed) via gLitCs, Gs and did not take part of the histograms plotted by the visualization interface :
TLit::Get()->BookCanvas();
gTwoPad->SetAllGrey();
gTwoPad->CommentTL(“Simulation on …”);
top->Draw("");
gLitGp->SetTitle(“real part of index of cryostat”);
gLitGp->Summary();
gLitCs->fHTimeSeen->Draw();
gTwoPad->ChangePad();
gLitGs->DoStat();
TLit::Get()->CloseFiles();

Hi,

Litrani is not part of ROOT; you should ask the developers of Litrani’s classes for help.

Cheers, Axel.

Thank you. I will do it. Anyway I solved the problem by searching the object through the gROOT pointer gROOT->GetList()->Print() and then selected the object in the list and drew it.
Sam