Skip to content

Commit

Permalink
Remove calls setting default encoding strings that have no effect (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener authored Feb 19, 2024
1 parent ed17642 commit 8130146
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/DDCaloHitCreator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<CalorimeterHit>::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));
Expand Down
5 changes: 0 additions & 5 deletions src/DDSimpleMuonDigi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<CalorimeterHit>::setDefaultEncoding("undefined_cellID_encoding:100");


//Get the number of Layers in the Endcap
int layersEndcap=0, layersBarrel=0;

Expand Down

0 comments on commit 8130146

Please sign in to comment.