Skip to content

Commit 677f035

Browse files
committed
Fix ClassDef compilation warning
1 parent 7ffc10c commit 677f035

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎PWGCF/Core/AnalysisConfigurableCuts.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class SimpleInclusiveCut : public TNamed
151151
SimpleInclusiveCut& operator=(const SimpleInclusiveCut&);
152152

153153
private:
154-
ClassDef(SimpleInclusiveCut, 1);
154+
ClassDefOverride(SimpleInclusiveCut, 1);
155155
};
156156

157157
} // namespace analysis

‎PWGCF/GenericFramework/Core/FlowPtContainer.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,6 @@ class FlowPtContainer : public TNamed
233233
void getSubevents(int k, int n, std::vector<int>& current, std::vector<std::vector<int>>& subevents);
234234
static constexpr std::array<float, 9> FactorialArray = {1., 1., 2., 6., 24., 120., 720., 5040., 40320.};
235235
static constexpr std::array<int, 9> SignArray = {1, -1, 1, -1, 1, -1, 1, -1, 1};
236-
ClassDef(FlowPtContainer, 2);
236+
ClassDefOverride(FlowPtContainer, 2);
237237
};
238238
#endif // PWGCF_GENERICFRAMEWORK_CORE_FLOWPTCONTAINER_H_

‎PWGCF/TwoParticleCorrelations/Core/EventSelectionFilterAndAnalysis.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class EventSelectionFilterAndAnalysis : public SelectionFilterAndAnalysis
119119
CutBrick<float>* mZVertex; //! the z vertex selection cuts
120120
PileUpRejBrick* mPileUpRejection; //! the pile-up rejection criteria
121121

122-
ClassDef(EventSelectionFilterAndAnalysis, 1)
122+
ClassDefOverride(EventSelectionFilterAndAnalysis, 1)
123123
};
124124

125125
/// \brief Stores the different multiplicities needed for proper collision filtering

‎PWGCF/TwoParticleCorrelations/Core/PIDSelectionFilterAndAnalysis.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class PIDSelectionFilterAndAnalysis : public SelectionFilterAndAnalysis
145145
std::vector<CutBrick<float>*> mCloseNsigmasTOF;
146146
std::vector<CutBrick<float>*> mBayesProbability;
147147

148-
ClassDef(PIDSelectionFilterAndAnalysis, 1);
148+
ClassDefOverride(PIDSelectionFilterAndAnalysis, 1);
149149
};
150150

151151
/// \brief Fills the filter cuts mask

‎PWGCF/TwoParticleCorrelations/Core/SkimmingConfigurableCuts.h‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class CutBrick : public TNamed
9898
BrickStatus mState = kPASSIVE;
9999
BrickMode mMode = kUNSELECTED;
100100

101-
ClassDef(CutBrick, 1);
101+
ClassDefOverride(CutBrick, 1);
102102
};
103103

104104
/// \class CutBrickLimit
@@ -452,7 +452,7 @@ class CutWithVariations : public CutBrick<TValueToFilter>
452452
bool mAllowSeveralDefaults; ///< true if allows to store several cut default values
453453
TList mDefaultBricks; ///< the list with the cut default values bricks
454454
TList mVariationBricks; ///< the list with the cut variation values bricks
455-
ClassDef(CutWithVariations, 1);
455+
ClassDefOverride(CutWithVariations, 1);
456456
};
457457

458458
/// \class SpecialCutBrick
@@ -503,7 +503,7 @@ class SpecialCutBrick : public TNamed
503503
BrickStatus mState = kPASSIVE;
504504
BrickMode mMode = kUNSELECTED;
505505

506-
ClassDef(SpecialCutBrick, 1);
506+
ClassDefOverride(SpecialCutBrick, 1);
507507
};
508508

509509
class TrackSelectionBrick : public SpecialCutBrick
@@ -626,7 +626,7 @@ class TrackSelectionBrick : public SpecialCutBrick
626626
// vector of ITS requirements (minNRequiredHits in specific requiredLayers)
627627
std::vector<std::pair<int8_t, std::set<uint8_t>>> mRequiredITSHits{};
628628

629-
ClassDef(TrackSelectionBrick, 1);
629+
ClassDefOverride(TrackSelectionBrick, 1);
630630
};
631631

632632
} // namespace PWGCF

0 commit comments

Comments
 (0)