Skip to content

Commit be06038

Browse files
ChristianTackeGSIdennisklein
authored andcommitted
chore(online): Drop ClassImp
See: 744fad7
1 parent d3ce573 commit be06038

8 files changed

Lines changed: 12 additions & 30 deletions

File tree

fairroot/online/source/FairLmdSource.cxx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
2+
* Copyright (C) 2014-2023 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, *
@@ -13,15 +13,14 @@
1313

1414
#include "FairLmdSource.h"
1515

16-
#include "FairLogger.h"
17-
1816
#include <TIterator.h>
1917
#include <TList.h>
2018
#include <TObjString.h>
2119
#include <TRegexp.h>
2220
#include <TSystem.h>
2321
#include <TSystemDirectory.h>
2422
#include <TSystemFile.h>
23+
#include <fairlogger/Logger.h>
2524

2625
FairLmdSource::FairLmdSource()
2726
: FairMbsSource()
@@ -241,5 +240,3 @@ void FairLmdSource::Close()
241240
Unpack(reinterpret_cast<Int_t*>(fxBuffer), sizeof(s_bufhe), -4, -4, -4, -4, -4);
242241
fCurrentEvent = 0;
243242
}
244-
245-
ClassImp(FairLmdSource);

fairroot/online/source/FairMbsSource.cxx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
2+
* Copyright (C) 2014-2023 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, *
@@ -15,7 +15,7 @@
1515

1616
#include "FairMbsSource.h"
1717

18-
#include "FairLogger.h"
18+
#include <fairlogger/Logger.h>
1919

2020
FairMbsSource::FairMbsSource()
2121
: FairOnlineSource()
@@ -67,5 +67,3 @@ Bool_t FairMbsSource::Unpack(Int_t *data,
6767

6868
return seen;
6969
}
70-
71-
ClassImp(FairMbsSource);

fairroot/online/source/FairMbsStreamSource.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#include "FairMbsStreamSource.h"
1212

13-
#include "FairLogger.h"
13+
#include <fairlogger/Logger.h>
1414

1515
FairMbsStreamSource::FairMbsStreamSource(TString tServerName)
1616
: FairMbsSource()
@@ -130,5 +130,3 @@ void FairMbsStreamSource::Close()
130130
CHARS* sErrorString = nullptr;
131131
f_evt_error(status, sErrorString, 0);
132132
}
133-
134-
ClassImp(FairMbsStreamSource);

fairroot/online/source/FairOnlineSource.cxx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
2+
* Copyright (C) 2014-2023 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, *
@@ -15,7 +15,7 @@
1515

1616
#include "FairOnlineSource.h"
1717

18-
#include "FairLogger.h"
18+
#include <fairlogger/Logger.h>
1919

2020
FairOnlineSource::FairOnlineSource()
2121
: FairSource()
@@ -68,5 +68,3 @@ void FairOnlineSource::Reset()
6868
((FairUnpack *)fUnpackers->At(i))->Reset();
6969
}
7070
}
71-
72-
ClassImp(FairOnlineSource);

fairroot/online/source/FairRemoteSource.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
2+
* Copyright (C) 2014-2023 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, *
@@ -82,5 +82,3 @@ void FairRemoteSource::Close()
8282
fBuffer->RevClose(fSocket);
8383
fBuffer->RevStatus(0);
8484
}
85-
86-
ClassImp(FairRemoteSource);

fairroot/online/source/FairUnpack.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
2+
* Copyright (C) 2014-2023 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, *
@@ -24,5 +24,3 @@ FairUnpack::FairUnpack(Short_t type, Short_t subType, Short_t procId, Short_t su
2424
}
2525

2626
FairUnpack::~FairUnpack() {}
27-
28-
ClassImp(FairUnpack);

fairroot/online/source/MRevBuffer.cxx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
2+
* Copyright (C) 2014-2023 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, *
@@ -48,10 +48,7 @@
4848
// IWYU pragma: no_include <sys/_endian.h>
4949
// IWYU pragma: no_include <sys/signal.h>
5050

51-
#include "FairLogger.h"
52-
53-
ClassImp(MRevBuffer);
54-
ClassImp(REvent);
51+
#include <fairlogger/Logger.h>
5552

5653
extern "C"
5754
{

fairroot/online/steer/FairRunOnline.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include "FairField.h"
1818
#include "FairFileHeader.h"
1919
#include "FairGeoParSet.h"
20-
#include "FairLogger.h"
2120
#include "FairParSet.h" // for FairParSet
2221
#include "FairRootManager.h"
2322
#include "FairRunIdGenerator.h"
@@ -34,6 +33,7 @@
3433
#include <TObject.h> // for TObject
3534
#include <TROOT.h>
3635
#include <TSystem.h>
36+
#include <fairlogger/Logger.h>
3737
#include <iostream>
3838
#include <signal.h>
3939
#include <stdlib.h>
@@ -423,5 +423,3 @@ void FairRunOnline::Fill()
423423
fMarkFill = kTRUE;
424424
}
425425
}
426-
427-
ClassImp(FairRunOnline);

0 commit comments

Comments
 (0)