Changeset 3300 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 02/25/04 14:13:12 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/ONOFFAnalysis.C
r3296 r3300 371 371 outNameImage += "Hillas"; 372 372 outNameImage += typeInput; 373 outNameImage += "1 b.root";373 outNameImage += "1e.root"; 374 374 gLog << "padded data to be written onto : " << outNameImage << endl; 375 375 … … 766 766 MWriteRootFile write(outNameImage); 767 767 768 write.AddContainer("MRawRunHeader", "RunHeaders");768 //write.AddContainer("MRawRunHeader", "RunHeaders"); 769 769 //write.AddContainer("MMcRunHeader", "RunHeaders", kFALSE); 770 770 //write.AddContainer("MTime", "Events"); … … 1820 1820 // file to be updated (either ON or MC) 1821 1821 1822 TString typeInput = "ON";1823 //TString typeInput = "OFF";1822 //TString typeInput = "ON"; 1823 TString typeInput = "OFF"; 1824 1824 //TString typeInput = "MC"; 1825 1825 gLog << "typeInput = " << typeInput << endl; 1826 1826 1827 if (typeInput == "ON") 1828 TString file(onfile); 1829 else if (typeInput == "OFF") 1830 TString file(offfile); 1831 else if (typeInput == "MC") 1832 TString file(mcfile); 1833 1827 1834 // name of input root file 1828 1835 TString filenameData = outPath; 1829 filenameData += onfile;1836 filenameData += file; 1830 1837 filenameData += "Hillas"; 1831 1838 filenameData += typeInput; 1832 filenameData += "1 b.root";1839 filenameData += "1c.root"; 1833 1840 gLog << "filenameData = " << filenameData << endl; 1834 1841 1835 1842 // name of output root file 1836 1843 TString outNameImage = outPath; 1837 outNameImage += onfile;1844 outNameImage += file; 1838 1845 outNameImage += "Hillas"; 1839 1846 outNameImage += typeInput; 1840 outNameImage += "2 b.root";1847 outNameImage += "2c.root"; 1841 1848 1842 1849
Note:
See TracChangeset
for help on using the changeset viewer.