Commit f4eebae7 authored by Valentina Fioretti's avatar Valentina Fioretti
Browse files

Examples added

parent 1213ff9d
Loading
Loading
Loading
Loading

Doxyfile

deleted100644 → 0
+0 −185
Original line number Diff line number Diff line
# Doxyfile 1.2.13-20020210

#---------------------------------------------------------------------------
# General configuration options
#---------------------------------------------------------------------------
PROJECT_NAME           = BaseProject 
PROJECT_NUMBER         = 1.0.0
OUTPUT_DIRECTORY       = ref
OUTPUT_LANGUAGE        = English
EXTRACT_ALL            = YES
EXTRACT_PRIVATE        = YES
EXTRACT_STATIC         = YES
EXTRACT_LOCAL_CLASSES  = YES
HIDE_UNDOC_MEMBERS     = NO
HIDE_UNDOC_CLASSES     = NO
BRIEF_MEMBER_DESC      = YES
REPEAT_BRIEF           = YES
ALWAYS_DETAILED_SEC    = YES
INLINE_INHERITED_MEMB  = NO
FULL_PATH_NAMES        = NO
STRIP_FROM_PATH        = 
INTERNAL_DOCS          = YES
STRIP_CODE_COMMENTS    = YES
CASE_SENSE_NAMES       = YES
SHORT_NAMES            = NO
HIDE_SCOPE_NAMES       = NO
VERBATIM_HEADERS       = YES
SHOW_INCLUDE_FILES     = YES
JAVADOC_AUTOBRIEF      = NO
INHERIT_DOCS           = YES
INLINE_INFO            = YES
SORT_MEMBER_DOCS       = YES
DISTRIBUTE_GROUP_DOC   = NO
TAB_SIZE               = 4
GENERATE_TODOLIST      = YES
GENERATE_TESTLIST      = YES
GENERATE_BUGLIST       = YES
ALIASES                = 
ENABLED_SECTIONS       = 
MAX_INITIALIZER_LINES  = 30
OPTIMIZE_OUTPUT_FOR_C  = NO
SHOW_USED_FILES        = YES
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET                  = NO
WARNINGS               = YES
WARN_IF_UNDOCUMENTED   = NO
WARN_FORMAT            = "$file:$line: $text"
WARN_LOGFILE           = 
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT                  = code_filtered/
FILE_PATTERNS          = *.h \
                         *.hh \
                         *.H \
                         *.cpp \
						 *.cxx
RECURSIVE              = YES
EXCLUDE                = 
EXCLUDE_SYMLINKS       = NO
EXCLUDE_PATTERNS       = 
EXAMPLE_PATH           = 
EXAMPLE_PATTERNS       = 
EXAMPLE_RECURSIVE      = NO
IMAGE_PATH             = 
INPUT_FILTER           = 
FILTER_SOURCE_FILES    = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER         = NO
INLINE_SOURCES         = NO
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION    = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX     = YES
COLS_IN_ALPHA_INDEX    = 5
IGNORE_PREFIX          = 
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML          = YES
HTML_OUTPUT            = html
HTML_FILE_EXTENSION    = .html
HTML_HEADER            = 
HTML_FOOTER            = 
HTML_STYLESHEET        = 
HTML_ALIGN_MEMBERS     = YES
GENERATE_HTMLHELP      = YES
GENERATE_CHI           = YES
BINARY_TOC             = YES
TOC_EXPAND             = YES
DISABLE_INDEX          = NO
ENUM_VALUES_PER_LINE   = 4
GENERATE_TREEVIEW      = NO
TREEVIEW_WIDTH         = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX         = YES
LATEX_OUTPUT           = latex
COMPACT_LATEX          = NO
PAPER_TYPE             = a4
EXTRA_PACKAGES         = 
LATEX_HEADER           = 
PDF_HYPERLINKS         = NO
USE_PDFLATEX           = NO
LATEX_BATCHMODE        = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF           = YES
RTF_OUTPUT             = rtf
COMPACT_RTF            = NO
RTF_HYPERLINKS         = NO
RTF_STYLESHEET_FILE    = 
RTF_EXTENSIONS_FILE    = 
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN           = NO
MAN_OUTPUT             = man
MAN_EXTENSION          = .3
MAN_LINKS              = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML           = NO
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF   = YES
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor   
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING   = YES
MACRO_EXPANSION        = NO
EXPAND_ONLY_PREDEF     = NO
SEARCH_INCLUDES        = YES
INCLUDE_PATH           = 
INCLUDE_FILE_PATTERNS  = 
PREDEFINED             = 
EXPAND_AS_DEFINED      = 
SKIP_FUNCTION_MACROS   = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to external references   
#---------------------------------------------------------------------------
TAGFILES               = 
GENERATE_TAGFILE       = 
ALLEXTERNALS           = NO
EXTERNAL_GROUPS        = YES
PERL_PATH              = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool   
#---------------------------------------------------------------------------
CLASS_DIAGRAMS         = YES
HAVE_DOT               = YES
CLASS_GRAPH            = YES
COLLABORATION_GRAPH    = YES
TEMPLATE_RELATIONS     = YES
HIDE_UNDOC_RELATIONS   = YES
INCLUDE_GRAPH          = YES
INCLUDED_BY_GRAPH      = YES
GRAPHICAL_HIERARCHY    = YES
DOT_IMAGE_FORMAT       = gif
DOT_PATH               = 
DOTFILE_DIRS           = 
MAX_DOT_GRAPH_WIDTH    = 1024
MAX_DOT_GRAPH_HEIGHT   = 1024
GENERATE_LEGEND        = YES
DOT_CLEANUP            = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to the search engine   
#---------------------------------------------------------------------------
SEARCHENGINE           = NO
CGI_NAME               = search.cgi
CGI_URL                = 
DOC_URL                = 
DOC_ABSPATH            = 
BIN_ABSPATH            = /usr/local/bin/
EXT_DOC_PATHS          =
+4 −0
Original line number Diff line number Diff line
@@ -306,6 +306,10 @@ G4VPhysicalVolume* BoGEMMSGlobalMemory::ConstructWorld() {
                                   false,
                                   0);
    
    auto invis = new G4VisAttributes();
    invis->SetVisibility(false);
    World_log->SetVisAttributes(invis);

    return World_phys;
}

example_mac/dawn.mac

deleted100644 → 0
+0 −129
Original line number Diff line number Diff line
#######################################################################
#                                                                     #
#  This code implementation is the intellectual property of           #
#  the GEANT4 collaboration.                                          #
#                                                                     #
#  By copying, distributing or modifying the Program (or any work     #
#  based on the Program) you indicate your acceptance of this         #
#  statement, and all its terms.                                      #
#                                                                     #
# ******************************************************************* #
# *                                                                 * #
# *                    GEANT 4 xray_telescope advanced example      * #
# *                                                                 * #
# * MACRO:             dawn.mac                                     * #
# * ------             demostrates the DAWN DRIVER                  * #
# *                                                                 * #
# * Version:           0.6                                          * #
# * Date:              15/11/00                                     * #
# * Author:            R Nartallo                                   * #
# * Organisation:      ESA/ESTEC, Noordwijk, THe Netherlands        * #
# *                                                                 * #
# ******************************************************************* #
#                                                                     #
#  NOTES                                                              #
#  -----                                                              #
#  USAGE:  Idle> /control/execute dawn.mac                            #
#          prompt> XrayTel dawn.mac                                   #
#                                                                     #
#  REQUIRED PLATFORMS & SOFTWARE:   DAWN (version 3.85 or after)      #
#                                   Ghostview                         #
#                                                                     #
#  ENVIRONMENT VARIABLES (C-MACROS) FOR INSTALLATION:                 #
#  (See geant4/source/visualization/README for details.)              #
#                                                                     #
#    % setenv G4VIS_USE_DAWN               1                          #
#    % setenv G4VIS_USE_DAWNFILE           1                          #
#    % setenv G4VIS_BUILD_DAWN_DRIVER      1                          #
#    % setenv G4VIS_BUILD_DAWNFILE_DRIVER  1                          #
#                                                                     #
#  Addional Notes:                                                    #
#                                                                     #
#  * You may have to set the command path to the directory where      #
#    a Fukui Renderer DAWN is installed, e.g., to                     #
#    "/afs/cern.ch/sw/contrib/DAWN/3.85/bin/Linux/"                   #
#    at CERN.                                                         #
#                                                                     #
#  * Set as follows to skip DAWN GUI:                                 #
#    % setenv G4DAWNFILE_VIEWER "dawn -d"                             # 
#                                                                     #
#  * In order to make the generated PostScript file "g4_XX.eps"       #
#    printable, append the "showpage" PostScript command to the file. #
#    You can do it with the 4th page of the DAWN GUI panel            #
#    or by editing the file by hand.                                  #
#                                                                     #
#######################################################################
#                                                                     #
#   CHANGE HISTORY                                                    #
#   --------------                                                    #
#                                                                     #
#   15.11.2000 R. Nartallo                                            #
#   - Replaced standard particle gun by GPS set options               #
#                                                                     #
#   08.11.2000 R. Nartallo                                            #
#   - Modified version                                                #
#                                                                     #
#   17.10.2000 S. Tanaka                                              #
#   - First implementation                                            #
#                                                                     #
#######################################################################

# Set verbose level
/run/verbose 2

# Invoke the DAWNFILE driver
/vis/open DAWNFILE

# Create a new scene 
/vis/scene/create

# Attach the current scene handler to the current scene
/vis/sceneHandler/attach 

# Add the world volume to the current scene
/vis/scene/add/volume

# Set drawing style
/vis/viewer/set/style surface
#/vis/viewer/set/style wireframe

# Set camera
/vis/camera/reset
/vis/camera/viewpoint 25 0

# Visualize one event added to the current scene
# * Command "/vis/scene/notifyHandlers" is written in 
#   XrayTelRunAction::BeginOfRunAction()
# * Command "/vis/viwer/update" is written in 
#   XrayTelRunAction::EndOfRunAction()

# Store particle trajactories for visualization
/tracking/storeTrajectory 1

# Set to draw tracks of positively charged particles
/event/drawTracks charged

# Set General Particle Source options
/gps/particle proton
/gps/pos/type Plane
/gps/pos/shape Annulus
/gps/pos/rot1 0. 0. 1.
/gps/pos/rot2 0. 1. 0.
/gps/pos/radius 35.5 cm
/gps/pos/inner_radius 30.5 cm
/gps/pos/centre 780.1 0. 0. cm
/gps/ang/type cos
/gps/ang/maxtheta 1. deg
/gps/ene/type Mono
/gps/ene/mono 0.5 MeV

# Set number of particles and start
/run/beamOn 30000







example_mac/emlowe.mac

deleted100644 → 0
+0 −16
Original line number Diff line number Diff line
/process/activate   LowEnRayleigh   gamma
/process/activate   LowEnPhotoElec  gamma
/process/activate   LowEnCompton    gamma
/process/activate   LowEnConversion gamma

/process/inactivate phot            gamma
/process/inactivate compt           gamma
/process/inactivate conv            gamma

/process/activate   LowEnergyIoni   
/process/activate   LowEnBrem       

/process/inactivate eIoni           
/process/inactivate eBrem           

/process/list

example_mac/emstd.mac

deleted100644 → 0
+0 −16
Original line number Diff line number Diff line
/process/inactivate LowEnRayleigh   gamma
/process/inactivate LowEnPhotoElec  gamma
/process/inactivate LowEnCompton    gamma
/process/inactivate LowEnConversion gamma

/process/activate   phot            gamma
/process/activate   compt           gamma
/process/activate   conv            gamma

/process/inactivate LowEnergyIoni   
/process/inactivate LowEnBrem       

/process/activate   eIoni           
/process/activate   eBrem           

/process/list
Loading