Ignore:
Timestamp:
02/10/05 19:28:10 (20 years ago)
Author:
moralejo
Message:
Substituted input card option "write_all_events" by
"write_all_event_headers". If set, this will make camera to write out
the event headers of all the processed events, no matter whether they
have triggered or not.
File:
1 edited

Legend:

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

    r5600 r6365  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.35 $
    22 //= $Author: MAGIC $
    23 //= $Date: 2004-12-15 01:56:39 $
     21//= $Revision: 1.36 $
     22//= $Author: moralejo $
     23//= $Date: 2005-02-10 19:28:10 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    6262static int nSkip=0;
    6363static int Data_From_STDIN = FALSE;
    64 static int Write_All_Images = FALSE;
     64static int Write_All_Event_Headers = FALSE;
    6565static int Write_McEvt  = TRUE;
    6666static int Write_McTrig = FALSE;
     
    424424      break;
    425425
    426     case write_all_events:    //@< to write ALL the images
     426    case write_all_event_headers:  //@< to write ALL the event headers
    427427         
    428428      // change boolean value
    429       Write_All_Images = TRUE;
     429      Write_All_Event_Headers = TRUE;
    430430
    431431      break;
     
    10921092
    10931093//!-----------------------------------------------------------
    1094 // @name write_all_events
    1095 //                                               
    1096 // @desc write all images to .phe, even those without trigger
     1094// @name write_all_event_headers
     1095//                                               
     1096// @desc write all event headers to output, even those without
     1097// trigger
    10971098//
    10981099// @return  TRUE: we'll write everything; FALSE: we won't
     
    11041105//!@{
    11051106int
    1106 get_write_all_events(void)
    1107 {
    1108   return ( Write_All_Images );
     1107get_write_all_event_headers(void)
     1108{
     1109  return ( Write_All_Event_Headers );
    11091110}
    11101111//!@}
     
    14441445//
    14451446// $Log: not supported by cvs2svn $
     1447// Revision 1.35  2004/12/15 01:56:39  MAGIC
     1448//
     1449//  Added input card option pmt_jitter_ns to simulate the time jitter of
     1450//  PMTs. The input parameter is the sigma of a gaussian, which by
     1451//  default is sigma=0.25 ns. This jitter is applied to each phe-
     1452//  independently. We have not applied this to the NSB noise, since the
     1453//  arrival time of NSB photons is random and nothing would change.
     1454//
    14461455// Revision 1.34  2004/11/17 11:36:07  moralejo
    14471456// *** empty log message ***
Note: See TracChangeset for help on using the changeset viewer.