diff --git a/DataQuality/DataQualityTools/src/DQTDetSynchMonAlg.cxx b/DataQuality/DataQualityTools/src/DQTDetSynchMonAlg.cxx index 73fb2a17bf24be595a5540f2a2f15ef768e86aca..4c7a007417d597fc439b8e4e023e2b93bfe48041 100644 --- a/DataQuality/DataQualityTools/src/DQTDetSynchMonAlg.cxx +++ b/DataQuality/DataQualityTools/src/DQTDetSynchMonAlg.cxx @@ -28,12 +28,6 @@ #include "TProfile.h" #include "AthenaMonitoringKernel/Monitored.h" -#if ROOT_VERSION_CODE >= ROOT_VERSION(6,0,0) -# define CAN_REBIN(hist) hist->SetCanExtend(TH1::kAllAxes) -#else -# define CAN_REBIN(hist) hist->SetBit(TH1::kCanRebin) -#endif - //---------------------------------------------------------------------------------- DQTDetSynchMonAlg::DQTDetSynchMonAlg( const std::string& name, ISvcLocator* pSvcLocator ) diff --git a/DataQuality/DataQualityTools/src/DQTDetSynchMonTool.cxx b/DataQuality/DataQualityTools/src/DQTDetSynchMonTool.cxx index 52a02adc5053fd507dbe6b9961e96e20c01bdda7..6eaf4893e62d7eab0ee8fb8ee6ed0f406f8df3c4 100644 --- a/DataQuality/DataQualityTools/src/DQTDetSynchMonTool.cxx +++ b/DataQuality/DataQualityTools/src/DQTDetSynchMonTool.cxx @@ -26,12 +26,6 @@ #include "TProfile.h" -#if ROOT_VERSION_CODE >= ROOT_VERSION(6,0,0) -# define CAN_REBIN(hist) hist->SetCanExtend(TH1::kAllAxes) -#else -# define CAN_REBIN(hist) hist->SetBit(TH1::kCanRebin) -#endif - //---------------------------------------------------------------------------------- DQTDetSynchMonTool::DQTDetSynchMonTool(const std::string & type, const std::string & name, @@ -324,12 +318,12 @@ bool DQTDetSynchMonTool::bookBCID() failure = failure |registerHist(fullPathBCID, m_diff_CTP_Tile_BCID_lumi = new TProfile("m_diff_CTP_Tile_BCID_lumi", "BCID difference between CTP and Tile detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096 )).isFailure(); failure = failure |registerHist(fullPathBCID, m_diff_CTP_RPC_BCID_lumi = new TProfile("m_diff_CTP_RPC_BCID_lumi", "BCID difference between CTP and RPC detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096)).isFailure(); failure = failure |registerHist(fullPathBCID, m_diff_CTP_Pixel_BCID_lumi = new TProfile("m_diff_CTP_Pixel_BCID_lumi", "BCID difference between CTP and Pixel detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096)).isFailure(); - CAN_REBIN(m_diff_CTP_RPC_BCID_lumi); - CAN_REBIN(m_diff_CTP_SCT_BCID_lumi); - CAN_REBIN(m_diff_CTP_TRT_BCID_lumi); - CAN_REBIN(m_diff_CTP_LAR_BCID_lumi); - CAN_REBIN(m_diff_CTP_Tile_BCID_lumi); - CAN_REBIN(m_diff_CTP_Pixel_BCID_lumi); + m_diff_CTP_RPC_BCID_lumi->SetCanExtend(TH1::kAllAxes); + m_diff_CTP_SCT_BCID_lumi->SetCanExtend(TH1::kAllAxes); + m_diff_CTP_TRT_BCID_lumi->SetCanExtend(TH1::kAllAxes); + m_diff_CTP_LAR_BCID_lumi->SetCanExtend(TH1::kAllAxes); + m_diff_CTP_Tile_BCID_lumi->SetCanExtend(TH1::kAllAxes); + m_diff_CTP_Pixel_BCID_lumi->SetCanExtend(TH1::kAllAxes); } // Booking subdetectors BCID differences @@ -362,55 +356,55 @@ bool DQTDetSynchMonTool::bookBCID() // Booking subdetectors BCID differences wrt CTP in resizable histograms failure = failure |registerHist(fullPathBCID, m_diff_CTP_SCT_BCID_Rebin = new TH1I("m_diff_CTP_SCT_BCID_Rebin", "BCID difference between CTP and SCT detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_CTP_SCT_BCID_Rebin); + m_diff_CTP_SCT_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_CTP_TRT_BCID_Rebin = new TH1I("m_diff_CTP_TRT_BCID_Rebin", "BCID difference between CTP and TRT detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_CTP_TRT_BCID_Rebin); + m_diff_CTP_TRT_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_CTP_LAR_BCID_Rebin = new TH1I("m_diff_CTP_LAR_BCID_Rebin", "BCID difference between CTP and LAR detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_CTP_LAR_BCID_Rebin); + m_diff_CTP_LAR_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_CTP_Tile_BCID_Rebin = new TH1I("m_diff_CTP_Tile_BCID_Rebin", "BCID difference between CTP and Tile detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_CTP_Tile_BCID_Rebin); + m_diff_CTP_Tile_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_CTP_RPC_BCID_Rebin = new TH1I("m_diff_CTP_RPC_BCID_Rebin", "BCID difference between CTP and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_CTP_RPC_BCID_Rebin); + m_diff_CTP_RPC_BCID_Rebin->SetCanExtend(TH1::kAllAxes); // Booking subdetectors BCID differences in resizable histograms, these were missing failure = failure |registerHist(fullPathBCID, m_diff_SCT_TRT_BCID_Rebin = new TH1I("m_diff_SCT_TRT_BCID_Rebin", "BCID difference between SCT and TRT detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_SCT_TRT_BCID_Rebin); + m_diff_SCT_TRT_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_SCT_LAR_BCID_Rebin = new TH1I("m_diff_SCT_LAR_BCID_Rebin", "BCID difference between SCT and LAR detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_SCT_LAR_BCID_Rebin); + m_diff_SCT_LAR_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_SCT_Tile_BCID_Rebin = new TH1I("m_diff_SCT_Tile_BCID_Rebin", "BCID difference between SCT and Tile detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_SCT_TRT_BCID_Rebin); + m_diff_SCT_TRT_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_SCT_RPC_BCID_Rebin = new TH1I("m_diff_SCT_RPC_BCID_Rebin", "BCID difference between SCT and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_SCT_RPC_BCID_Rebin); + m_diff_SCT_RPC_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_TRT_LAR_BCID_Rebin = new TH1I("m_diff_TRT_LAR_BCID_Rebin", "BCID difference between TRT and LAR detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_TRT_LAR_BCID_Rebin); + m_diff_TRT_LAR_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_TRT_Tile_BCID_Rebin = new TH1I("m_diff_TRT_Tile_BCID_Rebin", "BCID difference between TRT and Tile detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_TRT_Tile_BCID_Rebin); + m_diff_TRT_Tile_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_TRT_RPC_BCID_Rebin = new TH1I("m_diff_TRT_RPC_BCID_Rebin", "BCID difference between TRT and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_TRT_RPC_BCID_Rebin); + m_diff_TRT_RPC_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_LAR_Tile_BCID_Rebin = new TH1I("m_diff_LAR_Tile_BCID_Rebin", "BCID difference between LAR and Tile detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_LAR_Tile_BCID_Rebin); + m_diff_LAR_Tile_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_LAR_RPC_BCID_Rebin = new TH1I("m_diff_LAR_RPC_BCID_Rebin", "BCID difference between LAR and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_LAR_RPC_BCID_Rebin); + m_diff_LAR_RPC_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_Tile_RPC_BCID_Rebin = new TH1I("m_diff_Tile_RPC_BCID_Rebin", "BCID difference between Tile and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_Tile_RPC_BCID_Rebin); + m_diff_Tile_RPC_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_Pixel_SCT_BCID_Rebin = new TH1I("m_diff_Pixel_SCT_BCID_Rebin", "BCID difference between Pixel and SCT detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_Pixel_SCT_BCID_Rebin); + m_diff_Pixel_SCT_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_Pixel_TRT_BCID_Rebin = new TH1I("m_diff_Pixel_TRT_BCID_Rebin", "BCID difference between Pixel and TRT detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_Pixel_TRT_BCID_Rebin); + m_diff_Pixel_TRT_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_Pixel_LAR_BCID_Rebin = new TH1I("m_diff_Pixel_LAR_BCID_Rebin", "BCID difference between Pixel and LAR detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_Pixel_LAR_BCID_Rebin); + m_diff_Pixel_LAR_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_Pixel_Tile_BCID_Rebin = new TH1I("m_diff_Pixel_Tile_BCID_Rebin", "BCID difference between Pixel and Tile detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_Pixel_Tile_BCID_Rebin); + m_diff_Pixel_Tile_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_Pixel_RPC_BCID_Rebin = new TH1I("m_diff_Pixel_RPC_BCID_Rebin", "BCID difference between Pixel and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_Pixel_RPC_BCID_Rebin); + m_diff_Pixel_RPC_BCID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathBCID, m_diff_Pixel_CTP_BCID_Rebin = new TH1I("m_diff_Pixel_CTP_BCID_Rebin", "BCID difference between Pixel and CTP detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_Pixel_CTP_BCID_Rebin); + m_diff_Pixel_CTP_BCID_Rebin->SetCanExtend(TH1::kAllAxes); } @@ -476,12 +470,12 @@ bool DQTDetSynchMonTool::bookL1ID() failure = failure |registerHist(fullPathL1ID, m_diff_CTP_Tile_L1ID_lumi = new TProfile("m_diff_CTP_Tile_L1ID_lumi", "L1ID difference between CTP and Tile detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096 )).isFailure(); failure = failure |registerHist(fullPathL1ID, m_diff_CTP_RPC_L1ID_lumi = new TProfile("m_diff_CTP_RPC_L1ID_lumi", "L1ID difference between CTP and RPC detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096)).isFailure(); failure = failure |registerHist(fullPathL1ID, m_diff_CTP_Pixel_L1ID_lumi = new TProfile("m_diff_CTP_Pixel_L1ID_lumi", "L1ID difference between CTP and Pixel detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096)).isFailure(); - CAN_REBIN(m_diff_CTP_SCT_L1ID_lumi); - CAN_REBIN(m_diff_CTP_TRT_L1ID_lumi); - CAN_REBIN(m_diff_CTP_LAR_L1ID_lumi); - CAN_REBIN(m_diff_CTP_Tile_L1ID_lumi); - CAN_REBIN(m_diff_CTP_Pixel_L1ID_lumi); - CAN_REBIN(m_diff_CTP_RPC_L1ID_lumi); + m_diff_CTP_SCT_L1ID_lumi->SetCanExtend(TH1::kAllAxes); + m_diff_CTP_TRT_L1ID_lumi->SetCanExtend(TH1::kAllAxes); + m_diff_CTP_LAR_L1ID_lumi->SetCanExtend(TH1::kAllAxes); + m_diff_CTP_Tile_L1ID_lumi->SetCanExtend(TH1::kAllAxes); + m_diff_CTP_Pixel_L1ID_lumi->SetCanExtend(TH1::kAllAxes); + m_diff_CTP_RPC_L1ID_lumi->SetCanExtend(TH1::kAllAxes); } // Add those that were missing @@ -514,51 +508,51 @@ bool DQTDetSynchMonTool::bookL1ID() // Booking subdetectors L1ID differences wrt CTP in resizable histograms failure = failure |registerHist(fullPathL1ID, m_diff_CTP_SCT_L1ID_Rebin = new TH1I("m_diff_CTP_SCT_L1ID_Rebin", "L1ID difference between CTP and SCT detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_CTP_SCT_L1ID_Rebin); + m_diff_CTP_SCT_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_CTP_TRT_L1ID_Rebin = new TH1I("m_diff_CTP_TRT_L1ID_Rebin", "L1ID difference between CTP and TRT detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_CTP_TRT_L1ID_Rebin); + m_diff_CTP_TRT_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_CTP_LAR_L1ID_Rebin = new TH1I("m_diff_CTP_LAR_L1ID_Rebin", "L1ID difference between CTP and LAR detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_CTP_LAR_L1ID_Rebin); + m_diff_CTP_LAR_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_CTP_Tile_L1ID_Rebin = new TH1I("m_diff_CTP_Tile_L1ID_Rebin", "L1ID difference between CTP and Tile detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_CTP_Tile_L1ID_Rebin); + m_diff_CTP_Tile_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_CTP_RPC_L1ID_Rebin = new TH1I("m_diff_CTP_RPC_L1ID_Rebin", "L1ID difference between CTP and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_CTP_RPC_L1ID_Rebin); + m_diff_CTP_RPC_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_SCT_TRT_L1ID_Rebin = new TH1I("m_diff_SCT_TRT_L1ID_Rebin", "L1ID difference between SCT and TRT detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_SCT_TRT_L1ID_Rebin); + m_diff_SCT_TRT_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_SCT_LAR_L1ID_Rebin = new TH1I("m_diff_SCT_LAR_L1ID_Rebin", "L1ID difference between SCT and LAR detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_SCT_LAR_L1ID_Rebin); + m_diff_SCT_LAR_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_SCT_Tile_L1ID_Rebin = new TH1I("m_diff_SCT_Tile_L1ID_Rebin", "L1ID difference between SCT and Tile detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_SCT_Tile_L1ID_Rebin); + m_diff_SCT_Tile_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_SCT_RPC_L1ID_Rebin = new TH1I("m_diff_SCT_RPC_L1ID_Rebin", "L1ID difference between SCT and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_SCT_RPC_L1ID_Rebin); + m_diff_SCT_RPC_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_TRT_LAR_L1ID_Rebin = new TH1I("m_diff_TRT_LAR_L1ID_Rebin", "L1ID difference between TRT and LAR detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_TRT_LAR_L1ID_Rebin); + m_diff_TRT_LAR_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_TRT_Tile_L1ID_Rebin = new TH1I("m_diff_TRT_Tile_L1ID_Rebin", "L1ID difference between TRT and Tile detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_TRT_Tile_L1ID_Rebin); + m_diff_TRT_Tile_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_TRT_RPC_L1ID_Rebin = new TH1I("m_diff_TRT_RPC_L1ID_Rebin", "L1ID difference between TRT and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_TRT_RPC_L1ID_Rebin); + m_diff_TRT_RPC_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_LAR_Tile_L1ID_Rebin = new TH1I("m_diff_LAR_Tile_L1ID_Rebin", "L1ID difference between LAR and Tile detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_LAR_Tile_L1ID_Rebin); + m_diff_LAR_Tile_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_LAR_RPC_L1ID_Rebin = new TH1I("m_diff_LAR_RPC_L1ID_Rebin", "L1ID difference between LAR and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_LAR_RPC_L1ID_Rebin); + m_diff_LAR_RPC_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_Tile_RPC_L1ID_Rebin = new TH1I("m_diff_Tile_RPC_L1ID_Rebin", "L1ID difference between Tile and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_Tile_RPC_L1ID_Rebin); + m_diff_Tile_RPC_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_Pixel_SCT_L1ID_Rebin = new TH1I("m_diff_Pixel_SCT_L1ID_Rebin", "L1ID difference between Pixel and SCT detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_Pixel_SCT_L1ID_Rebin); + m_diff_Pixel_SCT_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_Pixel_TRT_L1ID_Rebin = new TH1I("m_diff_Pixel_TRT_L1ID_Rebin", "L1ID difference between Pixel and TRT detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_Pixel_TRT_L1ID_Rebin); + m_diff_Pixel_TRT_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_Pixel_LAR_L1ID_Rebin = new TH1I("m_diff_Pixel_LAR_L1ID_Rebin", "L1ID difference between Pixel and LAR detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_Pixel_LAR_L1ID_Rebin); + m_diff_Pixel_LAR_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_Pixel_Tile_L1ID_Rebin = new TH1I("m_diff_Pixel_Tile_L1ID_Rebin", "L1ID difference between Pixel and Tile detectors. Full Range.", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_Pixel_Tile_L1ID_Rebin); + m_diff_Pixel_Tile_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_Pixel_RPC_L1ID_Rebin = new TH1I("m_diff_Pixel_RPC_L1ID_Rebin", "L1ID difference between Pixel and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_Pixel_RPC_L1ID_Rebin); + m_diff_Pixel_RPC_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); failure = failure |registerHist(fullPathL1ID, m_diff_Pixel_CTP_L1ID_Rebin = new TH1I("m_diff_Pixel_CTP_L1ID_Rebin", "L1ID difference between Pixel and CTP detectors. Full Range", 51, -25.5, 25.5)).isFailure(); - CAN_REBIN(m_diff_Pixel_CTP_L1ID_Rebin); + m_diff_Pixel_CTP_L1ID_Rebin->SetCanExtend(TH1::kAllAxes); }