Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Detector
Manage
Activity
Members
Labels
Plan
Issues
39
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
45
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
LHCb
Detector
Merge requests
!155
calo to v3 tracks
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
calo to v3 tracks
mveghel-calo2v3tracks
into
master
Overview
1
Commits
1
Pipelines
1
Changes
1
Merged
Maarten Van Veghel
requested to merge
mveghel-calo2v3tracks
into
master
2 years ago
Overview
1
Commits
1
Pipelines
1
Changes
1
Expand
Needed for
Rec!2547 (merged)
👍
0
👎
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
67872791
1 commit,
2 years ago
1 file
+
19
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Detector/Calo/include/Detector/Calo/DeCalorimeter.h
+
19
−
0
Options
@@ -29,6 +29,25 @@ namespace LHCb::Detector::Calo {
/// definition of calorimeter planes
enum
Plane
{
Front
=
0
,
Middle
,
ShowerMax
,
Back
};
inline
std
::
string
toString
(
Plane
e
)
{
switch
(
e
)
{
case
Plane
::
Front
:
return
"Front"
;
case
Plane
::
ShowerMax
:
return
"ShowerMax"
;
case
Plane
::
Middle
:
return
"Middle"
;
case
Plane
::
Back
:
return
"Back"
;
default:
throw
"Not a correct plane in Calo"
;
}
}
inline
std
::
ostream
&
toStream
(
Plane
e
,
std
::
ostream
&
os
)
{
return
os
<<
std
::
quoted
(
toString
(
e
),
'\''
);
}
inline
std
::
ostream
&
operator
<<
(
std
::
ostream
&
s
,
Plane
e
)
{
return
toStream
(
e
,
s
);
}
namespace
detail
{
struct
DeCaloObject
:
LHCb
::
Detector
::
detail
::
DeIOVObject
{
Loading