ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/macros/rootlogon.C
Revision: 1.2
Committed: Tue Jun 3 07:21:28 2008 UTC (16 years, 11 months ago) by paus
Content type: text/plain
Branch: MAIN
Changes since 1.1: +7 -19 lines
Log Message:
Minor cleanup and adding examples (see MitSoft TWiki).

File Contents

# User Rev Content
1 paus 1.2 // $Id: rootlogon.C,v 1.1 2008/05/27 19:59:54 loizides Exp $
2 loizides 1.1
3     {
4 paus 1.2 if (gSystem->Getenv("CMSSW_VERSION")) {
5     TString str = gSystem->GetMakeSharedLib();
6     if (str.Contains("-m32")==0 && str.Contains("-m64")==0) {
7     str.ReplaceAll("g++", "g++ -m32");
8     gSystem->SetMakeSharedLib(str);
9 loizides 1.1 }
10     }
11 paus 1.2
12 loizides 1.1 gROOT->Macro("$CMSSW_BASE/src/MitAna/macros/setRootEnv.C+");
13     }