10 #ifndef SLAMBDAJETHUNTER_SYS_H
11 #define SLAMBDAJETHUNTER_SYS_H
21 namespace SColdQcdCorrelatorAnalysis {
25 void SLambdaJetHunter::InitTree() {
28 if (m_config.isDebugOn) {
29 cout <<
"SLambdaJetHunter::InitTree() Initializing output tree" << endl;
33 m_outTree =
new TTree(m_config.outTreeName.data(),
"A tree of lambda-tagged jets");
34 m_outTree ->
Branch(
"EvtInfo",
"GenInfo", &m_genEvtInfo, 32000, 99);
41 void SLambdaJetHunter::InitOutput() {
44 if (m_config.isDebugOn) {
45 cout <<
"SLambdaJetHunter::InitOuput() Initializing output file" << endl;
48 m_outFile =
new TFile(m_config.outFileName.data(),
"recreate");
50 cerr <<
"PANIC: couldn't open SLambdaJetHunter output file!" << endl;
59 void SLambdaJetHunter::SaveAndCloseOutput() {
62 if (m_config.isDebugOn) {
63 cout <<
"SLambdaJetHunter::SaveAndCloseOuput() Saving to output file and closing" << endl;