Ignore:
Timestamp:
09/23/03 17:52:07 (21 years ago)
Author:
blanch
Message:
We do not read ct_file anymore.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx

    r2336 r2353  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.21 $
     21//= $Revision: 1.22 $
    2222//= $Author: blanch $
    23 //= $Date: 2003-09-15 10:17:09 $
     23//= $Date: 2003-09-23 16:52:07 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    7575static char ROOT_filename[PATH_MAX_LENGTH];   //@< data filename
    7676static char Loop_filename[PATH_MAX_LENGTH];   //@< special data filename
    77 static char CT_filename[PATH_MAX_LENGTH];     //@< name of the CT def. file
    7877static int  CT_geometry = 0;                  //@< CT camera geometry
    7978static int  CT_number = 1;                    //@< Number of CT
     
    172171  strcpy(sign, line);
    173172  cout<< '"' << sign << '"' << '\n';
    174   cout<< "should be: " << SIGNATURE << '\n';
    175173  if (strcmp(sign, SIGNATURE) != 0) {
    176174    cerr << "ERROR: Signature of parameters file is not correct\n";
     
    264262      break;
    265263
    266     case ct_file:             //@< name of the telescope file
    267          
    268       // get the name of the ct_file from the line
    269       sscanf(line, "%s %s", token, CT_filename);
    270 
    271       break;
    272 
    273264    case qe_file:             //@< name of the telescope file
    274265         
     
    697688{
    698689  return (Loop_filename);
    699 }
    700 
    701 //!-----------------------------------------------------------
    702 // @name get_ct_filename
    703 //                                               
    704 // @desc get name of CT definition file
    705 //
    706 // @return   Name of the CT definition file
    707 //
    708 // @date Mon Sep 14 13:27:56 MET DST 1998
    709 //------------------------------------------------------------
    710 // @function
    711 
    712 //!@{
    713 char *
    714 get_ct_filename(void)
    715 {
    716   return (CT_filename);
    717690}
    718691//!@}
     
    13161289//
    13171290// $Log: not supported by cvs2svn $
     1291// Revision 1.21  2003/09/15 10:17:09  blanch
     1292// Some modifications in the input card has been done for the multitelescope
     1293// configuration.
     1294//
    13181295// Revision 1.20  2003/07/17 18:04:53  blanch
    13191296// Some new parameters to be read have been introduced
Note: See TracChangeset for help on using the changeset viewer.