Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
physics_benchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
physics_benchmarks
Commits
e929f4cb
Commit
e929f4cb
authored
2 years ago
by
Dmitry Kalinkin
Browse files
Options
Downloads
Patches
Plain Diff
fix input output file strings
parent
b0f49bf1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/diffractive_vmp/analysis/diffractive_vm.cxx
+3
-4
3 additions, 4 deletions
benchmarks/diffractive_vmp/analysis/diffractive_vm.cxx
with
3 additions
and
4 deletions
benchmarks/diffractive_vmp/analysis/diffractive_vm.cxx
+
3
−
4
View file @
e929f4cb
...
@@ -77,7 +77,7 @@ int diffractive_vm(const std::string& config_name)
...
@@ -77,7 +77,7 @@ int diffractive_vm(const std::string& config_name)
fmt
::
print
(
" - pbeam: {}
\n
"
,
pbeam
);
fmt
::
print
(
" - pbeam: {}
\n
"
,
pbeam
);
auto
tree
=
new
TChain
(
"events"
);
auto
tree
=
new
TChain
(
"events"
);
tree
->
Add
(
rec_file
);
tree
->
Add
(
rec_file
.
c_str
()
);
TTreeReader
tree_reader
(
tree
);
// !the tree reader
TTreeReader
tree_reader
(
tree
);
// !the tree reader
TTreeReaderArray
<
int
>
mc_genStatus_array
=
{
tree_reader
,
"MCParticles.generatorStatus"
};
TTreeReaderArray
<
int
>
mc_genStatus_array
=
{
tree_reader
,
"MCParticles.generatorStatus"
};
...
@@ -108,9 +108,8 @@ TTreeReaderArray<float> reco_charge_array = {tree_reader, "ReconstructedChargedP
...
@@ -108,9 +108,8 @@ TTreeReaderArray<float> reco_charge_array = {tree_reader, "ReconstructedChargedP
TTreeReaderArray
<
unsigned
int
>
rec_id
=
{
tree_reader
,
"ReconstructedChargedParticlesAssociations.recID"
};
TTreeReaderArray
<
unsigned
int
>
rec_id
=
{
tree_reader
,
"ReconstructedChargedParticlesAssociations.recID"
};
TTreeReaderArray
<
unsigned
int
>
sim_id
=
{
tree_reader
,
"ReconstructedChargedParticlesAssociations.simID"
};
TTreeReaderArray
<
unsigned
int
>
sim_id
=
{
tree_reader
,
"ReconstructedChargedParticlesAssociations.simID"
};
TString
output_name_dir
=
outputfile
+
"_output.root"
;
std
::
string
output_file
=
output_prefix
+
"/output.root"
;
cout
<<
"Output file = "
<<
output_name_dir
<<
endl
;
TFile
*
output
=
new
TFile
(
output_file
.
c_str
(),
"RECREATE"
);
TFile
*
output
=
new
TFile
(
output_name_dir
,
"RECREATE"
);
//events
//events
TH1D
*
h_Q2_e
=
new
TH1D
(
"h_Q2_e"
,
";Q^{2}_{e,MC}"
,
100
,
0
,
20
);
TH1D
*
h_Q2_e
=
new
TH1D
(
"h_Q2_e"
,
";Q^{2}_{e,MC}"
,
100
,
0
,
20
);
...
...
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
register
or
sign in
to comment