G4HnInformation.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 // Author: Ivana Hrivnacova, 04/07/2012  (ivana@ipno.in2p3.fr)
00029 
00030 #ifndef G4HnInformation_h
00031 #define G4HnInformation_h 1
00032 
00033 #include "globals.hh"
00034 #include "G4Fcn.hh" 
00035 
00036 struct G4HnInformation
00037 {
00038   G4HnInformation() 
00039     : fName(""), 
00040       fXUnitName("none"), 
00041       fYUnitName("none"), 
00042       fXFcnName("none"),
00043       fYFcnName("none"),
00044       fXUnit(1.0), 
00045       fYUnit(1.0), 
00046       fXFcn(G4FcnIdentity),
00047       fYFcn(G4FcnIdentity),
00048       fActivation(true),
00049       fAscii(false)
00050        {}
00051 
00052   G4HnInformation(const G4String& name, 
00053                   const G4String& xunitName, const G4String& yunitName,
00054                   const G4String& fxName, const G4String& fyName,
00055                   G4double xunit, G4double yunit,
00056                   G4Fcn fx, G4Fcn fy) 
00057     : fName(name),  
00058       fXUnitName(xunitName), 
00059       fYUnitName(yunitName), 
00060       fXFcnName(fxName),
00061       fYFcnName(fyName),
00062       fXUnit(xunit), 
00063       fYUnit(yunit), 
00064       fXFcn(fx),
00065       fYFcn(fy),
00066       fActivation(true),
00067       fAscii(false)
00068        {}
00069 
00070   G4String fName;
00071   G4String fXUnitName;
00072   G4String fYUnitName;
00073   G4String fXFcnName;
00074   G4String fYFcnName;
00075   G4double fXUnit;  
00076   G4double fYUnit;
00077   G4Fcn    fXFcn;
00078   G4Fcn    fYFcn;
00079   G4bool   fActivation;
00080   G4bool   fAscii;
00081 };
00082 
00083 #endif  

Generated on Mon May 27 17:48:32 2013 for Geant4 by  doxygen 1.4.7