Re: Calling some package in Root code

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Mon, 1 Aug 2011 10:09:58 -0500


Hi,

 > When I do in my run.C or in rootlogon.C , Its getting conflict with my GoodRunList as

Do you mean that if you run you rootlogon.C, then your run.C and then try to load/build load_package.C it does not work but if you try load it as part of one of the other 2 files, it does not work?

Philippe.

On 8/1/11 5:35 AM, Harinder Singh Bawa wrote:
> Hello,
>
> I am confused with one of the steps which I used to do to run my analysis in root. I am running Analysis.C code as following in run.C
>
> void run(){
>
> gROOT->ProcessLine(".L Analysis.C++");
> gROOT->ProcessLine("Analysis t");
> gROOT->ProcessLine("t.Loop()");
> }
>
> Moreover, I am calling one GoodRunList.so in rootlogon.C as
> gSystem->Load("GoodRunsLists-00-00-76/StandAlone/GoodRunsListsLib.so");
> gROOT->ProcessLine(".include GoodRunsLists-00-00-76");
>
>
>
>
> and used to do as root -l -b -q run.C. Upto that is fine.
>
>
> But , Now I need to call load one more package. This is something objectselection for which I compiled standalone for root. I need
> to do
>
> .x /xdata/bawa/PAT/16.6.4.3/RootCore/scripts/load_packages.C+ <http://16.6.4.3/RootCore/scripts/load_packages.C+> (in root
> session) But
>
> When I do in my run.C or in rootlogon.C , Its getting conflict with my GoodRunList as
>
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx
> Warning in <ACLiC>: Failed to generate the dependency file for
> /nfs/t3head/xdata/bawa/PAT/16.6.4.3/DataAnalysis_ExcitedBoson_QCD/./Analysis_C.so
> <http://16.6.4.3/DataAnalysis_ExcitedBoson_QCD/./Analysis_C.so>
> In file included from /tmp/GBwzA3_cint.cxx:1:
> /tmp/rootcint_SDN40C.h:3:53: error: /xdata/bawa/PAT/16.6.4.3/RootCore/include <http://16.6.4.3/RootCore/include>: No such file or
> directory
> In file included from /tmp/rootcint_SDN40C.h:4,
> from /tmp/GBwzA3_cint.cxx:1:
> /nfs/t3head/xdata/bawa/PAT/16.6.4.3/DataAnalysis_ExcitedBoson_QCD/./Analysis.C:9:47
> <http://16.6.4.3/DataAnalysis_ExcitedBoson_QCD/./Analysis.C:9:47>: error: GoodRunsLists/TGoodRunsListReader.h: No such file or
> directory
> /nfs/t3head/xdata/bawa/PAT/16.6.4.3/DataAnalysis_ExcitedBoson_QCD/./Analysis.C:10:41
> <http://16.6.4.3/DataAnalysis_ExcitedBoson_QCD/./Analysis.C:10:41>: error: GoodRunsLists/TGoodRunsList.h: No such file or directory
> Error: external preprocessing failed. :0:
> !!!Removing /nfs/t3head/xdata/bawa/PAT/16.6.4.3/DataAnalysis_ExcitedBoson_QCD/./Analysis_C_ACLiC_dict.cxx
> <http://16.6.4.3/DataAnalysis_ExcitedBoson_QCD/./Analysis_C_ACLiC_dict.cxx>
> /nfs/t3head/xdata/bawa/PAT/16.6.4.3/DataAnalysis_ExcitedBoson_QCD/./Analysis_C_ACLiC_dict.h
> <http://16.6.4.3/DataAnalysis_ExcitedBoson_QCD/./Analysis_C_ACLiC_dict.h> !!!
> Error:
> /cvmfs/atlas.cern.ch/software/manageTier3SW/ATLASLocalRootBase/Athena/i686_slc5_gcc43_opt/16.6.4/sw/lcg/app/releases/ROOT/5.26.00e_python2.6/i686-slc5-gcc43-opt/root/bin/rootcint
> <http://atlas.cern.ch/software/manageTier3SW/ATLASLocalRootBase/Athena/i686_slc5_gcc43_opt/16.6.4/sw/lcg/app/releases/ROOT/5.26.00e_python2.6/i686-slc5-gcc43-opt/root/bin/rootcint>:
> error loading headers...
> Error in <ACLiC>: Dictionary generation failed!
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXxx
>
>
> Can anybody suggest whats wrong I am doing.
>
> H.Bawa
>
Received on Mon Aug 01 2011 - 17:10:09 CEST

This archive was generated by hypermail 2.2.0 : Mon Aug 01 2011 - 17:50:01 CEST