Commit ddce789f authored by Mehulkumar Shiroya's avatar Mehulkumar Shiroya
Browse files

WIP: New STS geometries

v21a has stations with extended pitch, uses the old beam pipe, repositions the FEB boxes, and changes the material(Airex) for foam in sts wall.
v21b has stations with the extended pitch, repositioned central ladders according to 40 mm diameter beam pipe and new material(Airex) for foam in STS wall.
v21c has stations with extended pitch, repositioned central ladders according to 55 mm diameter beam pipe and new matrial(Airex) for foam in STS wall foam
v21d has stations with extended pitch, reposition of central ladders due to provision for a 40 mm diameter beam pipe. The back side wall has a honeycomb structure Airex matrial used

New Beam_pipe geometries

v21a It contains old beam pipe, thickness 1 mm, and moved towards upstream side where target is positined at -4 cm.
v21b It contains new beam pipe of 40 mm diameter in upstream side and 100 mm in downstream side, thickness 1 mm moved towards -4 cm.
v21c It contains new beam pipe of 55 mm diameter in upstream side and 100 mm in downstream side, thickness 1 mm moved towards -4 cm.

Run transport.C

target is positioned at -4 cm.

New sts geometries
parent 4371cc19
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/* Copyright (C) 2018-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
SPDX-License-Identifier: GPL-3.0-only
Authors: Volker Friese [committer] */
/** @file run_transport.C
** @author Volker Friese <v.friese@gsi.de>
** @since 2 March 2019
......@@ -10,9 +6,7 @@
// Includes needed for IDE
#if !defined(__CLING__)
#include "CbmTransport.h"
#include "FairSystemInfo.h"
#include "TStopwatch.h"
#endif
......@@ -43,9 +37,10 @@
** For the options for the transport simulation, see the documentation of
** CbmTransport.
**/
void run_transport(Int_t nEvents = 2, const char* setupName = "sis100_electron", const char* output = "test",
const char* inputFile = "")
{
void run_transport(Int_t nEvents = 2,
const char* setupName = "sis100_electron", //"sis100_electron",
const char* output = "test",
const char* inputFile = "") {
// --- Logger settings ----------------------------------------------------
FairLogger::GetLogger()->SetLogScreenLevel("INFO");
......@@ -54,7 +49,7 @@ void run_transport(Int_t nEvents = 2, const char* setupName = "sis100_electron",
// ----- Environment --------------------------------------------------
TString myName = "run_transport"; // this macro's name for screen output
TString myName = "run_transport"; // this macro's name for screen output
TString srcDir = gSystem->Getenv("VMCWORKDIR"); // top source directory
// ------------------------------------------------------------------------
......@@ -67,7 +62,8 @@ void run_transport(Int_t nEvents = 2, const char* setupName = "sis100_electron",
std::cout << std::endl;
TString defaultInputFile = srcDir + "/input/urqmd.auau.10gev.centr.root";
TString inFile;
if (strcmp(inputFile, "") == 0) inFile = defaultInputFile;
if (strcmp(inputFile, "") == 0)
inFile = defaultInputFile;
else
inFile = inputFile;
std::cout << "-I- " << myName << ": Using input file " << inFile << std::endl;
......@@ -87,7 +83,7 @@ void run_transport(Int_t nEvents = 2, const char* setupName = "sis100_electron",
run.SetParFileName(parFile);
run.SetGeoFileName(geoFile);
run.LoadSetup(setupName);
run.SetTarget("Gold", 0.025, 2.5);
run.SetTarget("Gold", 0.025, 2.5, 0.0, 0.0, -4.0);
run.SetBeamPosition(0., 0., 0.1, 0.1);
run.SetRandomEventPlane();
run.Run(nEvents);
......@@ -102,7 +98,9 @@ void run_transport(Int_t nEvents = 2, const char* setupName = "sis100_electron",
std::cout << "Macro finished successfully." << std::endl;
std::cout << "Output file is " << outFile << std::endl;
std::cout << "Parameter file is " << parFile << std::endl;
std::cout << "Real time " << rtime << " s, CPU time " << ctime << "s" << std::endl << std::endl;
std::cout << "Real time " << rtime << " s, CPU time " << ctime << "s"
<< std::endl
<< std::endl;
// ------------------------------------------------------------------------
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment