StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mainpage.h
1 /*
2  \mainpage
3 
4  \section Introduction Introduction
5 
6  The jet finding software consists of two separate software libraries: StJetFinder and StJetMaker.
7 
8  \subsection StJetFinder StJetFinder
9 
10  This library is essentially independent of the STAR framework.
11  It consists of a set of classes that encapsulate various jet finding algorithms. These algorithms
12  are implemented so that they operate on a list of four-vector measurements. Thus, the algorithms
13  will work equally well (and easily) on measurements from various STAR subsystems, or the results
14  of a pQCD Monte-Carlo calculation.
15 
16  \subsection StJetMaker StJetMaker
17 
18  This library provides the necessary interface to the STAR framework to run the jet
19  finding algorithms. Roughly put, this consists of software to:
20  <p>
21  Wrap subsystem measurements (tracks, towers, etc) into four momenta. This happens in StEmcTpcFourPMaker.
22  <p>
23  Instantiate and run the jet algorithms. This is handled by StJetMaker, which outsources the
24  task to StppJetAnalyzer.
25  <p>
26  Store the results in a persistent fashion. The results of a given algorithm are stored as
27  an StJets object that is hung as a branch on the jet TTree. This tree is saved to file. These
28  tasks are handled by StJetMaker
29  <p>
30  Read the jet TTree back into memory after jet finding, i.e. in another root session. The tree
31  can be read into memory and correlated with the corresponding StMuDst TTree that actually is
32  stored in a different file. This is handled by StJetReader.
33 
34  \section Using Using the code
35  \subsection Getting Getting the code
36  The code is now in cvs and builds and runs under DEV. To get a local copy of the code yourself, do:
37  <p>
38  cvs co StRoot/StJetFinder
39  <p>
40  cvs co StRoot/StJetMaker
41  <p>
42  cons -noR +StJ
43 
44  \subsection Finder Running the jet finder
45  To run the jet finder do:
46  <p>
47  root4star -b -q StRoot/StJetMaker/RunJetFinder.C
48  <p>
49  This will read a MuDst.root file and run both the cone and kt cluster jet finders, storing
50  the output jet TTree in a file called Jets_out_emc.root And that's it! To change the parameters
51  of the jet finders used, or change the track cuts, see lines 59-86 of RunJetReader.C. You can
52  add as many jet finders as you like, and you can use whatever track/jet cuts you like.
53 
54  \subsection Reader Running the jet reader
55  To run the jet reader do:
56  <p>
57  root4star -b -q StRoot/StJetMaker/RunJetReader.C
58  <p>
59  This will read both the MuDst.root file and the jet TTree, which is stored in a separate file.
60  And that's it! You will see some information about the jets printed to the screen. To fill
61  your own histograms, simply write a function or class and follow the example found in
62  StJetMaker/StJetReader::exampleEventAna()
63 
64  \section References References
65  A useful first reference is Mike's thesis (star.physics.yale.edu/users/miller/Thesis.ps) and references therein.
66  Chapter 4 discuss the basics of jet finding and points to the most current references in the HEP community.
67  Appendix A briefly documents the general code design.
68 
69  */