Changeset 384 for trunk


Ignore:
Timestamp:
03/24/00 18:14:05 (25 years ago)
Author:
blanch
Message:
Parameters that tell as if we are going to see the diskriminator and/or FADC signal have been included.
File:
1 edited

Legend:

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

    r367 r384  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.2 $
    22 //= $Author: petry $
    23 //= $Date: 2000-02-18 17:45:43 $
     21//= $Revision: 1.3 $
     22//= $Author: blanch $
     23//= $Date: 2000-03-24 18:14:05 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    8888static int Read_Phe_All = FALSE;
    8989static int Write_All_Images = FALSE;
     90static int Write_McEvt  = TRUE;
     91static int Write_McTrig = FALSE;
     92static int Write_RawEvt = FALSE;
    9093static int Write_All_Data = FALSE;
    9194static int Select_Energy = TRUE;
     
    9699static float fCorrection;
    97100static int Apply_Correction=FALSE;
     101static int Trigger_Scan = FALSE;
     102static int FADC_Scan = FALSE;
    98103//!@}
    99104
     
    329334      break;
    330335
     336    case nowrite_McEvt:    //@< do not write the McEvt info
     337         
     338      // change boolean value
     339      Write_McEvt = FALSE;
     340
     341      break;
     342
     343    case write_McTrig:    //@< to write the McTrig info
     344         
     345      // change boolean value
     346      Write_McTrig = TRUE;
     347
     348      break;
     349
     350    case write_RawEvt:    //@< to write the RawEvt data
     351         
     352      // change boolean value
     353      Write_RawEvt = TRUE;
     354
     355      break;
     356
    331357    case write_all_data:      //@< to write single pixel data
    332358         
     
    360386      break;
    361387
     388    case fadc_scan:
     389
     390      // change boolean value
     391      FADC_Scan = TRUE;
     392
     393      break;
     394
     395    case trigger_scan:
     396
     397      // change boolean value
     398      Trigger_Scan = TRUE;
     399
     400      break;
     401
    362402    case end_file:            //@< end of the parameters file
    363403
     
    764804//!@}
    765805
     806//!-----------------------------------------------------------
     807// @name write_McEvt
     808//                                               
     809// @desc write the McEvt class for each event to the .root file
     810//
     811// @return  TRUE: we'll write it;  FALSE: we won't
     812//
     813//------------------------------------------------------------
     814// @function
     815
     816//!@{
     817int
     818get_write_McEvt(void)
     819{
     820  return ( Write_McEvt );
     821}
     822//!@}
     823
     824//!-----------------------------------------------------------
     825// @name write_McTrig
     826//                                               
     827// @desc write the McTrig class for each event to the .root file
     828//
     829// @return  TRUE: we'll write it;  FALSE: we won't
     830//
     831//------------------------------------------------------------
     832// @function
     833 
     834//!@{
     835int
     836get_write_McTrig(void)
     837{
     838  return ( Write_McTrig );
     839}
     840//!@}
     841
     842//!-----------------------------------------------------------
     843// @name write_RawEvt
     844//                                               
     845// @desc write the RawEvt class for each event to the .root file
     846//
     847// @return  TRUE: we'll write it;  FALSE: we won't
     848//
     849//------------------------------------------------------------
     850// @function
     851
     852//!@{
     853int
     854get_write_RawEvt(void)
     855{
     856  return ( Write_RawEvt );
     857}
     858//!@}
    766859
    767860//!-----------------------------------------------------------
     
    828921  return ( Apply_Correction );
    829922}
     923
     924//!@}
     925//!-----------------------------------------------------------
     926// @name FADC_Scan
     927//                                               
     928// @desc write the FADC_Scan class for each event to the .root file
     929//
     930// @return  TRUE: we'll write it;  FALSE: we won't
     931//
     932//------------------------------------------------------------
     933// @function
     934
     935//!@{
     936int
     937get_FADC_Scan(void)
     938{
     939  return ( FADC_Scan );
     940}
     941//!@}
     942//!@}
     943//!-----------------------------------------------------------
     944// @name Trigger_Scan
     945//                                               
     946// @desc write the Trigger_Scan class for each event to the .root file
     947//
     948// @return  TRUE: we'll write it;  FALSE: we won't
     949//
     950//------------------------------------------------------------
     951// @function
     952
     953//!@{
     954int
     955get_Trigger_Scan(void)
     956{
     957  return ( Trigger_Scan );
     958}
    830959//!@}
    831960
     
    837966//
    838967// $Log: not supported by cvs2svn $
     968// Revision 1.2  2000/02/18 17:45:43  petry
     969// This version belongs to camera.cxx 1.5.
     970// It has been put in the repository in order to be
     971// able to share the further development with others.
     972//
     973// If you need something working, wait or take an earlier one.
     974// See file README
     975//
    839976// Revision 1.1.1.1  1999/11/05 11:59:34  harald
    840977// This the starting point for CVS controlled further developments of the
Note: See TracChangeset for help on using the changeset viewer.