GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » PANDAroot simulation with FTOF
Re: PANDAroot simulation with FTOF [message #12136 is a reply to message #12135] Sun, 26 June 2011 20:07 Go to previous messageGo to previous message
Yuri Naryshkin is currently offline  Yuri Naryshkin
Messages: 42
Registered: August 2008
continuous participant
From: *desy.de
Dear Alicia,
I add string: add_subdirectory (ftof)
to file pandaroot/CMakeLists.txt (copy of trunk from svn) attached,
then:
cd pandaroot/buildPanda
make clean
cmake ../
. ./config.sh
make

then I add some lines to pandaroot/tutorials/charmonium/jul10/run_sim_tpccombi.C:

FairDetector *FTof = new PndFtof("FTOF",kTRUE);
FTof->SetGeometryFileName("ftofwall.root");
fRun->AddModule(FTof);

and to pandaroot/tutorials/charmonium/jul10/run_digi_tpccombi.C (attached):
// ----- FTOF hit producers ---------------------------------
PndFTofHitProducerIdeal* tofhit = new PndFTofHitProducerIdeal();
ftofhit->SetVerbose(iVerbose);
fRun->AddTask(ftofhit);

then run it:
root -b run_sim_tpccombi.C

but stil the result is:

Processing run_sim_tpccombi.C...

PSaid instance created... access via gSaid->f()

[INFO ] Media file used : /u/naryshk/ver1/pandaroot/geometry/media_pnd.geo
Info in (PndGeoHandling::Instance): Making a new instance using the framework.
fgeoName3 /u/naryshk/ver1/pandaroot/geometry/emc_module4_StraightGeo24.4.root
-I container name PndEmcGeoPar
Error: Symbol PndFtof is not defined in current scope run_sim_tpccombi.C:79:
Error: type PndFtof not defined FILE:/u/naryshk/ver1/pandaroot/tutorials/charmonium/jul10/./run_sim_tpcc ombi.C LINE:79
*** Interpreter error recovered ***

Best Regards, Yuri.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Tutorial for analysis macros on the GRID
Next Topic: alien initialization and PANDA virtual organization
Goto Forum:
  


Current Time: Sun Dec 08 12:53:43 CET 2024

Total time taken to generate the page: 0.00748 seconds