Skip to content

Commit f617e64

Browse files
committed
[test][tutorials] rm empty ClassImp macro
1 parent 878dd3f commit f617e64

File tree

20 files changed

+3
-58
lines changed

20 files changed

+3
-58
lines changed

test/Aclock.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include "Aclock.h"
2222

2323

24-
ClassImp(Aclock);
2524

2625

2726
Float_t MinuteHand::fgMinuteHandX[] = { -0.05, 0, 0.05 };

test/Event.cxx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@
8787
#include "Event.h"
8888

8989

90-
ClassImp(EventHeader);
91-
ClassImp(Event);
92-
ClassImp(Track);
93-
ClassImp(HistogramManager);
9490

9591
TClonesArray *Event::fgTracks = 0;
9692
TH1F *Event::fgHist = 0;

test/EventMT.cxx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@
8484
#include "Event.h"
8585

8686

87-
ClassImp(EventHeader);
88-
ClassImp(Event);
89-
ClassImp(Track);
90-
ClassImp(HistogramManager);
9187

9288
////////////////////////////////////////////////////////////////////////////////
9389
/// Create an Event object.

test/Hello.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include "Hello.h"
2727
#include "TList.h"
2828

29-
ClassImp(Hello);
3029

3130

3231
TChar::TChar(char ch, Coord_t x, Coord_t y) : TText(x, y, "")

test/RootIDE/TGRootIDE.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ ToolBarData_t fTbData[] = {
296296
static char *gEPrinter = 0;
297297
static char *gEPrintCommand = 0;
298298

299-
ClassImp(TGRootIDE);
300299

301300

302301
////////////////////////////////////////////////////////////////////////////////

test/RootShower/MyDetector.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
//______________________________________________________________________________
1919

2020

21-
ClassImp(MyDetector);
2221

2322
////////////////////////////////////////////////////////////////////////////////
2423
/// Default constructor.

test/RootShower/MyEvent.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
// MyEvent class implementation
2525
//______________________________________________________________________________
2626

27-
ClassImp(EventHeader);
28-
ClassImp(MyEvent);
2927

3028
TClonesArray *MyEvent::fgParticles = 0;
3129

test/RootShower/MyParticle.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
// MyParticle class implementation
2424
//______________________________________________________________________________
2525

26-
ClassImp(MyParticle);
2726

2827
////////////////////////////////////////////////////////////////////////////////
2928
/// MyParticle constructor.

test/TBench.cxx

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ Counter hitCount("THit");
5050

5151
////////////////////////////////////////////////////////////////////////////////
5252

53-
ClassImp(THit);
5453
//-------------------------------------------------------------
5554
THit::THit() {
5655
fPulses = 0;
@@ -129,7 +128,6 @@ TBuffer &operator<<(TBuffer &buf, const THit *obj)
129128

130129
////////////////////////////////////////////////////////////////////////////////
131130

132-
ClassImp(TObjHit);
133131
//-------------------------------------------------------------
134132

135133
TObjHit::TObjHit() :THit() {}
@@ -138,7 +136,6 @@ TObjHit::TObjHit(int t) :THit(t) {}
138136

139137
////////////////////////////////////////////////////////////////////////////////
140138

141-
ClassImp(TSTLhit);
142139
//-------------------------------------------------------------
143140
TSTLhit::TSTLhit()
144141
{
@@ -213,7 +210,6 @@ Int_t TSTLhit::ReadTree()
213210

214211
////////////////////////////////////////////////////////////////////////////////
215212

216-
ClassImp(TSTLhitList);
217213
//-------------------------------------------------------------
218214
TSTLhitList::TSTLhitList()
219215
{
@@ -286,7 +282,6 @@ Int_t TSTLhitList::ReadTree()
286282

287283
////////////////////////////////////////////////////////////////////////////////
288284

289-
ClassImp(TSTLhitDeque);
290285
//-------------------------------------------------------------
291286
TSTLhitDeque::TSTLhitDeque()
292287
{
@@ -360,7 +355,6 @@ Int_t TSTLhitDeque::ReadTree()
360355

361356
////////////////////////////////////////////////////////////////////////////////
362357

363-
ClassImp(TSTLhitSet);
364358
//-------------------------------------------------------------
365359
TSTLhitSet::TSTLhitSet()
366360
{
@@ -434,7 +428,6 @@ Int_t TSTLhitSet::ReadTree()
434428

435429
////////////////////////////////////////////////////////////////////////////////
436430

437-
ClassImp(TSTLhitMultiset);
438431
//-------------------------------------------------------------
439432
TSTLhitMultiset::TSTLhitMultiset()
440433
{
@@ -508,7 +501,6 @@ Int_t TSTLhitMultiset::ReadTree()
508501

509502
////////////////////////////////////////////////////////////////////////////////
510503

511-
ClassImp(TSTLhitMap);
512504
//-------------------------------------------------------------
513505
TSTLhitMap::TSTLhitMap()
514506
{
@@ -582,7 +574,6 @@ Int_t TSTLhitMap::ReadTree()
582574

583575
////////////////////////////////////////////////////////////////////////////////
584576

585-
ClassImp(TSTLhitMultiMap);
586577
//-------------------------------------------------------------
587578
TSTLhitMultiMap::TSTLhitMultiMap()
588579
{
@@ -657,7 +648,6 @@ Int_t TSTLhitMultiMap::ReadTree()
657648
#if 0
658649
////////////////////////////////////////////////////////////////////////////////
659650

660-
ClassImp(TSTLhitHashSet);
661651
//-------------------------------------------------------------
662652
TSTLhitHashSet::TSTLhitHashSet()
663653
{
@@ -731,7 +721,6 @@ Int_t TSTLhitHashSet::ReadTree()
731721

732722
////////////////////////////////////////////////////////////////////////////////
733723

734-
ClassImp(TSTLhitHashMultiSet);
735724
//-------------------------------------------------------------
736725
TSTLhitHashMultiSet::TSTLhitHashMultiSet()
737726
{
@@ -805,7 +794,6 @@ Int_t TSTLhitHashMultiSet::ReadTree()
805794

806795
////////////////////////////////////////////////////////////////////////////////
807796

808-
ClassImp(TSTLhitStar);
809797
//-------------------------------------------------------------
810798
TSTLhitStar::TSTLhitStar()
811799
{
@@ -882,7 +870,6 @@ Int_t TSTLhitStar::ReadTree()
882870

883871
////////////////////////////////////////////////////////////////////////////////
884872

885-
ClassImp(TSTLhitStarList);
886873
//-------------------------------------------------------------
887874
TSTLhitStarList::TSTLhitStarList()
888875
{
@@ -957,7 +944,6 @@ Int_t TSTLhitStarList::ReadTree()
957944

958945
////////////////////////////////////////////////////////////////////////////////
959946

960-
ClassImp(TSTLhitStarDeque);
961947
//-------------------------------------------------------------
962948
TSTLhitStarDeque::TSTLhitStarDeque()
963949
{
@@ -1032,7 +1018,6 @@ Int_t TSTLhitStarDeque::ReadTree()
10321018

10331019
////////////////////////////////////////////////////////////////////////////////
10341020

1035-
ClassImp(TSTLhitStarSet);
10361021
//-------------------------------------------------------------
10371022
TSTLhitStarSet::TSTLhitStarSet()
10381023
{
@@ -1108,7 +1093,6 @@ Int_t TSTLhitStarSet::ReadTree()
11081093

11091094
////////////////////////////////////////////////////////////////////////////////
11101095

1111-
ClassImp(TSTLhitStarMultiSet);
11121096
//-------------------------------------------------------------
11131097
TSTLhitStarMultiSet::TSTLhitStarMultiSet()
11141098
{
@@ -1184,7 +1168,6 @@ Int_t TSTLhitStarMultiSet::ReadTree()
11841168

11851169
////////////////////////////////////////////////////////////////////////////////
11861170

1187-
ClassImp(TSTLhitStarMap);
11881171
//-------------------------------------------------------------
11891172
TSTLhitStarMap::TSTLhitStarMap()
11901173
{
@@ -1259,7 +1242,6 @@ Int_t TSTLhitStarMap::ReadTree()
12591242

12601243
////////////////////////////////////////////////////////////////////////////////
12611244

1262-
ClassImp(TSTLhitStarMultiMap);
12631245
//-------------------------------------------------------------
12641246
TSTLhitStarMultiMap::TSTLhitStarMultiMap()
12651247
{
@@ -1335,7 +1317,6 @@ Int_t TSTLhitStarMultiMap::ReadTree()
13351317

13361318
////////////////////////////////////////////////////////////////////////////////
13371319

1338-
ClassImp(TCloneshit);
13391320
//-------------------------------------------------------------
13401321
TCloneshit::TCloneshit()
13411322
{

test/Tetris.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ static Tetris *gTetris; // game manager
2929
static const UInt_t gBoxPixelSize = 20; // size of TetrisBox in pixels
3030

3131

32-
ClassImp(Tetris);
3332

3433
///////////////////////////////////////////////////////////////////
3534
// TetrisBox - the main brick of the game

0 commit comments

Comments
 (0)