Hello,
I try to compile my code containing PtEtaPhiM4D class.
It’s a necessary part to cooperate with others.
I include all related head files but it doesn’t work.
I run it on lxplus7 with v6.20 and v6.22.
Actually PtEtaPhiMVector is used in my code, not PtEtaPhiM4D.
anyway, I am not sure which head file is required when compiling PtEtaPhiMVector.
// test.C
// #include <Math/GenVector/LorentzVector.h> // not work
// #include <Math/GenVector/PtEtaPhiM4D.h> // not work
#include <Math/Vector4D.h> // work
void test() {
ROOT::Math::PtEtaPhiMVector m(0.,0.,0.,0.);
}
source /cvmfs/sft.cern.ch/lcg/views/LCG_97/x86_64-centos7-gcc8-opt/setup.sh
## not OK
root -l -q test.C++
## OK
root -l -q test.C