86 |
|
|
87 |
|
if( !m_lumiFileName.empty() ){ |
88 |
|
|
89 |
– |
// TFile *testfile = new TFile( "/afs/naf.desy.de/user/p/peiffer/CMSSW_5_2_3_patch4/src/UHHAnalysis/NtupleWriter/test.root", "READ"); |
90 |
– |
|
91 |
– |
// TTree *testTr = (TTree*)testfile->Get( "AnalysisTree" ); |
92 |
– |
|
93 |
– |
// TString* testString; |
94 |
– |
// testTr->SetBranchAddress( "HLTpath", &testString); |
95 |
– |
|
96 |
– |
// for( Int_t ientry = 0; ientry<testTr->GetEntries(); ientry++){ |
97 |
– |
// testTr->GetEntry( ientry ); |
98 |
– |
// std::cout << testString->Data() << std::endl; |
99 |
– |
// } |
100 |
– |
// testfile->Close(); |
101 |
– |
|
89 |
|
TFile *lumifile = new TFile( grl_dir + m_lumiFileName.c_str(), "READ"); |
90 |
|
if( lumifile == NULL ){ |
91 |
|
m_logger << FATAL << "Lumi File \"" << m_lumiFileName << "\" doesn't exist or cannot be opened!" |
100 |
|
exit(-1); |
101 |
|
} |
102 |
|
|
103 |
+ |
m_logger << INFO << "Set directory to \"" << grl_dir << "\"." << SLogger::endmsg; |
104 |
+ |
|
105 |
|
m_logger << INFO << "Using LumiFile \"" << m_lumiFileName |
106 |
|
<< "\", luminosity calculation with Trigger \"" << m_triggerName << "\"!" << SLogger::endmsg; |
107 |
|
|