GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Installation and Compilation » R3B classes unknown in root macro
R3B classes unknown in root macro [message #18852] Thu, 07 January 2016 14:02 Go to previous message
Ralf Plag is currently offline  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


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with Geant4
Next Topic: error in dfcln.h with external packages
Goto Forum:
  


Current Time: Fri Jun 25 15:47:30 CEST 2021

Total time taken to generate the page: 0.02279 seconds