Commit 18ec3137 authored by Administrator's avatar Administrator
Browse files

Add missing include files

The problem with missing include files only becomes obvious after clang-format
changed the order of the include statements.
parent 15ce8e3d
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
#include "CbmMCTrack.h" #include "CbmMCTrack.h"
#include "CbmStsTrack.h" #include "CbmStsTrack.h"
#include "TClonesArray.h"
#include "TDatabasePDG.h"
#include "TMCProcess.h" #include "TMCProcess.h"
class CbmLmvmUtils { class CbmLmvmUtils {
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include "CbmMatch.h" #include "CbmMatch.h"
#include "compareMatch.h" #include "compareMatch.h"
#include "gtest/gtest.h"
void compareClusterDataMembers(CbmCluster& test, Int_t vectorsize, std::vector<Int_t> indices, Int_t address, void compareClusterDataMembers(CbmCluster& test, Int_t vectorsize, std::vector<Int_t> indices, Int_t address,
CbmMatch* match) CbmMatch* match)
......
#ifndef COMPAREDIGI_H #ifndef COMPAREDIGI_H
#define COMPAREDIGI_H 1 #define COMPAREDIGI_H 1
#include "gtest/gtest.h"
void compareDigiDataMembers(CbmTestDigi& test, Int_t address, Double_t charge, Int_t systemid, Double_t time) void compareDigiDataMembers(CbmTestDigi& test, Int_t address, Double_t charge, Int_t systemid, Double_t time)
{ {
Int_t retValInt {-222}; Int_t retValInt {-222};
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
#include "CbmErrorMessage.h" #include "CbmErrorMessage.h"
#include "gtest/gtest.h"
void compareErrorMessageDataMembers(CbmErrorMessage& test, ECbmModuleId sysId, Double_t dTime, UInt_t uAddress, void compareErrorMessageDataMembers(CbmErrorMessage& test, ECbmModuleId sysId, Double_t dTime, UInt_t uAddress,
UInt_t uFlags, UInt_t uPayload) UInt_t uFlags, UInt_t uPayload)
{ {
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
#include <TVector3.h> #include <TVector3.h>
#include "gtest/gtest.h"
void compareFairMCPointDataMembers(FairMCPoint& test, Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, 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) Double_t tof, Double_t length, Double_t eloss, Int_t eventid)
{ {
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include "CbmMatch.h" #include "CbmMatch.h"
#include "compareMatch.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, 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) CbmMatch* match, Double_t time, Double_t errortime)
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
#include "CbmLink.h" #include "CbmLink.h"
#include "gtest/gtest.h"
void compareLinkDataMembers(CbmLink& test, Int_t file, Int_t entry, Int_t index, Double_t weight) void compareLinkDataMembers(CbmLink& test, Int_t file, Int_t entry, Int_t index, Double_t weight)
{ {
Int_t intRetVal {-111}; Int_t intRetVal {-111};
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
#include "CbmLink.h" #include "CbmLink.h"
#include "CbmMatch.h" #include "CbmMatch.h"
#include "gtest/gtest.h"
void compareMatchDataMembers(CbmMatch& testMatch, Int_t noflinks, Double_t weight) void compareMatchDataMembers(CbmMatch& testMatch, Int_t noflinks, Double_t weight)
{ {
Int_t linkLength {-111}; Int_t linkLength {-111};
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include "CbmPixelHit.h" #include "CbmPixelHit.h"
#include "compareHit.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, 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, CbmMatch* match, Double_t time, Double_t errortime, Double_t x, Double_t dx, Double_t y,
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include "CbmStripHit.h" #include "CbmStripHit.h"
#include "compareHit.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, 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, CbmMatch* match, Double_t time, Double_t errortime, Double_t u, Double_t du,
......
#include "gtest/gtest.h"
void compareVertexDataMembers(CbmVertex& test, Double_t x, Double_t y, Double_t z, Double_t chi2, Int_t ndf, 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) Int_t ntracks, Double_t* cov)
{ {
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#define COMPAREMUCHBEAMTIMEDIGI_H 1 #define COMPAREMUCHBEAMTIMEDIGI_H 1
#include "compareMuchDigi.h" #include "compareMuchDigi.h"
#include "gtest/gtest.h"
void compareMuchBeamTimeDigiDataMembers(CbmMuchBeamTimeDigi& test, Int_t address, ECbmModuleId systemid, ULong64_t time, 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, Int_t charge, Int_t padx, Int_t pady, Int_t rocid, Int_t nxid, Int_t nxch,
......
#ifndef COMPAREMUCHDIGI_H #ifndef COMPAREMUCHDIGI_H
#define COMPAREMUCHDIGI_H 1 #define COMPAREMUCHDIGI_H 1
#include "gtest/gtest.h"
void compareMuchDigiDataMembers(CbmMuchDigi& test, Int_t address, ECbmModuleId systemid, ULong64_t time, Int_t charge) void compareMuchDigiDataMembers(CbmMuchDigi& test, Int_t address, ECbmModuleId systemid, ULong64_t time, Int_t charge)
{ {
Int_t retValInt {-222}; Int_t retValInt {-222};
......
#ifndef COMPAREPSDDIGI_H #ifndef COMPAREPSDDIGI_H
#define COMPAREPSDDIGI_H 1 #define COMPAREPSDDIGI_H 1
#include "gtest/gtest.h"
void comparePsdAddressDataMembers(Int_t address, ECbmModuleId systemid, Int_t moduleid, Int_t sectionid) void comparePsdAddressDataMembers(Int_t address, ECbmModuleId systemid, Int_t moduleid, Int_t sectionid)
{ {
Int_t retValInt {-222}; Int_t retValInt {-222};
......
#ifndef COMPAREPSDDIGI_H #ifndef COMPAREPSDDIGI_H
#define COMPAREPSDDIGI_H 1 #define COMPAREPSDDIGI_H 1
#include "gtest/gtest.h"
void comparePsdDigiDataMembers(CbmPsdDigi& test, Int_t address, ECbmModuleId systemid, Double_t time, Double_t edep) void comparePsdDigiDataMembers(CbmPsdDigi& test, Int_t address, ECbmModuleId systemid, Double_t time, Double_t edep)
{ {
Int_t retValInt {-222}; Int_t retValInt {-222};
......
#ifndef COMPAREPSDHIT_H #ifndef COMPAREPSDHIT_H
#define COMPAREPSDHIT_H 1 #define COMPAREPSDHIT_H 1
#include "gtest/gtest.h"
void comparePsdHitDataMembers(CbmPsdHit& test, Int_t moduleid, Double_t edep) void comparePsdHitDataMembers(CbmPsdHit& test, Int_t moduleid, Double_t edep)
{ {
Int_t retValInt {-222}; Int_t retValInt {-222};
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#define COMPAREPSDPOINT_H 1 #define COMPAREPSDPOINT_H 1
#include "compareFairMCPoint.h" #include "compareFairMCPoint.h"
#include "gtest/gtest.h"
void comparePsdPointDataMembers(CbmPsdPoint& test, Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, 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) Double_t length, Double_t eLoss, Int_t moduleid, Int_t eventid)
......
#ifndef COMPARERICHDIGI_H #ifndef COMPARERICHDIGI_H
#define COMPARERICHDIGI_H 1 #define COMPARERICHDIGI_H 1
#include "gtest/gtest.h"
void compareRichDigiDataMembers(CbmRichDigi& test, Int_t address, ECbmModuleId systemid, Double_t time, Double_t tot) void compareRichDigiDataMembers(CbmRichDigi& test, Int_t address, ECbmModuleId systemid, Double_t time, Double_t tot)
{ {
Int_t retValInt {-222}; Int_t retValInt {-222};
......
#ifndef COMPARESTSDIGI_H #ifndef COMPARESTSDIGI_H
#define COMPARESTSDIGI_H 1 #define COMPARESTSDIGI_H 1
#include "gtest/gtest.h"
void compareStsDigiDataMembers(CbmStsDigi& test, Int_t address, UShort_t charge, UShort_t channel, void compareStsDigiDataMembers(CbmStsDigi& test, Int_t address, UShort_t charge, UShort_t channel,
ECbmModuleId systemid, Long64_t time) ECbmModuleId systemid, Long64_t time)
{ {
......
#ifndef COMPARETOFDIGI_H #ifndef COMPARETOFDIGI_H
#define COMPARETOFDIGI_H 1 #define COMPARETOFDIGI_H 1
#include "gtest/gtest.h"
void compareTofDigiDataMembers(CbmTofDigi& test, Int_t address, ECbmModuleId systemid, Double_t time, Double_t tot) void compareTofDigiDataMembers(CbmTofDigi& test, Int_t address, ECbmModuleId systemid, Double_t time, Double_t tot)
{ {
Int_t retValInt {-222}; Int_t retValInt {-222};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment