GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » Combining Emc reconstruction and Geane
icon13.gif  Combining Emc reconstruction and Geane [message #6686] Wed, 07 May 2008 14:15 Go to next message
Vanniarajan Suyam Jothi is currently offline  Vanniarajan Suyam Jothi
Messages: 35
Registered: October 2007
Location: Groningen
continuous participant

From: *KVI.nl
I wanted to track from tpc to the Emc to catch the Emc Cluster Corresponding to the track using GeaneExEmc Johan's Example in tutorial.

I am getting following Error from CbmGeanePro


-I- PndTpcLheHitsMaker::Init: No EMC detector is used
-I- PndTpcLheHitsMaker::Init: Using MCTrack
-I- PndTpcLheTrackFitter1::Init: TpcPoint array! Switching simulation ON
-E- CbmRootManager Branch: PndMvdMCPoint not found in Tree
-E- CbmRootManager Branch: EmcCluster not found in Tree

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb70f26c0 (LWP 8812)]
0xb4c604b5 in CbmGeanePro (this=0x955ad30)
at /home/vanni/fairsoft/pandaroot/geane/CbmGeanePro.cxx:37
37 afErtrio=gMC3->fErtrio;
Current language: auto; currently c++



I have followed Ralf and Andrea's suggestion to Change the CMakelist.txt



Add

* ${GEANT3_INCLUDE_DIR}

and starting a CbmGeane in my macro,

It was working fine.

now I want to Combine it with Emc Reconstruction part
hitProducer, Digitalisation, Make Cluster so on....

now I get the following Error in the Initialization

*************************************************************
initialisation for run id 1133892975
*************************************************************
-I- PndMvdDetector: fListOfSensitives contains:
Disk-Sensor
Barrel-Sensor
StripSensor
SensorActiveArea
StripActive
PixelActive

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb71226c0 (LWP 10471)]
0xb4a03344 in delete_PndGeoEmcPar (p=0x14d1b1)
at /home/vanni/fairsoft/build/emc/PndEmcDict.cxx:2744
warning: Source file is more recent than executable.
2744 delete ((::PndGeoEmcPar*)p);
Current language: auto; currently c++
(gdb) list
2739 static void *newArray_PndGeoEmcPar(Long_t nElements, void *p) {
2740 return p ? new(p) ::PndGeoEmcPar[nElements] : new ::PndGeoEmcPar[nElements];
2741 }
2742 // Wrapper around operator delete
2743 static void delete_PndGeoEmcPar(void *p) {
2744 delete ((::PndGeoEmcPar*)p);
2745 }
2746 static void deleteArray_PndGeoEmcPar(void *p) {
2747 delete [] ((::PndGeoEmcPar*)p);
2748 }
(gdb) continue
Continuing.

*** Break *** segmentation violation
Attaching to program: /proc/10471/exe, process 10471
ptrace: Operation not permitted.
/home/vanni/pidmacro/10471: No such file or directory.
error detected on stdin


It is not clear, if the Problem is in the Emc or in the
Geane, as both of them are working nicely individually.


Cheers,
Vanni





Re: Combining Emc reconstruction and Geane [message #6688 is a reply to message #6686] Wed, 07 May 2008 16:36 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
It seems there are no EmcCluster in your input root file.
Are you sure everything is working properly at that stage?
Re: Combining Emc reconstruction and Geane [message #6690 is a reply to message #6688] Wed, 07 May 2008 18:46 Go to previous messageGo to next message
Vanniarajan Suyam Jothi is currently offline  Vanniarajan Suyam Jothi
Messages: 35
Registered: October 2007
Location: Groningen
continuous participant

From: *KVI.nl
I do not include EmcCluster for the lheTrackFinding and LheTrackFitting, I include only Mvd Points and TpcPoints,
From the last point in the track, I switch off the Emc part in the LheHitsMaker

I do the Geane Propagation to Emc volume. So, I have the Geane guess of where the cluster is going to be for that track.

now I want to do the position-position matching to the Geane guess with the reconstructed clusters in Emc.

unfortunately Emc reconstruction and Geane Propagation don't work together.
Re: Combining Emc reconstruction and Geane [message #6691 is a reply to message #6690] Wed, 07 May 2008 19:24 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
What I meant is the reason of the missing EmcCluster:

-E- CbmRootManager Branch: PndMvdMCPoint not found in Tree
-E- CbmRootManager Branch: EmcCluster not found in Tree


Don't you use emc cluster info in your code?
Re: Combining Emc reconstruction and Geane [message #6693 is a reply to message #6691] Thu, 08 May 2008 09:44 Go to previous messageGo to next message
Vanniarajan Suyam Jothi is currently offline  Vanniarajan Suyam Jothi
Messages: 35
Registered: October 2007
Location: Groningen
continuous participant

From: *KVI.nl





PndTpcLheHitsMaker* trackMS = new PndTpcLheHitsMaker("Tracking routine");
//trackMS->SetSimulation(kFALSE);
//trackMS->SetVerbose(kTRUE);
trackMS->SetTpcMode(1, -1); // 0 OFF, 1 TpcPoint, 2 TpcCluster // TpcPoint smearing [cm], if negative no smearing
trackMS->SetMvdMode(1, -1); // 0 OFF, 1 MVDPoint, 2 MVDHit // MVDPoint smearing [cm], if negative no smearing
trackMS->SetEmcMode(0); // 0 OFF, 2 EmcCluster, 3 EmcBump
fRun->AddTask(trackMS);


I have switched off the MvdMode and EmcMode in my Macro....
I don't know why does it look for the cluster..!

and I have Mvdpoints In the input file hits maker do use MvdPoints for tracking.



Re: Combining Emc reconstruction and Geane [message #6694 is a reply to message #6693] Thu, 08 May 2008 10:21 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
In your macro something is trying to access to EmcCluster, and this is not the LheHitsmaker. What else?

Re: Combining Emc reconstruction and Geane [message #6695 is a reply to message #6691] Thu, 08 May 2008 10:48 Go to previous messageGo to next message
Vanniarajan Suyam Jothi is currently offline  Vanniarajan Suyam Jothi
Messages: 35
Registered: October 2007
Location: Groningen
continuous participant

From: *KVI.nl
Oh that was from another irrelevant task I have made. I have switched it off... still the problem persist...my problem is nothing to do with that task..
Re: Combining Emc reconstruction and Geane [message #6696 is a reply to message #6694] Thu, 08 May 2008 10:53 Go to previous message
Aleksandra Wronska is currently offline  Aleksandra Wronska
Messages: 38
Registered: May 2006
Location: Cracow
continuous participant
From: *if.uj.edu.pl
Hi,

Of the two error messages:
-E- CbmRootManager Branch: PndMvdMCPoint not found in Tree
-E- CbmRootManager Branch: EmcCluster not found in Tree

after a fast glimpse I think that the first comes from the wrong name of the array (the array is called MVDPoint)
Unfortunately I have no idea why EmcCluster is not found.

cheers,
ola
Previous Topic: Bug in Geane?
Next Topic: Problems with GEANE and trackbase
Goto Forum:
  


Current Time: Wed Nov 27 21:22:07 CET 2024

Total time taken to generate the page: 0.00660 seconds