ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/macros/rootlogon.C
Revision: 1.1
Committed: Tue May 27 19:59:54 2008 UTC (16 years, 11 months ago) by loizides
Content type: text/plain
Branch: MAIN
Log Message:
cosmetics.

File Contents

# User Rev Content
1 loizides 1.1 // $Id: rootlogon.C 2637 2006-03-06 23:53:38Z loizides $
2    
3     {
4     if(1) {
5     if(gSystem->Getenv("CMSSW_VERSION")) {
6     if(gSystem->Load("libFWCoreFWLite.so")==0) {
7     AutoLibraryLoader::enable();
8     //AutoLibraryLoader::loadAll();
9    
10     ::Info("rootlogon.C",
11     "Setting up for %s", gSystem->Getenv("CMSSW_VERSION"));
12     }
13    
14     if(1) {
15     TString str = gSystem->GetMakeSharedLib();
16     if(str.Contains("-m32")==0 && str.Contains("-m64")==0) {
17     str.ReplaceAll("g++", "g++ -m32");
18     gSystem->SetMakeSharedLib(str);
19     }
20     }
21     }
22     }
23    
24     gROOT->Macro("$CMSSW_BASE/src/MitAna/macros/setRootEnv.C+");
25     }