Skip to content

Commit 761b32f

Browse files
ChristianTackeGSIkarabowi
authored andcommitted
refactor: Remove unneeded FairRootManager references
1 parent d7049e1 commit 761b32f

3 files changed

Lines changed: 3 additions & 14 deletions

File tree

examples/advanced/Tutorial3/MQ/processorTask/MQRecoTask.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
2+
* Copyright (C) 2014-2024 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, *
@@ -16,9 +16,6 @@
1616
#include "Payload.h"
1717
#include "ProcessorTask.h"
1818

19-
// FairRoot
20-
#include "FairRootManager.h"
21-
2219
// ROOT
2320
#include <TClonesArray.h>
2421

examples/simulation/Tutorial2/src/FairTutorialDet2Digitizer.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
2+
* Copyright (C) 2014-2024 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, *
@@ -32,8 +32,6 @@ FairTutorialDet2Digitizer::FairTutorialDet2Digitizer(const char* name, const cha
3232

3333
FairTutorialDet2Digitizer::~FairTutorialDet2Digitizer()
3434
{
35-
// FairRootManager *ioman =FairRootManager::Instance();
36-
// ioman->Write();
3735
// fDigiCollection->Clear("C");
3836
// delete fDigiCollection;
3937
}

fairroot/base/event/FairEventBuilderManager.cxx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
2+
* Copyright (C) 2014-2024 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, *
@@ -132,12 +132,6 @@ void FairEventBuilderManager::AddEventBuilder(FairEventBuilder* eventBuilder)
132132

133133
InitStatus FairEventBuilderManager::Init()
134134
{
135-
// Get input array
136-
FairRootManager* ioman = FairRootManager::Instance();
137-
if (!ioman) {
138-
Fatal("Init", "No FairRootManager");
139-
}
140-
141135
cout << "*** FairEventBuilderManager. " << fEventBuilders.size() << " event builders registered." << endl;
142136

143137
for (UInt_t ieb = 0; ieb < fEventBuilders.size(); ieb++) {

0 commit comments

Comments
 (0)