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: MaGeGeometrySDHit.cc,v 1.2 2004/11/09 13:42:39 xliu Exp $ 00024 // 00025 // CLASS IMPLEMENTATION: @CLASS_NAME@.cc 00026 // 00027 //---------------------------------------------------------------------------// 00033 // 00034 //---------------------------------------------------------------------------// 00044 //---------------------------------------------------------------------------// 00045 // 00046 #include "gerdageometry/MaGeGeometrySDHit.hh" 00047 00048 #include "G4VVisManager.hh" 00049 #include "G4Circle.hh" 00050 #include "G4Colour.hh" 00051 #include "G4VisAttributes.hh" 00052 00053 G4Allocator<MaGeGeometrySDHit> MaGeGeometrySDHitAllocator; 00054 00055 MaGeGeometrySDHit::MaGeGeometrySDHit() 00056 {;} 00057 00058 MaGeGeometrySDHit::~MaGeGeometrySDHit() 00059 {;} 00060 00061 MaGeGeometrySDHit::MaGeGeometrySDHit(const MaGeGeometrySDHit &right) 00062 : G4VHit() 00063 { 00064 edep = right.edep; 00065 pos = right.pos; 00066 ekinetic = right.ekinetic; 00067 steplength = right.steplength; 00068 tracklength = right.tracklength; 00069 volumename = right.volumename; 00070 copynumber = right.copynumber; 00071 } 00072 00073 const MaGeGeometrySDHit& MaGeGeometrySDHit::operator=(const MaGeGeometrySDHit &right) 00074 { 00075 edep = right.edep; 00076 pos = right.pos; 00077 ekinetic = right.ekinetic; 00078 steplength = right.steplength; 00079 tracklength = right.tracklength; 00080 volumename = right.volumename; 00081 copynumber = right.copynumber; 00082 return *this; 00083 } 00084 00085 G4int MaGeGeometrySDHit::operator==(const MaGeGeometrySDHit &right) const 00086 { 00087 return (this==&right) ? 1 : 0; 00088 } 00089 00090 00091 void MaGeGeometrySDHit::Draw() 00092 {;} 00093 00094 00095 void MaGeGeometrySDHit::Print() 00096 {;} 00097