Skip to content

Commit

Permalink
Fix ROOT dictionary generation
Browse files Browse the repository at this point in the history
ROOT requires all headers end in a newline, otherwise the dictionary
generation code can comment out part of your header guard.
  • Loading branch information
anthoak13 committed Jun 23, 2024
1 parent 89456eb commit 7729f1b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
9 changes: 4 additions & 5 deletions AtTools/DataCleaning/AtDataCleaner.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#ifndef ATKNN_H
#define ATKNN_H
#ifndef _ATDATACLEANER_H
#define _ATDATACLEANER_H

#include "AtHit.h"
class AtHit;

#include <memory>
#include <vector>
class AtHit;

namespace AtTools {

Expand All @@ -32,4 +31,4 @@ class AtDataCleaner {

} // namespace AtTools

#endif // ATKNN_H
#endif // _ATDATACLEANER_H
2 changes: 2 additions & 0 deletions AtTools/DataCleaning/AtkNN.cxx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#include "AtkNN.h"

#include "AtHit.h"
namespace AtTools {
namespace DataCleaning {

HitCloud AtkNN::CleanData(const HitCloud &hits)
{
HitCloud ret;
Expand Down
7 changes: 6 additions & 1 deletion AtTools/DataCleaning/AtkNN.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef ATKNN_H
#define ATKNN_H

#include "AtDataCleaner.h"

namespace AtTools {
Expand All @@ -22,4 +25,6 @@ class AtkNN : public AtDataCleaner {

} // namespace DataCleaning

} // namespace AtTools
} // namespace AtTools

#endif // ATKNN_HH
1 change: 1 addition & 0 deletions compiled/HDBTest
Submodule HDBTest added at 843dcf

0 comments on commit 7729f1b

Please sign in to comment.