Changeset 2418


Ignore:
Timestamp:
10/21/03 08:42:50 (21 years ago)
Author:
blanch
Message:
A factor 2.35 to transform the fwhm into the sigma of gaussian was missing
in the storing of FADC single hpe pulse determination.
File:
1 edited

Legend:

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

    r2389 r2418  
    2121//
    2222// $RCSfile: camera.cxx,v $
    23 // $Revision: 1.63 $
     23// $Revision: 1.64 $
    2424// $Author: blanch $
    25 // $Date: 2003-10-17 19:38:31 $
     25// $Date: 2003-10-21 07:42:50 $
    2626//
    2727////////////////////////////////////////////////////////////////////////
     
    11481148
    11491149    HeaderFadc[0]->SetShape(0.0);
    1150     HeaderFadc[0]->SetAmplitud(FADC_response_ampl/
     1150    HeaderFadc[0]->SetAmplitud(FADC_response_ampl*2.35/
    11511151                               sqrt(2*M_PI*FADC_response_fwhm
    11521152                                    *FADC_response_fwhm),
    1153                                FADC_resp_ampl_out/
     1153                               FADC_resp_ampl_out*2.35/
    11541154                               sqrt(2*M_PI*FADC_resp_fwhm_out
    11551155                                    *FADC_resp_fwhm_out));
     
    11651165      Fadc_CT[i]->GetPedestals(&fadc_pedestals[0]);
    11661166      HeaderFadc[i]->SetShape(0.0);
    1167       HeaderFadc[i]->SetAmplitud(FADC_response_ampl/
     1167      HeaderFadc[i]->SetAmplitud(FADC_response_ampl*2.35/
    11681168                                 sqrt(2*M_PI*FADC_response_fwhm
    11691169                                      *FADC_response_fwhm),
    1170                                  FADC_resp_ampl_out/
     1170                                 FADC_resp_ampl_out*2.35/
    11711171                                 sqrt(2*M_PI*FADC_resp_fwhm_out
    11721172                                      *FADC_resp_fwhm_out));
     
    11841184          Fadc_CT[0]->GetPedestals(&fadc_pedestals[0]);
    11851185          HeaderFadc[iconcount]->SetShape(0.0);
    1186           HeaderFadc[iconcount]->SetAmplitud(FADC_response_ampl/
     1186          HeaderFadc[iconcount]->SetAmplitud(FADC_response_ampl*2.35/
    11871187                                             sqrt(2*M_PI*FADC_response_fwhm
    11881188                                                  *FADC_response_fwhm),
    1189                                              FADC_resp_ampl_out/
     1189                                             FADC_resp_ampl_out*2.35/
    11901190                                             sqrt(2*M_PI*FADC_resp_fwhm_out
    11911191                                                  *FADC_resp_fwhm_out));
     
    41574157//
    41584158// $Log: not supported by cvs2svn $
     4159// Revision 1.63  2003/10/17 19:38:31  blanch
     4160// Now the camera program will stop if a undefined Geometry is required.
     4161// The NSB is internally scaled for any camera geometry and qe.
     4162// The seeds in the input card are used to initilize the random numbers.
     4163// The Amplitud stored in the MMcFadcHeader is the amplitud of the sphe reponse.
     4164// The Pedestal rms is simualted in a artificail empty event.
     4165//
    41594166// Revision 1.62  2003/09/26 11:25:07  blanch
    41604167// Modification to be able to read MGeomCam branch for any Geometry.
Note: See TracChangeset for help on using the changeset viewer.