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

MaGeManagementTrackingAction.cc

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * DISCLAIMER                                                       *
00004 // *                                                                  *
00005 // * The following disclaimer summarizes all the specific disclaimers *
00006 // * of contributors to this software. The specific disclaimers,which *
00007 // * govern, are listed with their locations in:                      *
00008 // *   http://cern.ch/geant4/license                                  *
00009 // *                                                                  *
00010 // * Neither the authors of this software system, nor their employing *
00011 // * institutes,nor the agencies providing financial support for this *
00012 // * work  make  any representation or  warranty, express or implied, *
00013 // * regarding  this  software system or assume any liability for its *
00014 // * use.                                                             *
00015 // *                                                                  *
00016 // * This  code  implementation is the  intellectual property  of the *
00017 // * GEANT4 collaboration.                                            *
00018 // * By copying,  distributing  or modifying the Program (or any work *
00019 // * based  on  the Program)  you indicate  your  acceptance of  this *
00020 // * statement, and all its terms.                                    *
00021 // ********************************************************************
00022 //
00023 //
00024 // --------------------------------------------------------------
00025 //   GEANT 4 - Neutrinoless Double Beta Decay Experiment
00026 //
00027 //      For further information to this code contact:
00028 //      Xiang Liu  <xliu@mppmu.mpg.de>
00029 //      Bernhard Schwingenheuer <B.Schwingenheuer@mpi-hd.mpg.de>
00030 // --------------------------------------------------------------
00031 // Comments
00032 //  TrackingAction body
00033 //  Date : 08-10-04
00034 // --------------------------------------------------------------
00035 //
00036 #include "management/MaGeManagementTrackingAction.hh"
00037 #include "G4TrackingManager.hh"
00038 #include "G4Track.hh"
00039 
00040 #include "gerdaio/MaGeTrajectory.hh"
00041 
00042 MaGeManagementTrackingAction::MaGeManagementTrackingAction()
00043 {;}
00044 
00045 MaGeManagementTrackingAction::~MaGeManagementTrackingAction()
00046 {;}
00047 
00048 void MaGeManagementTrackingAction::PreUserTrackingAction(const G4Track* aTrack)
00049 {
00050   fpTrackingManager->SetStoreTrajectory(true);
00051   fpTrackingManager->SetTrajectory(new MaGeTrajectory(aTrack));
00052 }
00053 

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