G4TrajectoryModelFactories.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 // $Id$
00027 //
00028 // Jane Tinslay, John Allison, Joseph Perl October 2005
00029 //
00030 // Class Description:
00031 // Trajectory model factories creating trajectory models
00032 // and associated messengers
00033 // Class Description - End:
00034 
00035 #ifndef G4TRAJECTORYMODELFACTORIES_HH
00036 #define G4TRAJECTORYMODELFACTORIES_HH
00037 
00038 #include "G4VModelFactory.hh"
00039 #include "G4VTrajectoryModel.hh"
00040 
00041 namespace {
00042   typedef std::vector<G4UImessenger*> Messengers;
00043   typedef std::pair<G4VTrajectoryModel*, Messengers > ModelAndMessengers;
00044 }
00045 
00046 class G4TrajectoryDrawByAttributeFactory : public G4VModelFactory<G4VTrajectoryModel> {
00047 
00048 public: // With description
00049 
00050   G4TrajectoryDrawByAttributeFactory();
00051 
00052   virtual ~G4TrajectoryDrawByAttributeFactory();
00053   
00054   ModelAndMessengers Create(const G4String& placement, const G4String& name);
00055     
00056 };
00057 
00058 class G4TrajectoryDrawByChargeFactory : public G4VModelFactory<G4VTrajectoryModel> {
00059 
00060 public: // With description
00061 
00062   G4TrajectoryDrawByChargeFactory();
00063 
00064   virtual ~G4TrajectoryDrawByChargeFactory();
00065   
00066   ModelAndMessengers Create(const G4String& placement, const G4String& name);
00067     
00068 };
00069 
00070 class G4TrajectoryGenericDrawerFactory : public G4VModelFactory<G4VTrajectoryModel> {
00071 
00072 public: // With description
00073 
00074   G4TrajectoryGenericDrawerFactory();
00075 
00076   virtual ~G4TrajectoryGenericDrawerFactory();
00077   
00078   ModelAndMessengers Create(const G4String& placement, const G4String& name);
00079     
00080 };
00081 
00082 class G4TrajectoryDrawByParticleIDFactory : public G4VModelFactory<G4VTrajectoryModel> {
00083 
00084 public: // With description
00085 
00086   G4TrajectoryDrawByParticleIDFactory();
00087 
00088   virtual ~G4TrajectoryDrawByParticleIDFactory();
00089   
00090   ModelAndMessengers Create(const G4String& placement, const G4String& name);
00091     
00092 };
00093 
00094 class G4TrajectoryDrawByOriginVolumeFactory : public G4VModelFactory<G4VTrajectoryModel> {
00095 
00096 public: // With description
00097 
00098   G4TrajectoryDrawByOriginVolumeFactory();
00099 
00100   virtual ~G4TrajectoryDrawByOriginVolumeFactory();
00101   
00102   ModelAndMessengers Create(const G4String& placement, const G4String& name);
00103     
00104 };
00105 
00106 #endif
00107 
00108 

Generated on Mon May 27 17:50:02 2013 for Geant4 by  doxygen 1.4.7