Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Julian Blumenthal
athena
Commits
4a7d4c6c
Commit
4a7d4c6c
authored
3 years ago
by
Christos Anastopoulos
Browse files
Options
Downloads
Patches
Plain Diff
CaloCell, add overload for et on top of e and sinTh
parent
0d1b0e6d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Calorimeter/CaloEvent/CaloEvent/CaloCell.h
+8
-2
8 additions, 2 deletions
Calorimeter/CaloEvent/CaloEvent/CaloCell.h
with
8 additions
and
2 deletions
Calorimeter/CaloEvent/CaloEvent/CaloCell.h
+
8
−
2
View file @
4a7d4c6c
...
...
@@ -124,9 +124,10 @@ public:
virtual
double
cotTh
()
const
final
;
/** @brief get mass (hardcoded to be null) */
virtual
double
m
()
const
final
;
/** @brief get energy (data member) (synonym to method e() */
/** @brief get energy (data member) (synonym to method e
nergy
() */
virtual
double
e
()
const
final
;
/** @brief get et */
virtual
double
et
()
const
final
;
/** @brief get x (through CaloDetDescrElement) */
virtual
float
x
()
const
final
;
/** @brief get y (through CaloDetDescrElement) */
...
...
@@ -403,6 +404,11 @@ double CaloCell::cosPhi() const
return
m_caloDDE
->
cosPhi
();
}
inline
double
CaloCell
::
et
()
const
{
return
this
->
e
()
*
this
->
sinTh
();
}
inline
float
CaloCell
::
x
()
const
...
...
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