Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10664278
option_examples.C
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
option_examples.C
View Options
{
gSystem
->
Load
(
"libTree.so"
)
;
// needed with recent ROOT version
gSystem
->
Load
(
"libPhysics.so"
);
gSystem
->
Load
(
"libs/libJetCore.so"
);
gSystem
->
Load
(
"libs/libFastJet.so"
);
gSystem
->
Load
(
"libs/libCDFJet.so"
);
using
namespace
SpartyJet
;
StdTextInput
textinput
(
"/home/kurtisg/public_files/data_files/J5_Clusters.dat"
);
JetBuilder
builder
;
builder
.
configure_input
((
InputMaker
*
)
&
textinput
);
fastjet
::
SISConeFinder
*
sisconetool
=
new
fastjet
::
SISConeFinder
();
sisconetool
->
set_saveSplitMerged
(
true
);
builder
.
add_default_alg
(
sisconetool
);
cdf
::
JetCluFinder
*
jetclutool
=
new
cdf
::
JetCluFinder
();
jetclutool
->
set_saveSplitMerged
(
true
);
builder
.
add_default_alg
(
jetclutool
);
cdf
::
MidPointFinder
*
midpointtool
=
new
cdf
::
MidPointFinder
();
midpointtool
->
set_saveSplitMerged
(
true
);
builder
.
add_default_alg
(
midpointtool
);
//add ysplitter tool
fastjet
::
YSplitterTool
*
ysplitter
=
new
fastjet
::
YSplitterTool
(
0.7
,
false
,
2
);
builder
.
add_moments
(
ysplitter
);
builder
.
set_default_cut
(
0
,
1
*
textinput
.
getGeV
());
builder
.
add_text_output
(
"data/output/text_option_examples.dat"
);
builder
.
configure_output
(
"SpartyJet_Tree"
,
"data/output/option_examples.root"
);
builder
.
process_events
(
10
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 24, 6:35 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4817055
Default Alt Text
option_examples.C (1 KB)
Attached To
rSPARTYJETSVN spartyjetsvn
Event Timeline
Log In to Comment