diff --git a/Calorimeter/CaloMonitoring/CaloMonitoring/CaloCellVecMon.h b/Calorimeter/CaloMonitoring/CaloMonitoring/CaloCellVecMon.h index faa2dfbaa9705910950c3ef65cacfa7e288c3354..a536de216b5473c0822283643158b44bde6824fb 100755 --- a/Calorimeter/CaloMonitoring/CaloMonitoring/CaloCellVecMon.h +++ b/Calorimeter/CaloMonitoring/CaloMonitoring/CaloCellVecMon.h @@ -103,7 +103,6 @@ class CaloCellVecMon : public CaloMonToolBase { virtual StatusCode bookHistograms(); virtual StatusCode procHistograms(); virtual StatusCode fillHistograms(); - virtual StatusCode finalHists(); // Enumerate the layers in order to keep track of them when looping enum LayerEnum{EMBPA, EMBPC, EMB1A, EMB1C, EMB2A, EMB2C, EMB3A, EMB3C, diff --git a/Calorimeter/CaloMonitoring/src/CaloCellVecMon.cxx b/Calorimeter/CaloMonitoring/src/CaloCellVecMon.cxx index 3d6884d9bb4119351c338101546a148fe4e5c65b..a344b40c6513e1fc551f683b14dfbe9b387f9916 100755 --- a/Calorimeter/CaloMonitoring/src/CaloCellVecMon.cxx +++ b/Calorimeter/CaloMonitoring/src/CaloCellVecMon.cxx @@ -470,7 +470,7 @@ void CaloCellVecMon::initPointers(){ } CaloCellVecMon::~CaloCellVecMon() { - + deleteArray(); } //////////////////////////////////////////// @@ -4729,31 +4729,6 @@ StatusCode CaloCellVecMon::deleteSummHists(){ return StatusCode::SUCCESS; } -////////////////////////////////////////////////////////////////// -StatusCode CaloCellVecMon::finalHists() -{ - -// ATH_MSG_INFO("CaloCellVecMon finalHists() is starting"); - // This assumes that the end of a file will naturally end a run, which is not always true. - // A merging application run afterwards should be able to put parts of a run together. - -/* - ATH_MSG_INFO("before call procHistograms in finalHists()"); - ATH_CHECK( procHistograms(true,true,true) ); - ATH_MSG_INFO("after call procHistograms in finalHists()"); - - ATH_MSG_INFO("before call deleteHistograms in finalHists()"); - ATH_CHECK( deleteHistograms() ); - ATH_MSG_INFO("after call deleteHistograms in finalHists()"); -*/ - -// ATH_MSG_INFO("before call deleteArray in finalHists()"); - deleteArray(); -// ATH_MSG_INFO("after call deleteArray in finalHists()"); - - return StatusCode::SUCCESS; -// ATH_MSG_INFO("CaloCellVecMon finalHists() is done"); -} void CaloCellVecMon::deleteArray(){