GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Problem: implementing/using PndGeoHandling in the SciTil simulation
Re: Problem: implementing/using PndGeoHandling in the SciTil simulation [message #18152 is a reply to message #18151] Tue, 21 April 2015 17:00 Go to previous messageGo to previous message
Dominik Steinschaden is currently offline  Dominik Steinschaden
Messages: 28
Registered: April 2015
continuous participant
From: *smi.oeaw.ac.at
I implemented the lines in the constructor of the PndSciT class, which is loaded in the simulation stage

// -----   Default constructor   -------------------------------------------
PndSciT::PndSciT()
  : FairDetector(), fSciTCollection(0), fGeoH(NULL)
 {
  fSciTCollection        = new TClonesArray("PndSciTPoint");
  fVerboseLevel = 0;
  
  fListOfSensitives.push_back("SENSOR");//Root_Test.root
// Volumes containing "SENSOR" in the name will be processed in the process hit funktion

if ( fGeoH == NULL )
  fGeoH = PndGeoHandling::Instance();
}
// -------------------------------------------------------------------------

// -----   Standard constructor   ------------------------------------------
PndSciT::PndSciT(const char* name, Bool_t active)
  : FairDetector(name, active), fSciTCollection(0), fGeoH(NULL)
{
    fSciTCollection        = new TClonesArray("PndSciTPoint");
    fVerboseLevel = 0;

    fListOfSensitives.push_back("SENSOR");//Root_Test.root
// Volumes containing "SENSOR" in the name will be processed in the process hit funktion

    if ( fGeoH == NULL )
      fGeoH = PndGeoHandling::Instance();
}


But this is already causing problems even if I'm not using the PndGeoHandling in the Initialation() or the processHits() funktion to produce the shortIDs.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Separation of STT parallel and skewed hits.
Next Topic: Cleaning the MC sample with PndMcCloner
Goto Forum:
  


Current Time: Sun Apr 14 00:49:21 CEST 2024

Total time taken to generate the page: 0.01196 seconds