BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_MWPC_SCAN.C File Reference
#include "TFile.h"
#include "TGeoBBox.h"
#include "TGeoManager.h"
#include "TGeoShape.h"
#include "TMath.h"
#include "TString.h"
Include dependency graph for create_rootgeom_MWPC_SCAN.C:

Go to the source code of this file.

Functions

void create_rootgeom_MWPC_SCAN ()

Variables

TGeoManager * gGeoMan = NULL
const Int_t NofPlanes = 20
const Double_t MWPC1_Xpos = 0.0
const Double_t MWPC1_Ypos = 0.0
const Double_t MWPC1_Zpos = 0.0
const Double_t GapZsize = 1.0
const Double_t GapWireOnePlane = 0.25
const Double_t GapWireTwoPlanes = GapWireOnePlane / 2.0
const Double_t XSizeOfActiveVolume = 450
const Double_t YSizeOfActiveVolume = 100
const Double_t ZSizeOfActiveVolume = 250

Function Documentation

◆ create_rootgeom_MWPC_SCAN()

void create_rootgeom_MWPC_SCAN ( )

Definition at line 29 of file create_rootgeom_MWPC_SCAN.C.

References TGeoVolume::AddNode(), bmnloadlibs(), TFile::Close(), TGeoVolume::Draw(), gGeoMan, MWPC1_Xpos, MWPC1_Ypos, MWPC1_Zpos, NofPlanes, pMedAir, pMedArCO27030, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoVolume::SetVisContainers(), TObject::Write(), XSizeOfActiveVolume, and YSizeOfActiveVolume.

Here is the call graph for this function:

Variable Documentation

◆ GapWireOnePlane

const Double_t GapWireOnePlane = 0.25

Definition at line 22 of file create_rootgeom_MWPC_SCAN.C.

◆ GapWireTwoPlanes

const Double_t GapWireTwoPlanes = GapWireOnePlane / 2.0

Definition at line 23 of file create_rootgeom_MWPC_SCAN.C.

◆ GapZsize

const Double_t GapZsize = 1.0

Definition at line 21 of file create_rootgeom_MWPC_SCAN.C.

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 10 of file create_rootgeom_MWPC_SCAN.C.

◆ MWPC1_Xpos

const Double_t MWPC1_Xpos = 0.0

Definition at line 16 of file create_rootgeom_MWPC_SCAN.C.

◆ MWPC1_Ypos

const Double_t MWPC1_Ypos = 0.0

Definition at line 17 of file create_rootgeom_MWPC_SCAN.C.

◆ MWPC1_Zpos

const Double_t MWPC1_Zpos = 0.0

Definition at line 18 of file create_rootgeom_MWPC_SCAN.C.

◆ NofPlanes

const Int_t NofPlanes = 20

Definition at line 13 of file create_rootgeom_MWPC_SCAN.C.

◆ XSizeOfActiveVolume

const Double_t XSizeOfActiveVolume = 450

Definition at line 25 of file create_rootgeom_MWPC_SCAN.C.

◆ YSizeOfActiveVolume

const Double_t YSizeOfActiveVolume = 100

Definition at line 26 of file create_rootgeom_MWPC_SCAN.C.

◆ ZSizeOfActiveVolume

const Double_t ZSizeOfActiveVolume = 250

Definition at line 27 of file create_rootgeom_MWPC_SCAN.C.