Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
d2a0ad93
Commit
d2a0ad93
authored
2 years ago
by
Markus Frank
Committed by
MarkusFrankATcernch
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Improve DDDigi doc
parent
f7b44beb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
DDDigi/README.md
+8
-8
8 additions, 8 deletions
DDDigi/README.md
DDDigi/src/DigiAttenuator.cpp
+0
-2
0 additions, 2 deletions
DDDigi/src/DigiAttenuator.cpp
with
8 additions
and
10 deletions
DDDigi/README.md
+
8
−
8
View file @
d2a0ad93
...
...
@@ -72,14 +72,14 @@ energy deposits of the simulation.
Deposit attenuator for energy deposits according to decay time constant.
<br/>
Properties:
<br/>
|
**Property**
|
**Data type**
|
**Description**
|
|:--- |:--- |:--- |
|
`.input`
| vector
<string>
| List of input files to be processed |
|
`.
attenuate_history`
| boolean
| Pro
pagate the weight also to the history entries. default: true
|
|
`.processor_type`
| string
|
Processor type used for single container attenuation default:
`DigiAttenuator`
|
|
`.containers`
| vector
<string>
| List of containers to be attenuated. |
|
`.signal_decay`
| string | Decay function. default:
`exponential`
|
|
`.t0`
| double | Time constant for exponential signal decay. |
|
**Property**
|
**Data type**
|
**Description**
|
|:---
|:--- |:--- |
|
`.input`
| vector
<string>
| List of input files to be processed |
|
`.
processor_type`
| string
| Pro
cessor type used for single container attenuation.
|
|
|
| default:
`DigiAttenuator`
|
|
`.containers`
| vector
<string>
| List of containers to be attenuated. |
|
`.signal_decay`
| string
| Decay function. default:
`exponential`
|
|
`.t0`
| double | Time constant for exponential signal decay. |
...
...
This diff is collapsed.
Click to expand it.
DDDigi/src/DigiAttenuator.cpp
+
0
−
2
View file @
d2a0ad93
...
...
@@ -48,8 +48,6 @@ DigiAttenuator::attenuate(T& cont, const predicate_t& predicate) const {
for
(
auto
&
dep
:
cont
)
{
if
(
predicate
(
dep
)
)
{
dep
.
second
.
deposit
*=
m_factor
;
if
(
!
m_attenuate_history
)
continue
;
auto
&
e
=
dep
.
second
.
history
;
for
(
auto
&
h
:
e
.
hits
)
h
.
weight
*=
m_factor
;
for
(
auto
&
h
:
e
.
particles
)
h
.
weight
*=
m_factor
;
...
...
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