BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_stsdigipar_GEMS.C File Reference
#include "TString.h"
#include <cstdio>
#include <iostream>
Include dependency graph for create_stsdigipar_GEMS.C:

Go to the source code of this file.

Functions

void create_stsdigipar_GEMS (const char *geoTag=gkGeoTag, const char *digiTag=gkDigiTag)
Bool_t CreateGeoFromFile (const char *fileName)
 =========================================================================== CreateGeoFromFile
Int_t GetNofModules (TGeoNode *station)
 =======================================================================
Int_t GetNofDaughters (TGeoNode *node, const char *name)

Variables

Int_t gkSensorType = 2
Double_t gkGuardRingWidth = 0.13
Double_t gkStripPitchFront = 0.0400
Double_t gkStripPitchBack = 0.0400
Double_t gkStereoFront = 0.
Double_t gkStereoBack = -15.
TString gkGeoTag = "v16a"
TString gkDigiTag = "gem"
TGeoManager * geoMan = NULL

Function Documentation

◆ create_stsdigipar_GEMS()

void create_stsdigipar_GEMS ( const char * geoTag = gkGeoTag,
const char * digiTag = gkDigiTag )

◆ CreateGeoFromFile()

Bool_t CreateGeoFromFile ( const char * fileName)

Create geometry, read STS node from file and add it to geometry.

Definition at line 212 of file create_stsdigipar_GEMS.C.

References TGeoVolume::AddNode(), TString::BeginsWith(), TFile::Close(), geoMan, TDirectoryFile::GetListOfKeys(), TGeoNode::GetMatrix(), TNamed::GetName(), TGeoVolume::GetNode(), TGeoNode::GetVolume(), TGeoNode::InspectNode(), TFile::IsOpen(), and TString::Remove().

Referenced by create_stsdigipar_GEMS().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetNofDaughters()

Int_t GetNofDaughters ( TGeoNode * node,
const char * name )

Definition at line 293 of file create_stsdigipar_GEMS.C.

References TString::Contains(), TGeoNode::GetDaughter(), TNamed::GetName(), and TGeoNode::GetNdaughters().

Referenced by create_stsdigipar_GEMS().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetNofModules()

Int_t GetNofModules ( TGeoNode * station)

Definition at line 277 of file create_stsdigipar_GEMS.C.

References TGeoNode::GetNdaughters().

Referenced by ApplyAlignment(), and create_stsdigipar_GEMS().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ geoMan

TGeoManager* geoMan = NULL

Definition at line 54 of file create_stsdigipar_GEMS.C.

◆ gkDigiTag

TString gkDigiTag = "gem"

Definition at line 49 of file create_stsdigipar_GEMS.C.

◆ gkGeoTag

TString gkGeoTag = "v16a"

Definition at line 48 of file create_stsdigipar_GEMS.C.

◆ gkGuardRingWidth

Double_t gkGuardRingWidth = 0.13

Definition at line 35 of file create_stsdigipar_GEMS.C.

◆ gkSensorType

Int_t gkSensorType = 2

Definition at line 31 of file create_stsdigipar_GEMS.C.

◆ gkStereoBack

Double_t gkStereoBack = -15.

Definition at line 45 of file create_stsdigipar_GEMS.C.

◆ gkStereoFront

Double_t gkStereoFront = 0.

Definition at line 44 of file create_stsdigipar_GEMS.C.

◆ gkStripPitchBack

Double_t gkStripPitchBack = 0.0400

Definition at line 39 of file create_stsdigipar_GEMS.C.

◆ gkStripPitchFront

Double_t gkStripPitchFront = 0.0400

Definition at line 38 of file create_stsdigipar_GEMS.C.