From 18ec3137fa2b7df9a011d81f49e8f2970a030ab5 Mon Sep 17 00:00:00 2001 From: Florian Uhlig <f.uhlig@gsi.de> Date: Thu, 27 May 2021 13:16:01 +0200 Subject: [PATCH] Add missing include files The problem with missing include files only becomes obvious after clang-format changed the order of the include statements. --- analysis/PWGDIL/dielectron/lmvm/CbmLmvmUtils.h | 2 ++ core/data/test/compareCluster.h | 1 + core/data/test/compareDigi.h | 2 ++ core/data/test/compareErrorMessage.h | 2 ++ core/data/test/compareFairMCPoint.h | 2 ++ core/data/test/compareHit.h | 1 + core/data/test/compareLink.h | 2 ++ core/data/test/compareMatch.h | 2 ++ core/data/test/comparePixelHit.h | 1 + core/data/test/compareStripHit.h | 1 + core/data/test/compareVertex.h | 2 ++ core/data/test/much/compareMuchBeamTimeDigi.h | 1 + core/data/test/much/compareMuchDigi.h | 2 ++ core/data/test/psd/comparePsdAddress.h | 2 ++ core/data/test/psd/comparePsdDigi.h | 2 ++ core/data/test/psd/comparePsdHit.h | 2 ++ core/data/test/psd/comparePsdPoint.h | 1 + core/data/test/rich/compareRichDigi.h | 2 ++ core/data/test/sts/compareStsDigi.h | 2 ++ core/data/test/tof/compareTofDigi.h | 2 ++ core/data/test/trd/compareTrdDigi.h | 2 ++ core/data/test/trd/compareTrdHit.h | 2 +- core/data/test/trd/compareTrdPoint.h | 1 + 23 files changed, 38 insertions(+), 1 deletion(-) diff --git a/analysis/PWGDIL/dielectron/lmvm/CbmLmvmUtils.h b/analysis/PWGDIL/dielectron/lmvm/CbmLmvmUtils.h index 4ffe77f0f8..beb8d7cfed 100644 --- a/analysis/PWGDIL/dielectron/lmvm/CbmLmvmUtils.h +++ b/analysis/PWGDIL/dielectron/lmvm/CbmLmvmUtils.h @@ -14,6 +14,8 @@ #include "CbmMCTrack.h" #include "CbmStsTrack.h" +#include "TClonesArray.h" +#include "TDatabasePDG.h" #include "TMCProcess.h" class CbmLmvmUtils { diff --git a/core/data/test/compareCluster.h b/core/data/test/compareCluster.h index 85e1c2470e..94b1524e3b 100644 --- a/core/data/test/compareCluster.h +++ b/core/data/test/compareCluster.h @@ -5,6 +5,7 @@ #include "CbmMatch.h" #include "compareMatch.h" +#include "gtest/gtest.h" void compareClusterDataMembers(CbmCluster& test, Int_t vectorsize, std::vector<Int_t> indices, Int_t address, CbmMatch* match) diff --git a/core/data/test/compareDigi.h b/core/data/test/compareDigi.h index 3fc955c971..59020e0060 100644 --- a/core/data/test/compareDigi.h +++ b/core/data/test/compareDigi.h @@ -1,6 +1,8 @@ #ifndef COMPAREDIGI_H #define COMPAREDIGI_H 1 +#include "gtest/gtest.h" + void compareDigiDataMembers(CbmTestDigi& test, Int_t address, Double_t charge, Int_t systemid, Double_t time) { Int_t retValInt {-222}; diff --git a/core/data/test/compareErrorMessage.h b/core/data/test/compareErrorMessage.h index 4a19ab2076..9bf4d9062a 100644 --- a/core/data/test/compareErrorMessage.h +++ b/core/data/test/compareErrorMessage.h @@ -3,6 +3,8 @@ #include "CbmErrorMessage.h" +#include "gtest/gtest.h" + void compareErrorMessageDataMembers(CbmErrorMessage& test, ECbmModuleId sysId, Double_t dTime, UInt_t uAddress, UInt_t uFlags, UInt_t uPayload) { diff --git a/core/data/test/compareFairMCPoint.h b/core/data/test/compareFairMCPoint.h index fd09bafb8a..dd96069d66 100644 --- a/core/data/test/compareFairMCPoint.h +++ b/core/data/test/compareFairMCPoint.h @@ -5,6 +5,8 @@ #include <TVector3.h> +#include "gtest/gtest.h" + void compareFairMCPointDataMembers(FairMCPoint& test, Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eloss, Int_t eventid) { diff --git a/core/data/test/compareHit.h b/core/data/test/compareHit.h index 5bc911564f..017d56deb8 100644 --- a/core/data/test/compareHit.h +++ b/core/data/test/compareHit.h @@ -5,6 +5,7 @@ #include "CbmMatch.h" #include "compareMatch.h" +#include "gtest/gtest.h" void compareHitDataMembers(CbmHit& test, HitType type, Double_t z, Double_t dz, Int_t refid, Int_t address, CbmMatch* match, Double_t time, Double_t errortime) diff --git a/core/data/test/compareLink.h b/core/data/test/compareLink.h index 3df28b076d..3b41d138d3 100644 --- a/core/data/test/compareLink.h +++ b/core/data/test/compareLink.h @@ -3,6 +3,8 @@ #include "CbmLink.h" +#include "gtest/gtest.h" + void compareLinkDataMembers(CbmLink& test, Int_t file, Int_t entry, Int_t index, Double_t weight) { Int_t intRetVal {-111}; diff --git a/core/data/test/compareMatch.h b/core/data/test/compareMatch.h index 67422eb5ee..6d34d24667 100644 --- a/core/data/test/compareMatch.h +++ b/core/data/test/compareMatch.h @@ -4,6 +4,8 @@ #include "CbmLink.h" #include "CbmMatch.h" +#include "gtest/gtest.h" + void compareMatchDataMembers(CbmMatch& testMatch, Int_t noflinks, Double_t weight) { Int_t linkLength {-111}; diff --git a/core/data/test/comparePixelHit.h b/core/data/test/comparePixelHit.h index fb4c30437e..c900b354bc 100644 --- a/core/data/test/comparePixelHit.h +++ b/core/data/test/comparePixelHit.h @@ -5,6 +5,7 @@ #include "CbmPixelHit.h" #include "compareHit.h" +#include "gtest/gtest.h" void comparePixelHitDataMembers(CbmPixelHit& test, HitType type, Double_t z, Double_t dz, Int_t refid, Int_t address, CbmMatch* match, Double_t time, Double_t errortime, Double_t x, Double_t dx, Double_t y, diff --git a/core/data/test/compareStripHit.h b/core/data/test/compareStripHit.h index d292b33ad5..b63f203d06 100644 --- a/core/data/test/compareStripHit.h +++ b/core/data/test/compareStripHit.h @@ -5,6 +5,7 @@ #include "CbmStripHit.h" #include "compareHit.h" +#include "gtest/gtest.h" void compareStripHitDataMembers(CbmStripHit& test, HitType type, Double_t z, Double_t dz, Int_t refid, Int_t address, CbmMatch* match, Double_t time, Double_t errortime, Double_t u, Double_t du, diff --git a/core/data/test/compareVertex.h b/core/data/test/compareVertex.h index af5fed36d6..fe9d96d36f 100644 --- a/core/data/test/compareVertex.h +++ b/core/data/test/compareVertex.h @@ -1,3 +1,5 @@ +#include "gtest/gtest.h" + void compareVertexDataMembers(CbmVertex& test, Double_t x, Double_t y, Double_t z, Double_t chi2, Int_t ndf, Int_t ntracks, Double_t* cov) { diff --git a/core/data/test/much/compareMuchBeamTimeDigi.h b/core/data/test/much/compareMuchBeamTimeDigi.h index 9d8933b095..d786d968dc 100644 --- a/core/data/test/much/compareMuchBeamTimeDigi.h +++ b/core/data/test/much/compareMuchBeamTimeDigi.h @@ -2,6 +2,7 @@ #define COMPAREMUCHBEAMTIMEDIGI_H 1 #include "compareMuchDigi.h" +#include "gtest/gtest.h" void compareMuchBeamTimeDigiDataMembers(CbmMuchBeamTimeDigi& test, Int_t address, ECbmModuleId systemid, ULong64_t time, Int_t charge, Int_t padx, Int_t pady, Int_t rocid, Int_t nxid, Int_t nxch, diff --git a/core/data/test/much/compareMuchDigi.h b/core/data/test/much/compareMuchDigi.h index 293361cc28..829d59e4b2 100644 --- a/core/data/test/much/compareMuchDigi.h +++ b/core/data/test/much/compareMuchDigi.h @@ -1,6 +1,8 @@ #ifndef COMPAREMUCHDIGI_H #define COMPAREMUCHDIGI_H 1 +#include "gtest/gtest.h" + void compareMuchDigiDataMembers(CbmMuchDigi& test, Int_t address, ECbmModuleId systemid, ULong64_t time, Int_t charge) { Int_t retValInt {-222}; diff --git a/core/data/test/psd/comparePsdAddress.h b/core/data/test/psd/comparePsdAddress.h index 5664b9d55e..b060582b17 100644 --- a/core/data/test/psd/comparePsdAddress.h +++ b/core/data/test/psd/comparePsdAddress.h @@ -1,6 +1,8 @@ #ifndef COMPAREPSDDIGI_H #define COMPAREPSDDIGI_H 1 +#include "gtest/gtest.h" + void comparePsdAddressDataMembers(Int_t address, ECbmModuleId systemid, Int_t moduleid, Int_t sectionid) { Int_t retValInt {-222}; diff --git a/core/data/test/psd/comparePsdDigi.h b/core/data/test/psd/comparePsdDigi.h index ea43cc00e7..69ca34bd7d 100644 --- a/core/data/test/psd/comparePsdDigi.h +++ b/core/data/test/psd/comparePsdDigi.h @@ -1,6 +1,8 @@ #ifndef COMPAREPSDDIGI_H #define COMPAREPSDDIGI_H 1 +#include "gtest/gtest.h" + void comparePsdDigiDataMembers(CbmPsdDigi& test, Int_t address, ECbmModuleId systemid, Double_t time, Double_t edep) { Int_t retValInt {-222}; diff --git a/core/data/test/psd/comparePsdHit.h b/core/data/test/psd/comparePsdHit.h index 4fae23cc7c..cc916811f1 100644 --- a/core/data/test/psd/comparePsdHit.h +++ b/core/data/test/psd/comparePsdHit.h @@ -1,6 +1,8 @@ #ifndef COMPAREPSDHIT_H #define COMPAREPSDHIT_H 1 +#include "gtest/gtest.h" + void comparePsdHitDataMembers(CbmPsdHit& test, Int_t moduleid, Double_t edep) { Int_t retValInt {-222}; diff --git a/core/data/test/psd/comparePsdPoint.h b/core/data/test/psd/comparePsdPoint.h index b80d43ca9b..5ddb47214a 100644 --- a/core/data/test/psd/comparePsdPoint.h +++ b/core/data/test/psd/comparePsdPoint.h @@ -2,6 +2,7 @@ #define COMPAREPSDPOINT_H 1 #include "compareFairMCPoint.h" +#include "gtest/gtest.h" void comparePsdPointDataMembers(CbmPsdPoint& test, Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Int_t moduleid, Int_t eventid) diff --git a/core/data/test/rich/compareRichDigi.h b/core/data/test/rich/compareRichDigi.h index 6003065abe..c57a25d839 100644 --- a/core/data/test/rich/compareRichDigi.h +++ b/core/data/test/rich/compareRichDigi.h @@ -1,6 +1,8 @@ #ifndef COMPARERICHDIGI_H #define COMPARERICHDIGI_H 1 +#include "gtest/gtest.h" + void compareRichDigiDataMembers(CbmRichDigi& test, Int_t address, ECbmModuleId systemid, Double_t time, Double_t tot) { Int_t retValInt {-222}; diff --git a/core/data/test/sts/compareStsDigi.h b/core/data/test/sts/compareStsDigi.h index 7276b18da9..00896c3121 100644 --- a/core/data/test/sts/compareStsDigi.h +++ b/core/data/test/sts/compareStsDigi.h @@ -1,6 +1,8 @@ #ifndef COMPARESTSDIGI_H #define COMPARESTSDIGI_H 1 +#include "gtest/gtest.h" + void compareStsDigiDataMembers(CbmStsDigi& test, Int_t address, UShort_t charge, UShort_t channel, ECbmModuleId systemid, Long64_t time) { diff --git a/core/data/test/tof/compareTofDigi.h b/core/data/test/tof/compareTofDigi.h index b193296d79..6c4e8a63de 100644 --- a/core/data/test/tof/compareTofDigi.h +++ b/core/data/test/tof/compareTofDigi.h @@ -1,6 +1,8 @@ #ifndef COMPARETOFDIGI_H #define COMPARETOFDIGI_H 1 +#include "gtest/gtest.h" + void compareTofDigiDataMembers(CbmTofDigi& test, Int_t address, ECbmModuleId systemid, Double_t time, Double_t tot) { Int_t retValInt {-222}; diff --git a/core/data/test/trd/compareTrdDigi.h b/core/data/test/trd/compareTrdDigi.h index 7642bc2365..847a87beca 100644 --- a/core/data/test/trd/compareTrdDigi.h +++ b/core/data/test/trd/compareTrdDigi.h @@ -1,6 +1,8 @@ #ifndef COMPARETRDDIGI_H #define COMPARETRDDIGI_H 1 +#include "gtest/gtest.h" + void compareTrdDigiDataMembers(CbmTrdDigi& test, Int_t padChNr, ECbmModuleId systemid, ULong64_t time, Double_t charge) { Int_t retValInt {-222}; diff --git a/core/data/test/trd/compareTrdHit.h b/core/data/test/trd/compareTrdHit.h index a1fc6b5aa0..043ec3eb65 100644 --- a/core/data/test/trd/compareTrdHit.h +++ b/core/data/test/trd/compareTrdHit.h @@ -2,7 +2,7 @@ #define COMPARETRDHIT_H 1 #include "comparePixelHit.h" - +#include "gtest/gtest.h" void compareTrdHitDataMembers(CbmTrdHit& test, HitType type, Double_t z, Double_t dz, Int_t refid, Int_t address, CbmMatch* match, Double_t time, Double_t errortime, Double_t x, Double_t dx, Double_t y, diff --git a/core/data/test/trd/compareTrdPoint.h b/core/data/test/trd/compareTrdPoint.h index 2bfed4226d..3ec39612bc 100644 --- a/core/data/test/trd/compareTrdPoint.h +++ b/core/data/test/trd/compareTrdPoint.h @@ -2,6 +2,7 @@ #define COMPARETRDPOINT_H 1 #include "compareFairMCPoint.h" +#include "gtest/gtest.h" void compareTrdPointDataMembers(CbmTrdPoint& test, Int_t trackID, Int_t detID, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length, Double_t eLoss, -- GitLab