Changeset 1239 for trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
- Timestamp:
- 03/13/02 18:13:56 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
r1233 r1239 21 21 // 22 22 // $RCSfile: camera.cxx,v $ 23 // $Revision: 1.3 3$23 // $Revision: 1.34 $ 24 24 // $Author: blanch $ 25 // $Date: 2002-03- 04 17:21:48$25 // $Date: 2002-03-13 18:13:56 $ 26 26 // 27 27 //////////////////////////////////////////////////////////////////////// … … 1775 1775 //<@ Finally we should fill th McRunHeader 1776 1776 1777 Float_t heights[10]; 1778 time_t ltime; 1779 Float_t ftime; 1780 Float_t rnum; 1777 1781 1778 1782 get_starfield_center(&sfRaH,&sfRaM,&sfRaS,&sfDeD,&sfDeM,&sfDeS); … … 1781 1785 mcevth.get_theta_range(&shthetamin, &shthetamax); 1782 1786 mcevth.get_phi_range(&shphimin,&shphimax); 1783 corsika= get_corsika_ver();1787 corsika=UInt_t(mcevth.get_VersionPGM()*1000); 1784 1788 if(!Trigger_Loop) icontrigger=0; 1785 McRunHeader->Fill(icontrigger, 1786 !Write_All_Images, 1787 Write_McEvt, 1788 Write_McTrig, 1789 Write_McFADC, 1790 CAMERA_PIXELS, 1791 (UInt_t)ntshow, 1792 (UInt_t)ntrigger, 1793 sfRaH, 1794 sfRaM, 1795 sfRaS, 1796 sfDeD, 1797 sfDeM, 1798 sfDeS, 1799 meanNSB, 1800 telestheta, 1801 telesphi, 1802 sofftheta, 1803 soffphi, 1804 shthetamax, 1805 shthetamin, 1806 shphimax, 1807 shphimin, 1808 corsika, 1809 (UInt_t)(REFL_VERSION*100), 1810 (UInt_t)(VERSION*100)); 1811 1789 time (<ime); 1790 ftime = ((Float_t)ltime)/1000; 1791 for (int i=0; i< 10;i++) 1792 heights[i]=mcevth.get_HeightLev (i); 1793 rnum=mcevth.get_RunNumber(); 1794 1795 McRunHeader->Fill(rnum, 1796 (UInt_t) 1, 1797 mcevth.get_DateRun(), 1798 ftime, 1799 icontrigger, 1800 !Write_All_Images, 1801 Write_McEvt, 1802 Write_McTrig, 1803 Write_McFADC, 1804 Write_RawEvt, 1805 addElecNoise, 1806 CAMERA_PIXELS, 1807 (UInt_t)ntshow, 1808 (UInt_t)ntrigger, 1809 0, 1810 sfRaH, 1811 sfRaM, 1812 sfRaS, 1813 sfDeD, 1814 sfDeM, 1815 sfDeS, 1816 meanNSB, 1817 telestheta, 1818 telesphi, 1819 sofftheta, 1820 soffphi, 1821 shthetamax, 1822 shthetamin, 1823 shphimax, 1824 shphimin, 1825 mcevth.get_CWaveLower(), 1826 mcevth.get_CWaveUpper(), 1827 mcevth.get_slope(), 1828 mcevth.get_NumObsLev(), 1829 heights, 1830 corsika, 1831 (UInt_t)(REFL_VERSION*100), 1832 (UInt_t)(VERSION*100)); 1833 1812 1834 // Fill the Header Tree with the current leaves of each branch 1813 1835 HeaderTree.Fill() ; … … 1820 1842 outfile_temp.Close() ; 1821 1843 1822 1823 1844 // close input file 1824 1845 … … 3348 3369 // 3349 3370 // $Log: not supported by cvs2svn $ 3371 // Revision 1.33 2002/03/04 17:21:48 blanch 3372 // Small and not important changes. 3373 // 3350 3374 // Revision 1.32 2002/02/28 15:04:52 blanch 3351 3375 // A small back has been solved. Before, while not using the option … … 3448 3472 // 3449 3473 // $Log: not supported by cvs2svn $ 3474 // Revision 1.33 2002/03/04 17:21:48 blanch 3475 // Small and not important changes. 3476 // 3450 3477 // Revision 1.32 2002/02/28 15:04:52 blanch 3451 3478 // A small back has been solved. Before, while not using the option
Note:
See TracChangeset
for help on using the changeset viewer.