FairRoot/PandaRoot
Public Member Functions | Protected Attributes | List of all members
PndGeoHypGe Class Reference

#include <PndGeoHypGe.h>

Inheritance diagram for PndGeoHypGe:

Public Member Functions

 PndGeoHypGe ()
 
 ~PndGeoHypGe ()
 
const char * getModuleName (Int_t)
 
const char * getEleName (Int_t)
 

Protected Attributes

char modName [20]
 
char eleName [20]
 

Detailed Description

Definition at line 11 of file PndGeoHypGe.h.

Constructor & Destructor Documentation

PndGeoHypGe::PndGeoHypGe ( )

Definition at line 16 of file PndGeoHypGe.cxx.

16  {
17  // Constructor
18  fName="Ge_Crystal";
19  maxSectors=0;
20  maxModules=20;
21  }
PndGeoHypGe::~PndGeoHypGe ( )
inline

Definition at line 18 of file PndGeoHypGe.h.

18 {}

Member Function Documentation

const char * PndGeoHypGe::getEleName ( Int_t  m)

Definition at line 31 of file PndGeoHypGe.cxx.

References eleName.

31  {
32  // Returns the element name of muo number m
33 
34  sprintf(eleName,"Ge_Crystal%i",m+1);
35  return eleName;
36 }
__m128 m
Definition: P4_F32vec4.h:28
char eleName[20]
Definition: PndGeoHypGe.h:14
const char * PndGeoHypGe::getModuleName ( Int_t  m)

Definition at line 24 of file PndGeoHypGe.cxx.

References modName.

24  {
25  // Returns the module name of muo number m
26 
27  sprintf(modName,"Ge_Crystal%i",m+1);
28  return modName;
29 }
__m128 m
Definition: P4_F32vec4.h:28
char modName[20]
Definition: PndGeoHypGe.h:13

Member Data Documentation

char PndGeoHypGe::eleName[20]
protected

Definition at line 14 of file PndGeoHypGe.h.

Referenced by getEleName().

char PndGeoHypGe::modName[20]
protected

Definition at line 13 of file PndGeoHypGe.h.

Referenced by getModuleName().


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