R3B classes unknown in root macro [message #18852] |
Thu, 07 January 2016 14:02 |
Ralf Plag
Messages: 25 Registered: September 2015
|
continuous participant |
From: *gsi.de
|
|
Hi Dima,
thanks for solving the compiler issue. Next problem:
The root interpreter doesn't know the R3B classes like R3BUcesbSource:
rplag@lxg0858:~/R3BRoot/macros/r3b/unpack/s438b$ root -l
root [0] .L unpack_ucesb.C
In file included from input_line_9:1:
/u/rplag/R3BRoot/macros/r3b/unpack/s438b/unpack_ucesb.C:36:2: error: unknown type name 'R3BUcesbSource'
R3BUcesbSource* source = new R3BUcesbSource(filename, ntuple_options,
^
/u/rplag/R3BRoot/macros/r3b/unpack/s438b/unpack_ucesb.C:36:31: error: unknown type name 'R3BUcesbSource'
R3BUcesbSource* source = new R3BUcesbSource(filename, ntuple_options,
^
/u/rplag/R3BRoot/macros/r3b/unpack/s438b/unpack_ucesb.C:39:24: error: unknown type name 'R3BUnpackReader'
source->AddReader(new R3BUnpackReader(&ucesb_struct));
^
/u/rplag/R3BRoot/macros/r3b/unpack/s438b/unpack_ucesb.C:45:2: error: unknown type name 'FairRunOnline'
FairRunOnline* run = new FairRunOnline(source);
^
/u/rplag/R3BRoot/macros/r3b/unpack/s438b/unpack_ucesb.C:45:27: error: unknown type name 'FairRunOnline'
FairRunOnline* run = new FairRunOnline(source);
^
/u/rplag/R3BRoot/macros/r3b/unpack/s438b/unpack_ucesb.C:51:2: error: unknown type name 'R3BAladinFieldMap'
R3BAladinFieldMap* magField = new R3BAladinFieldMap("AladinMaps");
^
/u/rplag/R3BRoot/macros/r3b/unpack/s438b/unpack_ucesb.C:51:36: error: unknown type name 'R3BAladinFieldMap'
R3BAladinFieldMap* magField = new R3BAladinFieldMap("AladinMaps");
^
/u/rplag/R3BRoot/macros/r3b/unpack/s438b/unpack_ucesb.C:59:2: error: unknown type name 'R3BLandRawAna'
R3BLandRawAna* ana = new R3BLandRawAna("LandRawAna", 1);
^
/u/rplag/R3BRoot/macros/r3b/unpack/s438b/unpack_ucesb.C:59:27: error: unknown type name 'R3BLandRawAna'
R3BLandRawAna* ana = new R3BLandRawAna("LandRawAna", 1);
^
/u/rplag/R3BRoot/macros/r3b/unpack/s438b/unpack_ucesb.C:65:2: error: use of undeclared identifier 'FairLogger'
FairLogger::GetLogger()->SetLogScreenLevel("INFO");
^
I tried to include("r3bucesbsource.h") but it doesn't even know the include path (and it needs to include files from many locations like even the ucesb hbook directory). So that can't be the option...
Cheers,
Ralf
|
|
|
|
|
|
|
Re: R3B classes unknown in root macro [message #18859 is a reply to message #18857] |
Thu, 07 January 2016 14:23 |
Ralf Plag
Messages: 25 Registered: September 2015
|
continuous participant |
From: *gsi.de
|
|
I already tried but this makes no difference.
rplag@lxg0858:~/R3BRoot/macros/r3b/unpack/s438b$ root -l
root [0] .L unpack_ucesb.C
In file included from input_line_9:1:
/u/rplag/R3BRoot/macros/r3b/unpack/s438b/unpack_ucesb.C:36:2: error: unknown type name 'R3BUcesbSource'
R3BUcesbSource* source = new R3BUcesbSource(filename, ntuple_options,
^
[...]
Interestingly, I can still run the r3bsim macro:
rplag@lxg0858:~/R3BRoot/macros/r3b$ root -l r3bsim.C
root [0]
Processing r3bsim.C...
[INFO ] FairRootManager::OpenOutFile("r3bsim.root")
[INFO ] Media file used: /u/rplag/R3BRoot/geometry/media_r3b.geo
[INFO ] ============== FairRunSim: Initialising simulation run ==============
Info in <TGeoManager::TGeoManager>: Geometry FAIRGeom, FAIR geometry created
[INFO ] FairGeoMedia: Read media
[...]
[Updated on: Thu, 07 January 2016 14:24] Report message to a moderator
|
|
|
|
|
|
|
|
Re: R3B classes unknown in root macro [message #18868 is a reply to message #18866] |
Fri, 08 January 2016 10:52 |
Ralf Plag
Messages: 25 Registered: September 2015
|
continuous participant |
From: *hsi13.unitymediagroup.de
|
|
Hi Dima,
yup, libext_data_clnt.so was missing. Kinda strange since the struct_writer and root_writer were successfully built. Anyway, another "make struct_writer" in the hbook directory fixed it.
Now, ucesb is found by the config script und the root macro runs.
Thanks again!
Ralf
|
|
|