Changeset 1420


Ignore:
Timestamp:
07/16/02 17:20:59 (22 years ago)
Author:
blanch
Message:
Modifications done for the camera.cxx version, where a first implementation
of the Star Field Rotation has been introduced.
Location:
trunk/MagicSoft/Simulation/Detector/Camera
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/Camera/camera.h

    r1257 r1420  
    1919//=
    2020//= $RCSfile: camera.h,v $
    21 //= $Revision: 1.7 $
     21//= $Revision: 1.8 $
    2222//= $Author: blanch $
    23 //= $Date: 2002-03-15 16:06:53 $
     23//= $Date: 2002-07-16 16:20:23 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    287287                  int *incph,    // total number of cph read
    288288                  float *tmin_ns,   // minimum arrival time of all phes
    289                   float *tmax_ns    // maximum arrival time of all phes
    290                   );
     289                  float *tmax_ns,    // maximum arrival time of all phes
     290                  int star   //  0 if the photon provides the starfield -1 doesn't provide of the starfield
     291                   );
    291292
    292293int produce_nsbrates( char *inname,
     
    317318/*
    318319 *$Log: not supported by cvs2svn $
     320 *Revision 1.7  2002/03/15 16:06:53  blanch
     321 *Library time.h has been added.
     322 *
    319323 *Revision 1.6  2001/04/09 14:39:47  magicsol
    320324 *Flag that indicates version of reflector format to read: REFL_VERSION has
  • trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx

    r1253 r1420  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.16 $
     21//= $Revision: 1.17 $
    2222//= $Author: blanch $
    23 //= $Date: 2002-03-15 15:17:18 $
     23//= $Date: 2002-07-16 16:20:41 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    7777static char CT_filename[PATH_MAX_LENGTH];     //@< name of the CT def. file
    7878static char NSB_directory[PATH_MAX_LENGTH];   //@< database for NSB
     79static int  Starfield_rotate = FALSE;         //@< switch on starfield rotation
    7980static int ElecNoise = TRUE;                  //@< Will we add ElecNoise?
    8081static float FADC_Noise = 2.0;                //@< Value for FADC ElecNoise
     
    283284      break;
    284285
     286    case sfr_on:              //@< simulate starfield rotation?
     287         
     288      // we will simulate Starfield rotation
     289      Starfield_rotate = TRUE;
     290         
     291      break;
     292
     293
    285294    case nsb_on:              //@< simulate NSB?
    286295         
     
    634643    *ds=Starfield_center[5];
    635644}
    636 //!@}
    637 
     645//!-----------------------------------------------------------
     646// @name get_starfield_rotate
     647//
     648// @Starfield_rotate
     649//
     650// @return   
     651//
     652//------------------------------------------------------------
     653// @function
     654
     655//!@{
     656int 
     657get_starfield_rotate(void)
     658{
     659    return(Starfield_rotate);
     660}
     661
     662
     663//!@}
    638664//!-----------------------------------------------------------
    639665// @name get_data_filename
     
    13461372//
    13471373// $Log: not supported by cvs2svn $
     1374// Revision 1.16  2002/03/15 15:17:18  blanch
     1375// Several modification needed to simulate the actual trigger zone.
     1376//
    13481377// Revision 1.15  2002/03/04 17:15:51  blanch
    13491378// An item, which allows to switch off the storage of the RawEvt, has been
  • trunk/MagicSoft/Simulation/Detector/Camera/creadparam.h

    r1254 r1420  
    1919//=
    2020//= $RCSfile: creadparam.h,v $
    21 //= $Revision: 1.14 $
     21//= $Revision: 1.15 $
    2222//= $Author: blanch $
    23 //= $Date: 2002-03-15 15:17:57 $
     23//= $Date: 2002-07-16 16:20:59 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    158158T(fadc_noise),      /* ElecNoise for FADC */\
    159159T(trig_noise),      /* ElecNoise for trigger */\
     160T(sfr_on),          /* starfield rotation */  \
    160161T(nsb_on),          /* activates NSB simulation */ \
    161162T(nsb_off),         /* de-activates NSB simulation */ \
     
    232233char *get_starfield_filename(void);
    233234void get_starfield_center(int *rh,int *rm,int *rs,int *dd,int *dm,int *ds);
     235int get_starfield_rotate(void);
    234236char *get_data_filename(void);
    235237char *get_root_filename(void);
     
    285287/*
    286288 * $Log: not supported by cvs2svn $
     289 * Revision 1.14  2002/03/15 15:17:57  blanch
     290 * Header file for creadparam.cxx v 1.16
     291 *
    287292 * Revision 1.13  2002/03/04 17:20:50  blanch
    288293 * Header file for creadparam.cxx 1.15
Note: See TracChangeset for help on using the changeset viewer.