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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computing
cbmroot
Commits
b3a0fac2
Commit
b3a0fac2
authored
2 years ago
by
Valentina Akishina
Browse files
Options
Downloads
Patches
Plain Diff
L1 remove time correction for MUCH hit, correct create_mcbm_geo_setup.C
parent
2ad7d788
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1087
L1: remove time sorting when event is present, remove zero detector hits, bug...
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
macro/run/create_mcbm_geo_setup.C
+2
-2
2 additions, 2 deletions
macro/run/create_mcbm_geo_setup.C
reco/L1/CbmL1ReadEvent.cxx
+1
-1
1 addition, 1 deletion
reco/L1/CbmL1ReadEvent.cxx
with
3 additions
and
3 deletions
macro/run/create_mcbm_geo_setup.C
+
2
−
2
View file @
b3a0fac2
...
...
@@ -2,7 +2,7 @@
SPDX-License-Identifier: GPL-3.0-only
Authors: Pierre-Alain Loizeau [committer] */
void
create_mcbm_geo_setup
(
uint64_t
ulRunId
)
void
create_mcbm_geo_setup
(
uint64_t
ulRunId
,
const
std
::
string
&
sOutputDir
=
"data/"
)
{
/// Do automatic mapping
std
::
string
sSetupName
=
""
;
...
...
@@ -14,7 +14,7 @@ void create_mcbm_geo_setup(uint64_t ulRunId)
std
::
cout
<<
"Error in mapping from runID to setup name: "
<<
e
.
what
()
<<
std
::
endl
;
return
;
}
std
::
string
sPath
=
"data
/"
+
sSetupName
;
std
::
string
sPath
=
sOutputDir
+
"
/"
+
sSetupName
;
if
(
gSystem
->
AccessPathName
(
Form
(
"%s.geo.root"
,
sPath
.
data
())))
{
std
::
string
sSrcDir
=
gSystem
->
Getenv
(
"VMCWORKDIR"
);
// top source directory
std
::
string
sTransportMacro
=
sSrcDir
+
"/macro/mcbm/mcbm_transport.C"
;
...
...
This diff is collapsed.
Click to expand it.
reco/L1/CbmL1ReadEvent.cxx
+
1
−
1
View file @
b3a0fac2
...
...
@@ -900,7 +900,7 @@ void CbmL1::ReadEvent(float& TsStart, float& TsLength, float& /*TsOverlap*/, int
th
.
iStation
=
stIdx
;
//h->GetStationNr() - 1;
//Get time
th
.
time
=
h
->
GetTime
()
-
14.5
;
th
.
time
=
h
->
GetTime
();
th
.
dt
=
h
->
GetTimeError
();
...
...
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