Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SLambdaJetHunter.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SLambdaJetHunter.cc
1 // ----------------------------------------------------------------------------
2 // 'SLambdaJetHunter.cc'
3 // Derek Anderson
4 // 01.25.2024
5 //
6 // A minimal analysis module to find lambda-tagged
7 // jets in pythia events.
8 // ----------------------------------------------------------------------------
9 
10 #define SLAMBDAJETHUNTER_CC
11 
12 // f4a utilities
14 // phool utilities
15 #include <phool/PHCompositeNode.h>
16 // analysis utilities
17 #include "SLambdaJetHunter.h"
18 #include "SLambdaJetHunter.ana.h"
19 #include "SLambdaJetHunter.sys.h"
20 #include "SLambdaJetHunterConfig.h"
21 
22 // make common namespaces implicit
23 using namespace std;
24 using namespace fastjet;
25 using namespace SColdQcdCorrelatorAnalysis::SCorrelatorUtilities;
26 
27 
28 
29 namespace SColdQcdCorrelatorAnalysis {
30 
31  // ctor/dtor ----------------------------------------------------------------
32 
33  SLambdaJetHunter::SLambdaJetHunter(const string &name, const bool debug) : SubsysReco(name) {
34 
35  if (debug) {
36  cout << "SLambdaJetHunter::SLambdaJetHunter(string&, bool) Calling ctor" << endl;
37  }
38 
39  } // end ctor(string&, bool)
40 
41 
42 
44 
45  m_config = config;
46  if (m_config.isDebugOn) {
47  cout << "SLambdaJetHunter::SLambdaJetHunter(SLambdaJetHunterConfig&) Calling ctor" << endl;
48  }
49 
50  } // end ctor(SLambdaJetHunter&)
51 
52 
53 
55 
56  if (m_config.isDebugOn) {
57  cout << "SLambdaJetHunter::~SLambdaJetHunter() Calling dtor" << endl;
58  }
59 
60  } // end dtor
61 
62 
63 
64  // f4a methods --------------------------------------------------------------
65 
67 
68  // print debug statement
69  if (m_config.isDebugOn) {
70  cout << "SLambdaJetHunter::Init(PHCompositeNode *topNode) Initializing" << endl;
71  }
72 
73  InitOutput();
74  InitTree();
76 
77  } // end 'Init(PHCompositeNode*)'
78 
79 
80 
82 
83  // print debug statement
84  if (m_config.isDebugOn) {
85  cout << "SLambdaJetHunter::process_event(PHCompositeNode *topNode) Processing Event" << endl;
86  }
87 
88  /* TODO processing goes here */
90 
91  } // end 'process_event(PHCompositeNode*)'
92 
93 
94 
96 
97  if (m_config.isDebugOn) {
98  cout << "SLambdaJetHunter::End(PHCompositeNode *topNode) This is the End..." << endl;
99  }
100 
103 
104  }
105 
106 } // end SColdQcdCorrelatorAnalysis namespace
107 
108 // end ------------------------------------------------------------------------