Skip to content

Commit

Permalink
use ClassDefOverride instead of ClassDef to avoid inconsistent-missin…
Browse files Browse the repository at this point in the history
…g-override warning
  • Loading branch information
smuzaffar committed Sep 18, 2017
1 parent e133687 commit 40eb921
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SimDataFormats/CaloHit/interface/CastorShowerEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
float getPrimY() { return primY; };
float getPrimZ() { return primZ; };

ClassDef(CastorShowerEvent,2)
ClassDefOverride(CastorShowerEvent,2)

};

Expand Down
4 changes: 2 additions & 2 deletions SimDataFormats/CaloHit/interface/CastorShowerLibraryInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class SLBin: public TObject {
unsigned int NBins;
unsigned int NEvtPerBin;
std::vector<double> Bins;
ClassDef(SLBin,2);
ClassDefOverride(SLBin,2);
};

class CastorShowerLibraryInfo : public TObject {
Expand All @@ -48,7 +48,7 @@ class CastorShowerLibraryInfo : public TObject {
SLBin Eta;
SLBin Phi;

ClassDef(CastorShowerLibraryInfo,2);
ClassDefOverride(CastorShowerLibraryInfo,2);

};

Expand Down

0 comments on commit 40eb921

Please sign in to comment.