Skip to content

Commit d0860cb

Browse files
jose-luis-rsChristianTackeGSI
authored andcommitted
style(fairroot/base/sim): Added spaces in FairModule to separate material and volume names from comments
docs(CONTRIBUTORS): Added my name to the contributor list
1 parent d97b53b commit d0860cb

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Pierre-Alain, Loizeau
2727
Pflueger, Stefan
2828
Richter, Matthias
2929
Rademakers, Fons
30+
Rodriguez Sánchez, Jose Luis [https://orcid.org/0000-0002-4702-5294]
3031
Rohr, David
3132
Shahoyan, Ruben
3233
Stockmanns, Tobias

fairroot/base/sim/FairModule.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (C) 2014-2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
2+
* Copyright (C) 2014-2025 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
33
* *
44
* This software is distributed under the terms of the *
55
* GNU Lesser General Public Licence (LGPL) version 3, *
@@ -657,7 +657,7 @@ void FairModule::AssignMediumAtImport(TGeoVolume* v)
657657
* it*/
658658
FairGeoMedium* FairMedium = Media->getMedium(mat1->GetName());
659659
if (!FairMedium) {
660-
LOG(fatal) << "Material " << mat1->GetName() << "is not defined in ASCII file nor in Root file.";
660+
LOG(fatal) << "Material " << mat1->GetName() << " is not defined in ASCII file nor in Root file.";
661661
// FairMedium=new FairGeoMedium(mat1->GetName());
662662
// Media->addMedium(FairMedium);
663663
} else {
@@ -675,7 +675,7 @@ void FairModule::AssignMediumAtImport(TGeoVolume* v)
675675
if (strcmp(v->ClassName(), "TGeoVolumeAssembly") != 0) {
676676
//[R.K.-3.3.08] // When there is NO material defined, set it to avoid conflicts in Geant
677677
LOG(fatal) << "The volume " << v->GetName()
678-
<< "has no medium information and not an Assembly so we have to quit";
678+
<< " has no medium information and not an Assembly so we have to quit";
679679
}
680680
}
681681
}

0 commit comments

Comments
 (0)