Commit b2ed3f254233d223dcd40a72cac6729d454010a2

Authored by Jürgen Knödlseder
1 parent 6236e1d8

Only save a single background histogram

Showing 1 changed file with 1 additions and 5 deletions
scripts/cta_root2caldb.py
@@ -1363,7 +1363,6 @@ class caldb(): @@ -1363,7 +1363,6 @@ class caldb():
1363 histograms are used: 1363 histograms are used:
1364 1364
1365 BGRatePerSqDeg_offaxis -> BGD 1365 BGRatePerSqDeg_offaxis -> BGD
1366 - BGRatePerSqDeg_offaxis -> BGD_RECO  
1367 1366
1368 Parameters: 1367 Parameters:
1369 file - ROOT file. 1368 file - ROOT file.
@@ -1384,11 +1383,8 @@ class caldb(): @@ -1384,11 +1383,8 @@ class caldb():
1384 self.set_cif_keywords(self.hdu_bgd, self.bgd_name, \ 1383 self.set_cif_keywords(self.hdu_bgd, self.bgd_name, \
1385 self.bgd_bounds, self.bgd_desc) 1384 self.bgd_bounds, self.bgd_desc)
1386 1385
1387 - # BGD 1386 + # BGD (reconstructed energy)
1388 self.make_3D(array, self.hdu_bgd, "BGD", "1/s/MeV/sr", scale=bgdscale) 1387 self.make_3D(array, self.hdu_bgd, "BGD", "1/s/MeV/sr", scale=bgdscale)
1389 -  
1390 - # BGD_RECO  
1391 - self.make_3D(array, self.hdu_bgd, "BGD_RECO", "1/s/MeV/sr", scale=bgdscale)  
1392 1388
1393 # Return 1389 # Return
1394 return 1390 return