source: huonglan/ANA2011/goData12July.C

Last change on this file was 6, checked in by huonglan, 13 years ago

first full version of 2011 analysis

File size: 1.6 KB
Line 
1//has been changed to use for data 2011
2{
3  //gROOT->ProcessLine(".L Particle.C++g");
4  //gROOT->ProcessLine(".L ./egammaAnalysisUtils/CaloIsoCorrection.C++g");
5
6  gSystem->Load("Particle_C.so");
7  gSystem->Load("EGammaOQ_2011/checkOQ_C.so");
8  gSystem->Load("EventShape_h.so");
9  gSystem->Load("Thrust_func_collection_C.so");
10  gSystem->Load("JetID_v2.0_cpp.so");
11  gSystem->Load("list_C.so");
12
13  TString incp = "-I$ROOTSYS/include";
14  incp.Append(" -IPileupReweighting");
15  incp.Append(" -IegammaAnalysisUtils");
16  incp.Append(" -IMuonEfficiencyCorrections");
17  incp.Append(" -ICalibrationDataInterface");
18  gSystem->SetIncludePath(incp.Data()); 
19
20  gSystem->Load("egammaAnalysisUtils/StandAlone/libegammaAnalysisUtils.so");
21  gSystem->Load("PileupReweighting/StandAlone/PileupReweightingLib.so");
22  gSystem->Load("CaloIsoCorrection_cxx.so");
23  gSystem->Load("Top_MET_Tool_00_00_04/Top_MET_cxx.so");
24  gSystem->Load("Top_MET_Tool_00_00_04/MET_Cleaning_Utils_cxx.so");
25
26  gSystem->Load("MuonEfficiencyCorrections/StandAlone/libMuonEfficiencyCorrections.so");
27  gSystem->Load("MuonMomentumCorrections/root/SmearingClass_cxx.so");
28  gSystem->Load("EnergyRescalerTool/EnergyRescaler_cxx.so");
29  gSystem->Load("CalibrationDataInterface/scripts/libBTagCalib.so");
30
31
32  //TString repBase   = "/data/atlas/huonglan/user.htran.skimRun00180710Muonsf371_m824_p530_p578_v7.110712135720/";
33  TString repBase   = "/data/atlas/huonglan/user.htran.skimRun00180710Egammaf371_m824_p530_p577_v7.110712135658/";
34
35  TChain *t = new TChain("physics");
36  t->Add(repBase+"*.root*");
37
38  cout << "Number of events " << t->GetEntries() << endl;
39
40  t->Process("ana2011.C+");
41 
42}
43
Note: See TracBrowser for help on using the repository browser.