GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » EMC » emc cluster summary information (rev.2147)
Re: emc cluster summary information (rev.2147) [message #5910 is a reply to message #5799] Tue, 19 February 2008 14:22 Go to previous messageGo to previous message
M.Babai is currently offline  M.Babai
Messages: 46
Registered: January 2008
Location: Netherlands
continuous participant
From: *KVI.nl
Hi all,

I'm trying to use these cluster properties to perform particle identification.

If I want to initialize a PndEmcXClMoments object, root starts to complain and produces's an error with the following message:
Wrong call for PndEmcStructure. It should be instantiated first with TGeoManager


And this is how I'm using this function:
//Select cluster 
PndEmcCluster* cl = (PndEmcCluster*) cluster_array->At(idWithHighestEnergy);

 PndEmcXClMoments zmom = cl->Xmoments();
 ..........

Any body, any idea, how to solve this?

Kind Wishes,
MB
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: EMC small updates
Next Topic: Bug correction in EmcMapper (rev. 2199)
Goto Forum:
  


Current Time: Fri Mar 29 09:59:19 CET 2024

Total time taken to generate the page: 0.00993 seconds