Ignore:
Timestamp:
02/17/05 09:15:28 (20 years ago)
Author:
moralejo
Message:
Set as default option that of writing all event headers to output file,
not only those of the triggered events. To disable it, set the input card
flag "no_write_all_event_headers".

Changed such that output images for events below the minimum number of
photoelectrons nphe2NSB required to simulate the noise (NSB & electronic)
will be empty. This will avoid the problem of these events being processed,
without any noise, later in the chain. Although those images are not in the
output, one can still check in the headers (MMcTrig) how many such events
with less than nphe2NSB photoelectrons would have triggered.
File:
1 edited

Legend:

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

    r6365 r6560  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.36 $
     21//= $Revision: 1.37 $
    2222//= $Author: moralejo $
    23 //= $Date: 2005-02-10 19:28:10 $
     23//= $Date: 2005-02-17 09:15:28 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    6262static int nSkip=0;
    6363static int Data_From_STDIN = FALSE;
    64 static int Write_All_Event_Headers = FALSE;
     64static int Write_All_Event_Headers = TRUE;
    6565static int Write_McEvt  = TRUE;
    6666static int Write_McTrig = FALSE;
     
    424424      break;
    425425
    426     case write_all_event_headers:  //@< to write ALL the event headers
     426    case no_write_all_event_headers:  //@< to write ALL the event headers
    427427         
    428428      // change boolean value
    429       Write_All_Event_Headers = TRUE;
     429      Write_All_Event_Headers = FALSE;
    430430
    431431      break;
     
    14451445//
    14461446// $Log: not supported by cvs2svn $
     1447// Revision 1.36  2005/02/10 19:28:10  moralejo
     1448//
     1449// Substituted input card option "write_all_events" by
     1450// "write_all_event_headers". If set, this will make camera to write out
     1451// the event headers of all the processed events, no matter whether they
     1452// have triggered or not.
     1453//
    14471454// Revision 1.35  2004/12/15 01:56:39  MAGIC
    14481455//
Note: See TracChangeset for help on using the changeset viewer.