Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computing
cbmroot
Commits
99777b5f
Commit
99777b5f
authored
5 months ago
by
Frederic Julian Linz
Committed by
Florian Uhlig
5 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Hypernuclei masses in AnalysisTree
parent
bb1d0070
No related branches found
No related tags found
1 merge request
!2105
Hypernuclei masses in AnalysisTree
Pipeline
#34700
passed
5 months ago
Stage: build
Stage: package
Stage: verify
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
macro/PWG/common/production/run_analysis_tree_maker_json_config.C
+14
-0
14 additions, 0 deletions
...G/common/production/run_analysis_tree_maker_json_config.C
with
14 additions
and
0 deletions
macro/PWG/common/production/run_analysis_tree_maker_json_config.C
+
14
−
0
View file @
99777b5f
...
@@ -203,6 +203,20 @@ void run_analysis_tree_maker_json_config(std::string traList = "", TString rawPa
...
@@ -203,6 +203,20 @@ void run_analysis_tree_maker_json_config(std::string traList = "", TString rawPa
// ----- Intialise and run --------------------------------------------
// ----- Intialise and run --------------------------------------------
run
->
Init
();
run
->
Init
();
KFPartEfficiencies
eff
;
for
(
int
jParticle
=
eff
.
fFirstHypernucleusIndex
;
jParticle
<=
eff
.
fLastHypernucleusIndex
;
jParticle
++
)
{
TDatabasePDG
*
pdgDB
=
TDatabasePDG
::
Instance
();
pdgDB
->
AddParticle
(
eff
.
partTitle
[
jParticle
].
data
(),
eff
.
partTitle
[
jParticle
].
data
(),
eff
.
partMass
[
jParticle
],
kTRUE
,
0
,
eff
.
partCharge
[
jParticle
]
*
3
,
"Ion"
,
eff
.
partPDG
[
jParticle
]);
}
for
(
int
jParticle
=
eff
.
fFirstStableParticleIndex
+
10
;
jParticle
<=
eff
.
fLastStableParticleIndex
;
jParticle
++
)
{
TDatabasePDG
*
pdgDB
=
TDatabasePDG
::
Instance
();
if
(
!
pdgDB
->
GetParticle
(
eff
.
partPDG
[
jParticle
]))
{
pdgDB
->
AddParticle
(
eff
.
partTitle
[
jParticle
].
data
(),
eff
.
partTitle
[
jParticle
].
data
(),
eff
.
partMass
[
jParticle
],
kTRUE
,
0
,
eff
.
partCharge
[
jParticle
]
*
3
,
"Ion"
,
eff
.
partPDG
[
jParticle
]);
}
}
std
::
cout
<<
"Starting run"
<<
std
::
endl
;
std
::
cout
<<
"Starting run"
<<
std
::
endl
;
run
->
Run
(
nEvents
);
run
->
Run
(
nEvents
);
// ------------------------------------------------------------------------
// ------------------------------------------------------------------------
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment