Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
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
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
Grigory Kozlov
cbmroot
Commits
df38a54b
Commit
df38a54b
authored
1 year ago
by
Apar Agarwal
Committed by
Pierre-Alain Loizeau
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Changes now accommodate odd number of pads in a sector
parent
511c2dad
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
core/detectors/much/CbmMuchSectorRadial.cxx
+5
-5
5 additions, 5 deletions
core/detectors/much/CbmMuchSectorRadial.cxx
external/InstallGeometry.cmake
+1
-1
1 addition, 1 deletion
external/InstallGeometry.cmake
external/InstallParameter.cmake
+1
-1
1 addition, 1 deletion
external/InstallParameter.cmake
with
7 additions
and
7 deletions
core/detectors/much/CbmMuchSectorRadial.cxx
+
5
−
5
View file @
df38a54b
/* Copyright (C) 2012-2020 Petersburg Nuclear Physics Institute named by B.P.Konstantinov of National Research Centre "Kurchatov Institute", Gatchina
SPDX-License-Identifier: GPL-3.0-only
Authors: Evgeny Kryshen [committer], Florian Uhlig */
Authors: Evgeny Kryshen [committer], Florian Uhlig
, Apar Agarwal
*/
/** CbmMuchSectorRadial.cxx
*@author E.Kryshen <e.kryshen@gsi.de>
...
...
@@ -37,10 +37,10 @@ CbmMuchSectorRadial::CbmMuchSectorRadial(Int_t detId, Int_t secId, Double_t r1,
,
fPhi2
(
0.
)
,
fPadDphi
((
r2
-
r1
)
/
r1
)
{
if
(
phi2
<
phi1
)
LOG
(
error
)
<<
"
Panic!
"
;
fNChannels
=
2
*
TMath
::
Ceil
((
phi2
-
phi1
)
/
2
/
fPadDphi
);
fPhi1
=
(
phi1
+
phi2
)
/
2
-
fNChannels
/
2
*
fPadDphi
;
fPhi2
=
(
phi1
+
phi2
)
/
2
+
fNChannels
/
2
*
fPadD
phi
;
if
(
phi2
<
phi1
)
LOG
(
error
)
<<
"
Error in description of module paramaters (phi1 > phi2)
"
;
fNChannels
=
TMath
::
Ceil
((
(
phi2
-
phi1
)
/
fPadDphi
)
-
DBL_EPSILON
)
;
fPhi1
=
phi1
;
fPhi2
=
phi
2
;
}
// -----------------o--------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
external/InstallGeometry.cmake
+
1
−
1
View file @
df38a54b
set
(
GEOMETRY_VERSION
c7d89e005b1f1d0baed271e5fe292886a13201c3
)
set
(
GEOMETRY_VERSION
8fbf605d896cda44147236453e6026a424291900
)
set
(
GEOMETRY_SRC_URL
"https://git.cbm.gsi.de/CbmSoft/cbmroot_geometry.git"
)
...
...
This diff is collapsed.
Click to expand it.
external/InstallParameter.cmake
+
1
−
1
View file @
df38a54b
set
(
PARAMETER_VERSION
6e29512b5db4315f7307573460093546f70f079b
)
set
(
PARAMETER_VERSION
8e6118215398a0517712af64557100cf3fae2fde
)
set
(
PARAMETER_SRC_URL
"https://git.cbm.gsi.de/CbmSoft/cbmroot_parameter.git"
)
...
...
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