ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/ElectronStudies/macros/rootlogon.C
Revision: 1.3
Committed: Fri Jul 27 19:46:51 2012 UTC (12 years, 9 months ago) by anlevin
Content type: text/plain
Branch: MAIN
CVS Tags: compiled, HEAD
Changes since 1.2: +25 -23 lines
Log Message:
updated the apply electron energy regression script so that it creates a clone of the tree so that when it finishes you can draw the ttree from the command line

File Contents

# Content
1 // --> >// $Id: rootlogon.C,v 1.1 2012/07/17 14:08:54 anlevin Exp $
2 {
3 {
4 TString libstr(Form("%s/lib/%s/%s",
5 gSystem->Getenv("CMSSW_BASE"),
6 gSystem->Getenv("SCRAM_ARCH"),
7 "libCondFormatsEgammaObjects.so"));
8
9 gSystem->Load(libstr);
10 }
11 {
12 TString libstr(Form("%s/lib/%s/%s",
13 gSystem->Getenv("CMSSW_BASE"),
14 gSystem->Getenv("SCRAM_ARCH"),
15 "libMitEdmGBRTrain.so"));
16
17 gSystem->Load(libstr);
18 }
19 gSystem->AddIncludePath("-I$ROOFITSYS/include");
20 gSystem->AddIncludePath("-I$CMSSW_BASE/src/CondFormats/EgammaObjects/interface");
21 gSystem->AddIncludePath("-I$CMSSW_BASE/src/MitEdm/GBRTrain/interface");
22
23 gInterpreter->AddIncludePath((TString(":")+TString(gSystem->Getenv("CMSSW_BASE"))+
24 TString("/src/CondFormats/EgammaObjects/interface")).Data());
25 gInterpreter->AddIncludePath((TString(":")+TString(gSystem->Getenv("CMSSW_BASE"))+
26 TString("/src/MitEdm/GBRTrain/interface")).Data());
27 gInterpreter->AddIncludePath((TString(":")+TString(gSystem->Getenv("ROOFITSYS"))+
28 TString("/include")).Data());
29
30 }
31