Skip to content

Commit b1040cc

Browse files
authored
Avoid including BasicCCDBManager in headers exposed to ROOT. (#14254)
Root will happily embed references to curl.h and / or the kernel headers if found on the build machine and die if they are not there on the node.
1 parent b1c76a5 commit b1040cc

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

DataFormats/Detectors/CTP/include/DataFormatsCTP/CTPRateFetcher.h

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@
1414

1515
#include <string>
1616

17-
#include "CCDB/BasicCCDBManager.h"
1817
#include "DataFormatsParameters/GRPLHCIFData.h"
1918
#include "DataFormatsCTP/Configuration.h"
2019
#include "DataFormatsCTP/Scalers.h"
2120

22-
namespace o2
21+
namespace o2::ccdb
2322
{
24-
namespace ctp
23+
class BasicCCDBManager;
24+
}
25+
26+
namespace o2::ctp
2527
{
2628

2729
class CTPRateFetcher
@@ -54,7 +56,7 @@ class CTPRateFetcher
5456
o2::parameters::GRPLHCIFData mLHCIFdata{};
5557
ClassDefNV(CTPRateFetcher, 1);
5658
};
57-
} // namespace ctp
58-
} // namespace o2
59+
} // namespace o2::ctp
60+
5961

6062
#endif // COMMON_CCDB_CTPRATEFETCHER_H_

DataFormats/Detectors/CTP/src/CTPRateFetcher.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// or submit itself to any jurisdiction.
1111

1212
#include "DataFormatsCTP/CTPRateFetcher.h"
13+
#include "CCDB/BasicCCDBManager.h"
1314

1415
#include <map>
1516
#include <vector>

0 commit comments

Comments
 (0)