Message: GetSDMpointer does not find GetCollectionID since v.10.02 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question GetSDMpointer does not find GetCollectionID since v.10.02 

Forum: Multithreading
Date: 18 Jul, 2017
From: Mikhail <Mikhail>

Switching from v.10.02 to 10.03 brought some changes in SetSensitiveDetector mechanism (mentioned but not explained in Release notes): in multi-threaded (MPI) app. insertion of multiple sensitive detectors via:

SetSensitiveDetector(logicDet[0],voxelSD.Get());

does not work anymore, yielding crash. Changing to

logicDet[0]->SetSensitiveDetector( new VoxelSD("voxel0",this) );

does not work either because the collection inserted with:

collectionName.insert(HCname="voxelHitCollection");

cannot be found. What do we need to change to get our collection in memory (compatible with MPI)?

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Warning: Re: GetSDMpointer does not find GetCollectionID since v.10.02   (Andrea Dotti - 18 Jul, 2017)
 Add Message Add Message
to: "GetSDMpointer does not find GetCollectionID since v.10.02"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews