Changeset 691 for trunk/MagicSoft
- Timestamp:
- 03/19/01 19:30:06 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
r685 r691 21 21 // 22 22 // $RCSfile: camera.cxx,v $ 23 // $Revision: 1. 19$23 // $Revision: 1.20 $ 24 24 // $Author: magicsol $ 25 // $Date: 2001-03- 05 11:14:41$25 // $Date: 2001-03-19 19:30:06 $ 26 26 // 27 27 //////////////////////////////////////////////////////////////////////// … … 442 442 //@< camera triggers 443 443 Float_t fadc_elecnoise[CAMERA_PIXELS]; //@< Electronic niose for each pixel 444 UChar_t fadc_pedestals[CAMERA_PIXELS]; //@< array for fadc pedestals values444 Float_t fadc_pedestals[CAMERA_PIXELS]; //@< array for fadc pedestals values 445 445 446 446 float ext[iNUMWAVEBANDS] = { //@< average atmospheric extinction in each waveband … … 761 761 MFadc fadc(FADC_response_ampl,FADC_response_fwhm) ; //@< A instance of the Class MFadc 762 762 763 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 764 // 763 765 // Set the FADC pedestals for that run 764 // The values of pedestal follow a flat distribution.Some modifications766 // Some modifications 765 767 // mut be done to simulate a more realistic distribution of the pedestals. 766 768 // This simualtion is done int the SetPedestals methode inside the 767 769 // class MFadc 768 fadc.SetPedestals(50); 770 // Currentlly a input_pedestal array is declared with the pedestals. 771 // Thy can also be set randomly following a flat distribution. 772 // 773 ///////////////////////////////////////////////////////////////////// 774 775 Float_t input_pedestals[CAMERA_PIXELS]; 776 777 for(i=0;i<CAMERA_PIXELS;i++) 778 input_pedestals[i]=10.5; 779 780 fadc.SetPedestals(input_pedestals); 769 781 770 782 // Prepare the raw data output … … 3215 3227 // 3216 3228 // $Log: not supported by cvs2svn $ 3229 // Revision 1.19 2001/03/05 11:14:41 magicsol 3230 // I changed the position of readinf a parameter. It is a minnor change. 3231 // 3217 3232 // Revision 1.18 2001/03/05 10:36:52 blanch 3218 3233 // A branch with information about the FADC simulation (MMcFadcHeader) is writen … … 3251 3266 // 3252 3267 // $Log: not supported by cvs2svn $ 3268 // Revision 1.19 2001/03/05 11:14:41 magicsol 3269 // I changed the position of readinf a parameter. It is a minnor change. 3270 // 3253 3271 // Revision 1.18 2001/03/05 10:36:52 blanch 3254 3272 // A branch with information about the FADC simulation (MMcFadcHeader) is writen
Note:
See TracChangeset
for help on using the changeset viewer.