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

#include <PndGeoEmc.h>

Inheritance diagram for PndGeoEmc:

Public Member Functions

 PndGeoEmc ()
 
 ~PndGeoEmc ()
 
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 PndGeoEmc.h.

Constructor & Destructor Documentation

PndGeoEmc::PndGeoEmc ( )

Definition at line 16 of file PndGeoEmc.cxx.

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

Definition at line 18 of file PndGeoEmc.h.

18 {}

Member Function Documentation

const char * PndGeoEmc::getEleName ( Int_t  m)

Definition at line 31 of file PndGeoEmc.cxx.

References eleName.

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

Definition at line 24 of file PndGeoEmc.cxx.

References modName.

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

Member Data Documentation

char PndGeoEmc::eleName[20]
protected

Definition at line 14 of file PndGeoEmc.h.

Referenced by getEleName().

char PndGeoEmc::modName[20]
protected

Definition at line 13 of file PndGeoEmc.h.

Referenced by getModuleName().


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