Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

MJDatabaseMEGACrystal.cc

Go to the documentation of this file.
00001 //---------------------------------------------------------------------------//
00002 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu//
00003 //                                                                           //
00004 //                         MAJORANA Simulation                               //
00005 //                                                                           //
00006 //      This code implementation is the intellectual property of the         //
00007 //      MAJORANA Collaboration. It is based on Geant4, an intellectual       //
00008 //      property of the RD44 GEANT4 collaboration.                           //
00009 //                                                                           //
00010 //                        *********************                              //
00011 //                                                                           //
00012 //    Neither the authors of this software system, nor their employing       //
00013 //    institutes, nor the agencies providing financial support for this      //
00014 //    work  make  any representation or  warranty, express or implied,       //
00015 //    regarding this software system or assume any liability for its use.    //
00016 //    By copying, distributing or modifying the Program (or any work based   //
00017 //    on on the Program) you indicate your acceptance of this statement,     //
00018 //    and all its terms.                                                     //
00019 //                                                                           //
00020 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu//
00021 //---------------------------------------------------------------------------//
00022 //                                                          
00023 // $Id: MJDatabaseMEGACrystal.cc,v 1.2 2004/11/09 13:42:39 xliu Exp $ 
00024 //      
00025 // CLASS IMPLEMENTATION:  MJDatabaseMEGACrystal.cc
00026 //
00027 //---------------------------------------------------------------------------//
00033 // 
00034 //---------------------------------------------------------------------------//
00044 //---------------------------------------------------------------------------//
00045 //
00046 #include "database/MJDatabaseElement.hh"
00047 #include "database/MJDatabase.hh"
00048 #include <iostream>
00049 
00050 
00051 //---------------------------------------------------------------------------//
00052 
00053 #include "database/MJDatabaseMEGACrystal.hh"      //Present MJ Class Headers 
00054 
00055 //---------------------------------------------------------------------------//
00056 
00057 MJDatabaseMEGACrystal::MJDatabaseMEGACrystal()
00058 {
00059 
00060 }
00061 MJDatabaseMEGACrystal::MJDatabaseMEGACrystal(string name, int id, 
00062                                              string matName,
00063                                              double h, double Ir, double Or,
00064                                              double coreD, double rot[],
00065                                              double Idlw, double Odlw, char t)
00066   : _name(name), 
00067   _id(id),
00068   _matName(matName),
00069   _height(h),
00070   _innerR(Ir),
00071   _outerR(Or),
00072   _coreDepth(coreD),
00073   _innerDeadLayerW(Idlw),
00074   _outerDeadLayerW(Odlw),
00075   _diodType(t)
00076 {
00077   _material = MJDatabase::GetElement(matName);
00078   //create the roation matrix
00079 }
00080 
00081 MJDatabaseMEGACrystal::MJDatabaseMEGACrystal(const MJDatabaseMEGACrystal & other)
00082 {
00083 
00084 }
00085 
00086 MJDatabaseMEGACrystal::~MJDatabaseMEGACrystal()
00087 {
00088 }
00089 void 
00090 MJDatabaseMEGACrystal::print()
00091 {
00092   cout << "***** MEGA Crystal Prperties *****" << endl
00093        <<"Name              : " << GetIdentity() << endl 
00094        <<"Index             : " << GetIndex() << endl
00095        <<"Material name     : " << GetMaterialName() << endl
00096        <<"Height            : " << GetHeight() << endl
00097        <<"Inner radius      : " << GetInnerR() << endl
00098        <<"Outer radius      : " << GetOuterR() << endl
00099        <<"Core depth        : " << GetCoreDepth() << endl
00100        <<"Inner dead layer  : " << GetInnerDeadLayerWidth() << endl
00101        <<"Outer dead layer  : " << GetOuterDeadLayerWidth() << endl
00102        <<"Diod type         : " << GetDiodType() << endl
00103        <<"Material          : " << endl;
00104   //GetMaterial()->print();
00105 }
00106 

Generated on Mon Nov 29 16:58:49 2004 for Majorana Simulation by  doxygen 1.3.9.1