Home » PANDA » PandaRoot » EMC » Time-based EMC simulation
Re: Time-based EMC simulation [message #15496 is a reply to message #15495] |
Sat, 14 September 2013 12:10 |
StefanoSpataro
Messages: 2736 Registered: June 2005 Location: Torino
|
first-grade participant |
From: 2.235.190*
|
|
Hi Dima,
I did a minimal macro (attached) to see which one produce the error. You can see that it is only the PndEmc constructor... very strange.
And putting some cout inside the PndEmc.cxx, it seems it is the cosntructor call, before the fEmcCollection = new TConesArray("PndEmcPoint"); I removed this line, and I can see still the error.
Toggle Spoiler
root [0]
Processing sim_complete.C...
FairRootManager::OpenOutFile("sim_complete.root")
[INFO ] Media file used : /home/spataro/apr13/trunk/geometry/media_pnd.geo
1
Error in <TClonesArray::SetClass>: called with a null pointer
pippo
2
[INFO ] ============== FairRunSim: Initialising simulation run ==============
Info in <TGeoManager::TGeoManager>: Geometry FAIRGeom, FAIR geometry created
-I- FairGeoMedia Read media
*************************************************************
initialisation for run id 1379152900
*************************************************************
[INFO ] PndFieldMap: Reading field map from ROOT file /home/spataro/apr13/trunk/input/TransMap.1500.root
[INFO ] PndFieldMap: Reading field map from ROOT file /home/spataro/apr13/trunk/input/DipoleMap1.1500.root
[INFO ] PndFieldMap: Reading field map from ROOT file /home/spataro/apr13/trunk/input/DipoleMap2.1500.root
[INFO ] PndFieldMap: Reading field map from ROOT file /home/spataro/apr13/trunk/input/SolenoidMap1.root
[INFO ] PndFieldMap: Reading field map from ROOT file /home/spataro/apr13/trunk/input/SolenoidMap2.root
[INFO ] PndFieldMap: Reading field map from ROOT file /home/spataro/apr13/trunk/input/SolenoidMap3.root
[INFO ] PndFieldMap: Reading field map from ROOT file /home/spataro/apr13/trunk/input/SolenoidMap4.root
[INFO ] -------------- Standard Config is called ------------------------------------
Loading Geant3 libraries ...
Loading Geant3 libraries ... finished
MZSTOR. ZEBRA table base TAB(0) in /MZCC/ at adr 9486391 90C037 HEX
MZSTOR. Initialize Store 0 in /GCBANK/
with Store/Table at absolute adrs 9595637 9486391
HEX 926AF5 90C037
HEX 1AB22 0
relative adrs 109346 0
with 1 Str. in 2 Links in 5300 Low words in 4999970 words.
This store has a fence of 16 words.
MZLOGL. Set Log Level 0 for store 0
1***** GEANT Version 3.21/11 Released on 100298
0***** Correction Cradle Version 0.1100
MZDIV. Initialize Division Constant in Store 0
NW/NWMAX= 20004000000, MODE/KIND= 1 2
Division 20 initialized.
MZLINK. Initialize Link Area /GCLINK/ for Store 0 NL/NS= 20 20
MZLINK. Initialize Link Area /GCSLNK/ for Store 0 NL/NS= 100 100
-I- G3Config: Geant3 with TGeo has been created.
SetCuts Macro: Setting Processes..
SetCuts Macro: Setting cuts..
Info in <TGeoManager::SetTopVolume>: Top volume is cave. Master volume is cave
Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100
Info in <TGeoManager::CheckGeometry>: Fixing runtime shapes...
Info in <TGeoManager::CheckGeometry>: ...Nothing to fix
Info in <TGeoManager::CloseGeometry>: Counting nodes...
Info in <TGeoManager::Voxelize>: Voxelizing...
Info in <TGeoManager::CloseGeometry>: Building cache...
Info in <TGeoManager::CountLevels>: max level = 1, max placements = 0
Info in <TGeoManager::CloseGeometry>: 1 nodes/ 1 volume UID's in FAIR geometry
Info in <TGeoManager::CloseGeometry>: ----------------modeler ready----------------
[INFO ] Simulation RunID: 1379152900
Calculating cross section tables, see gphysi.dat for more information
Cross section calculation concluded successfully
[INFO ] Monte carlo Engine Initialisation with : TGeant3TGeo
**** GTRIGI: IEVENT= 1 IDEVT= 1 Random Seeds = ********** 0
[INFO ] FairPrimaryGenerator: (Event 1) 5 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) with beam gradiant (0.000000, 0.000000) Event Time = 11.700584 (ns)
[INFO ] *** FairBaseParSet written to ROOT file version: 1
[INFO ] *** PndMultiFieldPar written to ROOT file version: 1
[INFO ] *** PndGeoPassivePar written to ROOT file version: 1
RealTime=4.609885 seconds, CpuTime=1.120000 seconds
Test passed
All ok
(int)243514496
I did something simpler, calling the cosnteructor from the root prompt:
spataro@briareos:~/apr13/trunk/macro$ root -l
root [0] PndEmc *pippo1
Error in <TClonesArray::SetClass>: called with a null pointer
root [1] PndEmc *pippo2
root [2] PndEmc *pippo3
root [3]
The first constructor gives the error, the second not. But I cannot see anything in PndEmc which access to global stuff.
|
|
|
Goto Forum:
Current Time: Wed Dec 04 20:38:46 CET 2024
Total time taken to generate the page: 0.00908 seconds
|