ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | Protected Attributes | List of all members
AtSiArrayGeo Class Reference

#include <AtSiArrayGeo.h>

Inheritance diagram for AtSiArrayGeo:
Inheritance graph
[legend]
Collaboration diagram for AtSiArrayGeo:
Collaboration graph
[legend]

Public Member Functions

 AtSiArrayGeo ()
 
 ~AtSiArrayGeo ()
 
const char * getModuleName (Int_t)
 
const char * getEleName (Int_t)
 
Int_t getModNumInMod (const TString &)
 

Protected Attributes

char modName [20] {}
 
char eleName [20] {}
 

Detailed Description

Definition at line 13 of file AtSiArrayGeo.h.

Constructor & Destructor Documentation

◆ AtSiArrayGeo()

AtSiArrayGeo::AtSiArrayGeo ( )

◆ ~AtSiArrayGeo()

AtSiArrayGeo::~AtSiArrayGeo ( )
inline

Definition at line 20 of file AtSiArrayGeo.h.

Member Function Documentation

◆ getEleName()

const char * AtSiArrayGeo::getEleName ( Int_t  m)

Returns the element name of Det number m

Definition at line 34 of file AtSiArrayGeo.cxx.

◆ getModNumInMod()

Int_t AtSiArrayGeo::getModNumInMod ( const TString &  name)
inline

returns the module index from module name ?? in name[??] has to be the length of the detector name in the .geo file. For example if all nodes in this file starts with newdetector ?? has to be 11.

Definition at line 27 of file AtSiArrayGeo.h.

◆ getModuleName()

const char * AtSiArrayGeo::getModuleName ( Int_t  m)

Returns the module name of AtSiArray number m Setting AtSiArray here means that all modules names in the ASCII file should start with AtSiArray otherwise they will not be constructed

Definition at line 23 of file AtSiArrayGeo.cxx.

Member Data Documentation

◆ eleName

char AtSiArrayGeo::eleName[20] {}
protected

Definition at line 17 of file AtSiArrayGeo.h.

◆ modName

char AtSiArrayGeo::modName[20] {}
protected

Definition at line 16 of file AtSiArrayGeo.h.


The documentation for this class was generated from the following files: