GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » PandaRoot volumes for forward spectrometer
PandaRoot volumes for forward spectrometer [message #12873] Wed, 21 December 2011 15:28 Go to next message
Olaf Hartmann is currently offline  Olaf Hartmann
Messages: 105
Registered: December 2003
Location: Wien-Alsergrund
continuous participant
From: *smi.oeaw.ac.at
Dear all,

I'm looking for the (most detailed available) geometry descriptions in PandaRoot for the forward detectors. What I can find in the geometry folder is:

dch.geo/dch.root
dipole.geo
fsc.geo
ftofwall.root
fts.geo
muon_FS.root



Can someone of the detector groups comment which geometries are up to date and how to initialize them from the macro?

In general I think it would be a good idea to maintain a WIKI page where the different geometries for the detectors are explained and which moreover is updated as soon as someone implements something new.

Cheers
Olaf.


Re: PandaRoot volumes for forward spectrometer [message #12874 is a reply to message #12873] Wed, 21 December 2011 19:10 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *10-79-r.retail.telecomitalia.it
Hi Olaf,
you can use the standard macro/pid/run_sim_sttcombi_pgun.C simulation macro.

If you want to have also forward Mdt, take out the "fast" part and put:

PndMdt *Muo = new PndMdt("MDT",kTRUE);
Muo->SetMdtMagnet(kTRUE);
Muo->SetBarrel("muon_TS_barrel_strip_v1_noGeo.root");
Muo->SetEndcap("muon_TS_endcap_strip_v1_noGeo.root");
Muo->SetForward("muon_Forward_strip_v1_noGeo.root");
Muo->SetMuonFilter("muon_MuonFilter_strip_v1_noGeo.root");
fRun->AddModule(Muo)


If you want to have the still untested bent pipe, uncomment the Pipe->SetGeometryFileName() line.

Re: PandaRoot volumes for forward spectrometer [message #12875 is a reply to message #12874] Thu, 22 December 2011 10:26 Go to previous message
Dmitry Morozov is currently offline  Dmitry Morozov
Messages: 34
Registered: May 2007
Location: Protvino, Russia
continuous participant
From: *ihep.su
Hi Olaf,

Unfortunately, there is no usable macro for forward part inside repository.

I use the following geometry (part of the sim macro):

//-------------------------  CAVE      -----------------

  FairModule *Cave= new PndCave("CAVE");
  Cave->SetGeometryFileName("pndcave.geo");
  fRun->AddModule(Cave); 
  //-------------------------  Magnet   -----------------
  FairModule *Magnet= new PndMagnet("MAGNET");
  //Magnet->SetGeometryFileName("FullSolenoid_V842.root");
  Magnet->SetGeometryFileName("FullSuperconductingSolenoid_v831.root");
  fRun->AddModule(Magnet);
  FairModule *Dipole= new PndMagnet("MAGNET");
  Dipole->SetGeometryFileName("dipole.geo");
  fRun->AddModule(Dipole);
//  -------------------------  Pipe     -----------------
  FairModule *Pipe= new PndPipe("PIPE");
  Pipe->SetGeometryFileName("beampipe_201112.root");
  fRun->AddModule(Pipe);
  //-------------------------  STT       -----------------
  FairDetector *Stt= new PndStt("STT", kTRUE);
  Stt->SetGeometryFileName("straws_skewed_blocks_35cm_pipe.geo");
  fRun->AddModule(Stt);
  //-------------------------  MVD       -----------------
  FairDetector *Mvd = new PndMvdDetector("MVD", kTRUE);
//  Mvd->SetGeometryFileName("Mvd-2.1_FullVersion.root");
  Mvd->SetGeometryFileName("Mvd-2.1_AddDisks_FullVersion.root");
  fRun->AddModule(Mvd);
  //-------------------------  GEM       -----------------
  FairDetector *Gem = new PndGemDetector("GEM", kTRUE);
//  Gem->SetGeometryFileName("gem_3Stations.root");
  Gem->SetGeometryFileName("gem_4Stations.root");
  fRun->AddModule(Gem);
  //-------------------------  EMC       -----------------
  PndEmc *Emc = new PndEmc("EMC",kTRUE);
  Emc->SetGeometryVersion(1);
  Emc->SetStorageOfData(kFALSE);
  fRun->AddModule(Emc);
  //-------------------------  DRC       -----------------
  PndDrc *Drc = new PndDrc("DIRC", kTRUE);
  Drc->SetGeometryFileName("dirc_l0_p0.root");
  Drc->SetRunCherenkov(kFALSE);
  fRun->AddModule(Drc);
  //-------------------------  DISC      -----------------
  PndDsk* Dsk = new PndDsk("DSK", kTRUE);
  Dsk->SetGeometryFileName("dsk.root");
  Dsk->SetStoreCerenkovs(kFALSE);
  Dsk->SetStoreTrackPoints(kFALSE);
  fRun->AddModule(Dsk);
  //-------------------------  MDT       -----------------
  PndMdt *Muo = new PndMdt("MDT",kTRUE);
  Muo->SetBarrel("fast");
  Muo->SetEndcap("fast");
  Muo->SetMuonFilter("fast");
  Muo->SetMdtMagnet(kTRUE);
  Muo->SetMdtMFIron(kTRUE);
  fRun->AddModule(Muo);
  //-------------------------  FTS       -----------------
  FairDetector *Fts= new PndFts("FTS", kTRUE);
  Fts->SetGeometryFileName("fts.geo");
  fRun->AddModule(Fts);
  //---------------------------  FTOF      -----------------
  FairDetector *FTof = new PndFtof("FTOF",kTRUE);
  FTof->SetGeometryFileName("ftofwall.root");
  fRun->AddModule(FTof);

===========================================================

To have forward MDT use Sefano's suggestion.
Note, that default ftofwall.root from the svn might be overlapped with FSC. So I use my own ftofwall.root with shifted FTOF along z. You can create it using macro "macro/ftof/create_ftof_rootgeo.C"

Hope this helps.

Dmitry



Previous Topic: Download via svn
Next Topic: /d/panda02 FULL!!
Goto Forum:
  


Current Time: Thu Apr 18 23:32:32 CEST 2024

Total time taken to generate the page: 0.00911 seconds