/*
 * PndLmdGeo.cxx
 *
 *  Created on: Apr 28, 2009
 *      Author: huagen
 */

#include "PndLmdGeo.h"
#include "FairGeoSet.h"

 PndLmdGeo :: PndLmdGeo():FairGeoSet() // Add FairGeoSet after PndLmdGeo method
 {
	 //detector name
	 fName = "lmd";
	 //Senctors is not used for Panda
	 maxSectors = 9;
	 //Just a single module is used
	 maxModules = 9;

 }

 Int_t PndLmdGeo::getModNumInMod(const TString& name){
	 return 1;
 }

 const char* PndLmdGeo::getModuleName(Int_t m){
	 sprintf(modName,"lumiVolume%i",m+1);
	 return modName;
 }

 const char* PndLmdGeo::getEleName(Int_t m){
	 sprintf(eleName,"lumiSensor0%i",m+1);
	 return eleName;
 }
//Root macro
 ClassImp(PndLmdGeo)
