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
AtTpcGeo Class Reference

#include <AtTpcGeo.h>

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

Public Member Functions

 AtTpcGeo ()
 
 ~AtTpcGeo ()
 
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 20 of file AtTpcGeo.h.

Constructor & Destructor Documentation

◆ AtTpcGeo()

AtTpcGeo::AtTpcGeo ( )

◆ ~AtTpcGeo()

AtTpcGeo::~AtTpcGeo ( )
inline

Definition at line 27 of file AtTpcGeo.h.

Member Function Documentation

◆ getEleName()

const char * AtTpcGeo::getEleName ( Int_t  m)

Returns the element name of Det number m

Definition at line 41 of file AtTpcGeo.cxx.

◆ getModNumInMod()

Int_t AtTpcGeo::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 34 of file AtTpcGeo.h.

◆ getModuleName()

const char * AtTpcGeo::getModuleName ( Int_t  m)

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

Definition at line 30 of file AtTpcGeo.cxx.

Member Data Documentation

◆ eleName

char AtTpcGeo::eleName[20] {}
protected

Definition at line 24 of file AtTpcGeo.h.

◆ modName

char AtTpcGeo::modName[20] {}
protected

Definition at line 23 of file AtTpcGeo.h.


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