Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:24:16

0001 {
0002   char name[4096],stub[1024];
0003   sprintf(name,"%s/src",getenv("CMSSW_BASE"));
0004   gROOT->GetInterpreter()->AddIncludePath(name);
0005   sprintf(name,"%s/src",getenv("CMSSW_RELEASE_BASE"));
0006   gROOT->GetInterpreter()->AddIncludePath(name);
0007   sprintf(name,"%s/include",getenv("SEAL"));
0008   gROOT->GetInterpreter()->AddIncludePath(name);
0009   sprintf(name,"%s/%s/include",getenv("SEAL"),getenv("SCRAMRT_CMS_SYS"));
0010   gROOT->GetInterpreter()->AddIncludePath(name);
0011   //ccla
0012   sprintf(name,"%s/include",getenv("CLHEP_PARAM_PATH"));
0013 
0014   gROOT->GetInterpreter()->AddIncludePath(name);
0015 // Get the BOOST include path!
0016   char* ldl=getenv("LD_LIBRARY_PATH");
0017   char* pos=strstr(ldl,"boost");
0018   char* pp;
0019   for (pp=pos;*pp!=':' && pp!=ldl; pp--);
0020   if (*pp==':') pp++;
0021   pos=strstr(pp,"lib");
0022   memset(stub,0,1000); // zero it out
0023   for (int i=0; pp!=pos; pp++) 
0024     stub[i++]=*pp;
0025   sprintf(name,"%sinclude/boost-1_33_1",stub);
0026   gROOT->GetInterpreter()->AddIncludePath(name);
0027 
0028   sprintf(name,"-L%s/lib/%s",getenv("CMSSW_BASE"),getenv("SCRAMRT_CMS_SYS"));
0029   gSystem->AddLinkedLibs(name);
0030   sprintf(name,"-L%s/lib/%s",getenv("CMSSW_RELEASE_BASE"),getenv("SCRAMRT_CMS_SYS"));
0031   gSystem->AddLinkedLibs(name);
0032   gSystem->AddLinkedLibs("-lDataFormatsJetReco");
0033   //ccla 
0034   gSystem->AddLinkedLibs("-lSimDataFormatsHepMCProduct");
0035   //gSystem->AddLinkedLibs("-lDataFormatsMETReco");
0036   //gSystem->AddLinkedLibs("-lDataFormatsMETObjects");
0037 }