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
391a32d9
Commit
391a32d9
authored
9 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
start adding SDActions to Module docs
parent
7ed9c49b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
DDG4/plugins/Geant4SDActions.cpp
+59
-0
59 additions, 0 deletions
DDG4/plugins/Geant4SDActions.cpp
DDG4/plugins/Geant4TrackerWeightedSD.cpp
+23
-0
23 additions, 0 deletions
DDG4/plugins/Geant4TrackerWeightedSD.cpp
with
82 additions
and
0 deletions
DDG4/plugins/Geant4SDActions.cpp
+
59
−
0
View file @
391a32d9
...
...
@@ -29,6 +29,16 @@ namespace DD4hep {
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Geant4SensitiveAction<Geant4Tracker>
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/** \addtogroup Geant4SDActionPlugin
*
* @{
* \package Geant4TrackerAction
*
* \brief Sensitive detector meant for tracking detectors, will produce one hit per step
*
* @}
*/
/// Define collections created by this sensitivie action object
template
<
>
void
Geant4SensitiveAction
<
Geant4Tracker
>::
defineCollections
()
{
...
...
@@ -75,6 +85,16 @@ namespace DD4hep {
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Geant4SensitiveAction<Calorimeter>
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/** \addtogroup Geant4SDActionPlugin
*
* @{
* \package Geant4CalorimeterAction
*
* \brief Sensitive detector meant for calorimeters
*
* @}
*/
/// Define collections created by this sensitivie action object
template
<
>
void
Geant4SensitiveAction
<
Geant4Calorimeter
>::
defineCollections
()
{
...
...
@@ -138,6 +158,16 @@ namespace DD4hep {
* \author M.Frank
* \version 1.0
* \ingroup DD4HEP_SIMULATION
* \addtogroup Geant4SDActionPlugin
*
* @{
* \package Geant4OpticalCalorimeterAction
*
* \brief Sensitive detector meant for optical calorimeters
*
* @}
*/
struct
Geant4OpticalCalorimeter
{};
...
...
@@ -187,6 +217,20 @@ namespace DD4hep {
// For scintillator with Geant4 BirksLaw effect
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/** \addtogroup Geant4SDActionPlugin
*
* @{
* \package Geant4ScintillatorCalorimeterAction
*
* \brief Sensitive detector meant for scintillator calorimeters
This sensitive action will apply Birks' law to the energy deposits
*
* @}
*/
struct
Geant4ScintillatorCalorimeter
{};
/// Define collections created by this sensitivie action object
...
...
@@ -251,6 +295,21 @@ namespace DD4hep {
* \version 1.0
* \ingroup DD4HEP_SIMULATION
*/
/** \addtogroup Geant4SDActionPlugin
*
* @{
* \package Geant4TrackerCombineAction
*
* \brief Sensitive detector meant for tracking detectors will combine
* multiple steps of the same track in the same sensitive volume into a
* single hit
*
* @}
*/
struct
TrackerCombine
{
typedef
Geant4HitCollection
HitCollection
;
Geant4Tracker
::
Hit
pre
,
post
;
...
...
This diff is collapsed.
Click to expand it.
DDG4/plugins/Geant4TrackerWeightedSD.cpp
+
23
−
0
View file @
391a32d9
...
...
@@ -44,6 +44,29 @@ namespace DD4hep {
* \version 1.0
* \ingroup DD4HEP_SIMULATION
*/
/** \addtogroup Geant4SDActionPlugin
*
* @{
* \package Geant4TrackerWeightedAction
*
* \brief Sensitive detector meant for tracking detectors with multiple ways to combine steps
\param integer HitPositionCombination
-# Use energy weights to define the position of the energy deposit
-# Set the hit position between the step pre and post point
-# Set the hit position to the position of the step pre point
-# Set the hit position to the position of the step post point
\param bool CollectSingleDeposits
- If true each step is written out
*
* @}
*/
struct
TrackerWeighted
{
typedef
Geant4HitCollection
HitCollection
;
...
...
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