Skip to content

Commit

Permalink
[SIMULATION] Apply code-checks with misc-definitions-in-headers
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Jun 15, 2021
1 parent d602997 commit 82f8d70
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
#include "FWCore/MessageLogger/interface/MessageLogger.h"

namespace track_associator {
const TrackingRecHit *getHitFromIter(trackingRecHit_iterator iter) { return &(**iter); }
inline const TrackingRecHit *getHitFromIter(trackingRecHit_iterator iter) { return &(**iter); }

const TrackingRecHit *getHitFromIter(TrackingRecHitCollection::const_iterator iter) { return &(*iter); }
inline const TrackingRecHit *getHitFromIter(TrackingRecHitCollection::const_iterator iter) { return &(*iter); }

template <typename iter>
std::vector<OmniClusterRef> hitsToClusterRefs(iter begin, iter end) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
#ifndef SIMTRACKER_TRACKERMATERIALANALYSIS_LISTGROUPS_MATERIALDIFFERENCE_H
#define SIMTRACKER_TRACKERMATERIALANALYSIS_LISTGROUPS_MATERIALDIFFERENCE_H

void ListGroups::fillMaterialDifferences() {}
inline void ListGroups::fillMaterialDifferences() {}

#endif // SIMTRACKER_TRACKERMATERIALANALYSIS_LISTGROUPS_MATERIALDIFFERENCE_H
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
#ifndef DD4HEP_SIMTRACKER_TRACKERMATERIALANALYSIS_LISTGROUPS_MATERIALDIFFERENCE_H
#define DD4HEP_SIMTRACKER_TRACKERMATERIALANALYSIS_LISTGROUPS_MATERIALDIFFERENCE_H

void DD4hep_ListGroups::fillMaterialDifferences() {}
inline void DD4hep_ListGroups::fillMaterialDifferences() {}

#endif // DD4HEP_SIMTRACKER_TRACKERMATERIALANALYSIS_LISTGROUPS_MATERIALDIFFERENCE_H

0 comments on commit 82f8d70

Please sign in to comment.