Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
288 changes: 144 additions & 144 deletions README.md

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion at_interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ add_dependencies(main KFMan)
add_target_property(main COMPILE_FLAGS "-DDO_TPCCATRACKER_EFF_PERFORMANCE -DNonhomogeneousField -DCBM -DUSE_TIMERS")
target_link_libraries(main KFMan KFParticleSimple KFParticleInterface KFParticle Vc)

add_executable(main_json main_json.cpp)
add_dependencies(main_json KFMan)
add_target_property(main_json COMPILE_FLAGS "-DDO_TPCCATRACKER_EFF_PERFORMANCE -DNonhomogeneousField -DCBM -DUSE_TIMERS")
target_include_directories(main_json PRIVATE ${ROOT_INCLUDE_DIRS})
target_link_libraries(main_json KFMan KFParticleSimple KFParticleInterface KFParticle Vc)

install(TARGETS KFMan EXPORT KFManTargets
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
Expand All @@ -49,4 +55,4 @@ install(
lib
OPTIONAL
)
install (TARGETS main RUNTIME DESTINATION bin)
install (TARGETS main main_json RUNTIME DESTINATION bin)
42 changes: 42 additions & 0 deletions at_interface/configs/config_H3L_pidmode1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"io" : {
"input_treename" : "pTree", // "rTree" for standard analysistree, "pTree" after running PID-framework (for pid_mode > 2)
"rectracks_branchname" : "RecTracks", // "VtxTracks" for standard analyistree, "RecParticles" after running Pid-framework (for pid_mode > 2)
"n_events" : -1,
"save_options": ["make_plain_tree"]
},
"pid_mode" : 1, // pid mode: =0: no pid; =1: mc pid; =2: rec pid (default); =3: rec pid (max. purity & purity > min. purity); =4 (purity > min. purity)
// for 2-4: Pid-framework needs to be applied first
"decays" : [
{
"mother" : {
"name" : "H3L",
"pdg_code" : 3004,
"cuts" : {
"LdL" : 10.0,
"dist" : 0.2,
"distSV" : 0.2 //for 3-body decay
}
},
"daughters" : [
{
"pdg_code" : [2212],
"cuts" : {"chi2prim" : 18.42}
},
{
"pdg_code" : [-211],
"cuts" : {"chi2prim" : 18.42}
},
{
"pdg_code" : [1000010020],
"cuts" : {"chi2prim" : 10.0}
}
],
"secondary_mother_cuts" : { // for 3-body decay
// daugher 1 & 2, daughter 1 & 3, daughter 2 & 3
"chi2geo" : [3.0],
"chi2topo" : [2.0]
}
}
]
}
50 changes: 50 additions & 0 deletions at_interface/configs/config_H3L_pidmode4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"io" : {
"input_treename" : "pTree", // "rTree" for standard analysistree, "pTree" after running PID-framework (for pid_mode > 2)
"rectracks_branchname" : "RecTracks", // "VtxTracks" for standard analyistree, "RecParticles" after running Pid-framework (for pid_mode > 2)
"n_events" : -1,
"save_options": ["make_plain_tree"]
},
"pid_mode" : 4, // pid mode: =0: no pid; =1: mc pid; =2: rec pid (default); =3: rec pid (max. purity & purity > min. purity); =4 (purity > min. purity)
// for 2-4: Pid-framework needs to be applied first
"pid_purity" : { // this block is only needed in pid_mode > 2
"all_pdgs" : 0.5,
"protons" : 0.7,
"pions" : 0.7,
"kaons" : 0.7,
"deuterons" : 0.2,
"background" : 0.7
},
"decays" : [
{
"mother" : {
"name" : "H3L",
"pdg_code" : 3004,
"cuts" : {
"LdL" : 10.0,
"dist" : 0.2,
"distSV" : 0.2 //for 3-body decay
}
},
"daughters" : [
{
"pdg_code" : [2212],
"cuts" : {"chi2prim" : 18.42}
},
{
"pdg_code" : [-211],
"cuts" : {"chi2prim" : 18.42}
},
{
"pdg_code" : [1000010020],
"cuts" : {"chi2prim" : 10.0}
}
],
"secondary_mother_cuts" : { // for 3-body decay
// daugher 1 & 2, daughter 1 & 3, daughter 2 & 3
"chi2geo" : [3.0],
"chi2topo" : [2.0]
}
}
]
}
42 changes: 42 additions & 0 deletions at_interface/configs/config_He5L_pidmode1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"io" : {
"input_treename" : "pTree", // "rTree" for standard analysistree, "pTree" after running PID-framework (for pid_mode > 2)
"rectracks_branchname" : "RecTracks", // "VtxTracks" for standard analyistree, "RecParticles" after running Pid-framework (for pid_mode > 2)
"n_events" : -1,
"save_options": ["make_plain_tree"]
},
"pid_mode" : 1, // pid mode: =0: no pid; =1: mc pid; =2: rec pid (default); =3: rec pid (max. purity & purity > min. purity); =4 (purity > min. purity)
// for 2-4: Pid-framework needs to be applied first
"decays" : [
{
"mother" : {
"name" : "He5L",
"pdg_code" : 3007,
"cuts" : {
"LdL" : 5.0,
"dist" : 1.0,
"chi2geo" : 6.0,
"chi2topo" : 5.0
}
},
"daughters" : [
{
"pdg_code" : [1000020040],
"cuts" : {"chi2prim" : 18.42}
},
{
"pdg_code" : [-211],
"cuts" : {"chi2prim" : 18.42}
},
{
"pdg_code" : [2212],
"cuts" : {"chi2prim" : 18.42}
}
],
"secondary_mother_cuts" : { // for 3-body decay
// daugher 1 & 2, daughter 1 & 3, daughter 2 & 3
"chi2geo" : [3.0]
}
}
]
}
53 changes: 53 additions & 0 deletions at_interface/configs/config_lambda_k0short_pidmode1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"io" : {
"input_treename" : "rTree", // "rTree" for standard analysistree, "pTree" after running PID-framework (for pid_mode > 2)
"rectracks_branchname" : "VtxTracks", // "VtxTracks" for standard analyistree, "RecParticles" after running Pid-framework (for pid_mode > 2)
"n_events" : -1
},
"pid_mode" : 1, // pid mode: =0: no pid; =1: mc pid; =2: rec pid (default); =3: rec pid (max. purity & purity > min. purity); =4 (purity > min. purity)
// for 2-4: Pid-framework needs to be applied first
"decays" : [
{
"mother" : {
"name" : "Lambda",
"pdg_code" : 3122,
"cuts" : {
"dist" : 1,
"chi2geo" : 3,
"LdL" : 5
}
},
"daughters" : [
{
"pdg_code" : [-211],
"cuts" : {"chi2prim" : 18.42}
},
{
"pdg_code" : [2212],
"cuts" : {"chi2prim" : 18.42}
}
]
},
{
"mother" : {
"name" : "K0Short",
"pdg_code" : 310,
"cuts" : {
"dist" : 1,
"chi2geo" : 3,
"LdL" : 5
}
},
"daughters" : [
{
"pdg_code" : [-211],
"cuts" : {"chi2prim" : 18.42}
},
{
"pdg_code" : [211],
"cuts" : {"chi2prim" : 18.42}
}
]
}
]
}
33 changes: 33 additions & 0 deletions at_interface/configs/config_lambda_pidmode0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"io" : {
"input_treename" : "rTree", // "rTree" for standard analysistree, "pTree" after running PID-framework (for pid_mode > 2)
"rectracks_branchname" : "VtxTracks", // "VtxTracks" for standard analyistree, "RecParticles" after running Pid-framework (for pid_mode > 2)
"n_events" : -1,
"save_options": ["make_plain_tree"]
},
"pid_mode" : 0, // pid mode: =0: no pid; =1: mc pid; =2: rec pid (default); =3: rec pid (max. purity & purity > min. purity); =4 (purity > min. purity)
// for 2-4: Pid-framework needs to be applied first
"decays" : [
{
"mother" : {
"name" : "Lambda",
"pdg_code" : 3122,
"cuts" : {
"LdL" : 5.0,
"dist" : 1.0,
"chi2geo" : 3.0
}
},
"daughters" : [
{
"pdg_code" : [-211, -1],
"cuts" : {"chi2prim" : 18.42}
},
{
"pdg_code" : [2212, 1],
"cuts" : {"chi2prim" : 18.42}
}
]
}
]
}
34 changes: 34 additions & 0 deletions at_interface/configs/config_lambda_pidmode1_v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//(Lambda pid 1, cuts from KFParticle)
{
"io" : {
"input_treename" : "rTree", // "rTree" for standard analysistree, "pTree" after running PID-framework (for pid_mode > 2)
"rectracks_branchname" : "VtxTracks", // "VtxTracks" for standard analyistree, "RecParticles" after running Pid-framework (for pid_mode > 2)
"n_events" : -1,
"save_options": ["make_plain_tree"]
},
"pid_mode" : 1, // pid mode: =0: no pid; =1: mc pid; =2: rec pid (default); =3: rec pid (max. purity & purity > min. purity); =4 (purity > min. purity)
// for 2-4: Pid-framework needs to be applied first
"decays" : [
{
"mother" : {
"name" : "Lambda",
"pdg_code" : 3122,
"cuts" : {
"LdL" : 5.0,
"dist" : 1.0,
"chi2geo" : 3.0
}
},
"daughters" : [
{
"pdg_code" : [-211],
"cuts" : {"chi2prim" : 18.42}
},
{
"pdg_code" : [2212],
"cuts" : {"chi2prim" : 18.42}
}
]
}
]
}
35 changes: 35 additions & 0 deletions at_interface/configs/config_lambda_pidmode1_v2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
//(Lambda pid 1, cuts optimized)
{
"io" : {
"input_treename" : "rTree", // "rTree" for standard analysistree, "pTree" after running PID-framework (for pid_mode > 2)
"rectracks_branchname" : "VtxTracks", // "VtxTracks" for standard analyistree, "RecParticles" after running Pid-framework (for pid_mode > 2)
"n_events" : -1,
"save_options": ["make_plain_tree"]
},
"pid_mode" : 1, // pid mode: =0: no pid; =1: mc pid; =2: rec pid (default); =3: rec pid (max. purity & purity > min. purity); =4 (purity > min. purity)
// for 2-4: Pid-framework needs to be applied first
"decays" : [
{
"mother" : {
"name" : "Lambda",
"pdg_code" : 3122,
"cuts" : {
"LdL" : 4.0,
"dist" : 0.15,
"chi2geo" : 11.0,
"chi2topo" : 29.0
}
},
"daughters" : [
{
"pdg_code" : [-211],
"cuts" : {"chi2prim" : 110.00}
},
{
"pdg_code" : [2212],
"cuts" : {"chi2prim" : 26.00, "cos" : 0.99825}
}
]
}
]
}
39 changes: 39 additions & 0 deletions at_interface/configs/config_lambda_pidmode1_v3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"io" : {
"input_treename" : "rTree", // "rTree" for standard analysistree, "pTree" after running PID-framework (for pid_mode > 2)
"rectracks_branchname" : "VtxTracks", // "VtxTracks" for standard analyistree, "RecParticles" after running Pid-framework (for pid_mode > 2)
"n_events" : -1,
"save_options": ["signal_only"]
},
"pid_mode" : 1, // pid mode: =0: no pid; =1: mc pid; =2: rec pid (default); =3: rec pid (max. purity & purity > min. purity); =4 (purity > min. purity)
// for 2-4: Pid-framework needs to be applied first
"decays" : [
{
"mother" : {
"name" : "Lambda",
"pdg_code" : 3122,
"cuts" : {
"dist" : 100.0,
"chi2geo" : 1000.0
}
},
"daughters" : [
{
"pdg_code" : [-211]
},
{
"pdg_code" : [2212]
}
]
}
],
"output_cuts" : [
{"var" : "mass", "from" : 1.07, "to" : 1.2},
{"var" : "x", "from" : -50, "to" : 50},
{"var" : "y", "from" : -50, "to" : 50},
{"var" : "distance", "from" : 0, "to" : 100},
{"var" : "eta", "from" : 1, "to" : 6.5},
{"var" : "chi2_topo", "from" : 0, "to" : 100000},
{"var" : "chi2_geo", "from" : 0, "to" : 1000}
]
}
33 changes: 33 additions & 0 deletions at_interface/configs/config_lambda_pidmode2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"io" : {
"input_treename" : "pTree", // "rTree" for standard analysistree, "pTree" after running PID-framework (for pid_mode > 2)
"rectracks_branchname" : "RecTracks", // "VtxTracks" for standard analyistree, "RecParticles" after running Pid-framework (for pid_mode > 2)
"n_events" : -1,
"save_options": ["make_plain_tree"]
},
"pid_mode" : 2, // pid mode: =0: no pid; =1: mc pid; =2: rec pid (default); =3: rec pid (max. purity & purity > min. purity); =4 (purity > min. purity)
// for 2-4: Pid-framework needs to be applied first
"decays" : [
{
"mother" : {
"name" : "Lambda",
"pdg_code" : 3122,
"cuts" : {
"LdL" : 5.0,
"dist" : 1.0,
"chi2geo" : 3.0
}
},
"daughters" : [
{
"pdg_code" : [-211, -2],
"cuts" : {"chi2prim" : 18.42}
},
{
"pdg_code" : [2212, 2],
"cuts" : {"chi2prim" : 18.42}
}
]
}
]
}
Loading
Loading