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: MJManagementSteppingAction.cc,v 1.3 2004/11/24 11:16:35 pandola Exp $ 00024 // 00025 // CLASS IMPLEMENTATION: MJManagementSteppingAction.cc 00026 // 00027 //---------------------------------------------------------------------------// 00033 // 00034 //---------------------------------------------------------------------------// 00047 //---------------------------------------------------------------------------// 00048 // 00049 00050 #include "management/MJManagementEventAction.hh" 00051 00052 //---------------------------------------------------------------------------// 00053 00054 #include "management/MJManagementSteppingAction.hh" 00055 00056 //---------------------------------------------------------------------------// 00057 00058 MJManagementSteppingAction::MJManagementSteppingAction(MJManagementEventAction 00059 *eventaction): 00060 fEventAction(eventaction) 00061 {;} 00062 00063 //---------------------------------------------------------------------------// 00064 00065 MJManagementSteppingAction::MJManagementSteppingAction(const MJManagementSteppingAction & other) 00066 {;} 00067 00068 //---------------------------------------------------------------------------// 00069 00070 MJManagementSteppingAction::~MJManagementSteppingAction() 00071 {;} 00072 00073 //---------------------------------------------------------------------------// 00074 00075 void MJManagementSteppingAction::UserSteppingAction(const G4Step *step) 00076 { 00077 if (fEventAction->GetOutputManager()) 00078 fEventAction->GetOutputManager()->SteppingAction(step); 00079 } 00080 00081 //---------------------------------------------------------------------------// 00082 //---------------------------------------------------------------------------//