SISCone  2.0.5
examples/options.h
00001 
00002 // File: options.h                                                           //
00003 // Description: management of the cmdline options of the main program        //
00004 // This file is part of the SISCone project.                                 //
00005 // For more details, see http://projects.hepforge.org/siscone                //
00006 //                                                                           //
00007 // Copyright (c) 2006 Gavin Salam and Gregory Soyez                          //
00008 //                                                                           //
00009 // This program is free software; you can redistribute it and/or modify      //
00010 // it under the terms of the GNU General Public License as published by      //
00011 // the Free Software Foundation; either version 2 of the License, or         //
00012 // (at your option) any later version.                                       //
00013 //                                                                           //
00014 // This program is distributed in the hope that it will be useful,           //
00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of            //
00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             //
00017 // GNU General Public License for more details.                              //
00018 //                                                                           //
00019 // You should have received a copy of the GNU General Public License         //
00020 // along with this program; if not, write to the Free Software               //
00021 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA //
00022 //                                                                           //
00023 // $Revision:: 180                                                          $//
00024 // $Date:: 2007-10-03 19:21:19 +0200 (Wed, 03 Oct 2007)                     $//
00026 
00027 #ifndef __OPTIONS_H__
00028 #define __OPTIONS_H__
00029 
00030 #include "siscone/siscone.h"
00031 
00037 class Coptions{
00038  public:
00040   Coptions();
00041 
00043   ~Coptions();
00044 
00049   int parse_options(int argc, char **argv);
00050 
00052   int print_help();
00053 
00055   int print_version();
00056 
00057   // flags
00058   int help_flag;     
00059   int version_flag;  
00060   int verbose_flag;  
00061 
00062   // options
00063   int N_stop;        
00064   double R;          
00065   double f;          
00066   double ptmin;      
00067   char *ev_name;     
00068   int npass;         
00069 
00071   siscone::Esplit_merge_scale SM_var;
00072 };
00073 
00074 #endif
The SISCone project has been developed by Gavin Salam and Gregory Soyez
Documentation generated on Mon Jun 4 2012 18:23:38 for SISCone by  Doxygen 1.7.6.1