From 9dd25752a007d12f54eb36c041f6eb812edd85ef Mon Sep 17 00:00:00 2001 From: tmadlener Date: Mon, 19 Feb 2024 13:43:43 +0100 Subject: [PATCH] Remove function calls that have no effect --- src/DDCaloHitCreator.cc | 5 ----- src/DDSimpleMuonDigi.cc | 5 ----- 2 files changed, 10 deletions(-) diff --git a/src/DDCaloHitCreator.cc b/src/DDCaloHitCreator.cc index 61b0500..d29f180 100644 --- a/src/DDCaloHitCreator.cc +++ b/src/DDCaloHitCreator.cc @@ -70,11 +70,6 @@ DDCaloHitCreator::~DDCaloHitCreator() pandora::StatusCode DDCaloHitCreator::CreateCaloHits(const EVENT::LCEvent *const pLCEvent) { - - //fg: there cannot be any reasonable default for this string - so we set it to sth. that will cause an exception in case - // the cellID encoding string is not in the collection: - UTIL::CellIDDecoder::setDefaultEncoding("undefined_cellID_encoding:100"); - PANDORA_RETURN_RESULT_IF(pandora::STATUS_CODE_SUCCESS, !=, this->CreateECalCaloHits(pLCEvent)); PANDORA_RETURN_RESULT_IF(pandora::STATUS_CODE_SUCCESS, !=, this->CreateHCalCaloHits(pLCEvent)); PANDORA_RETURN_RESULT_IF(pandora::STATUS_CODE_SUCCESS, !=, this->CreateMuonCaloHits(pLCEvent)); diff --git a/src/DDSimpleMuonDigi.cc b/src/DDSimpleMuonDigi.cc index caee371..c0bc80d 100644 --- a/src/DDSimpleMuonDigi.cc +++ b/src/DDSimpleMuonDigi.cc @@ -110,11 +110,6 @@ void DDSimpleMuonDigi::init() { _nRun = -1; _nEvt = 0; - //fg: there cannot be any reasonable default for this string - so we set it to sth. that will cause an exception in case - // the cellID encoding string is not in the collection: - UTIL::CellIDDecoder::setDefaultEncoding("undefined_cellID_encoding:100"); - - //Get the number of Layers in the Endcap int layersEndcap=0, layersBarrel=0;