Skip to content
Snippets Groups Projects
Commit d1853b22 authored by Adrien Matta's avatar Adrien Matta :skull_crossbones:
Browse files

* Adding option to choose direction of resistive strip in DSSD scorer

parent 8a1e07ae
No related branches found
No related tags found
No related merge requests found
...@@ -352,7 +352,7 @@ void Helios::InitializeScorers() { ...@@ -352,7 +352,7 @@ void Helios::InitializeScorers() {
// Otherwise the scorer is initialised // Otherwise the scorer is initialised
G4VPrimitiveScorer* Resistive = G4VPrimitiveScorer* Resistive =
new DSSDScorers::PS_Resistive("Resistive", 1, Helios_NS::WaferLength, Helios_NS::WaferWidth, 1); new DSSDScorers::PS_Resistive("Resistive", "z", 1, Helios_NS::WaferLength, Helios_NS::WaferWidth, 1);
// and register it to the multifunctionnal detector // and register it to the multifunctionnal detector
m_HeliosScorer->RegisterPrimitive(Resistive); m_HeliosScorer->RegisterPrimitive(Resistive);
G4VPrimitiveScorer* Inter = new InteractionScorers::PS_Interactions("Resistive", ms_InterCoord, 1); G4VPrimitiveScorer* Inter = new InteractionScorers::PS_Interactions("Resistive", ms_InterCoord, 1);
......
...@@ -338,9 +338,9 @@ void SuperX3::InitializeScorers() { ...@@ -338,9 +338,9 @@ void SuperX3::InitializeScorers() {
//..... resistive starts.. //..... resistive starts..
G4VPrimitiveScorer* resistivestrip = G4VPrimitiveScorer* resistivestrip =
new DSSDScorers::PS_Resistive("resistivestrip", 1, SiliconFaceLength, SiliconFaceWidth, NbStrips); new DSSDScorers::PS_Resistive("resistivestrip", "y", 0, SiliconFaceLength, SiliconFaceWidth, NbStrips, 0);
G4VPrimitiveScorer* backstrip = G4VPrimitiveScorer* backstrip =
new DSSDScorers::PS_Rectangle("backstrip", 1, SiliconFaceLength, SiliconFaceWidth, 4, 1); new DSSDScorers::PS_Rectangle("backstrip", 0, SiliconFaceLength, SiliconFaceWidth, 4, 1, 0);
G4VPrimitiveScorer* interaction = new InteractionScorers::PS_Interactions("Interaction", ms_InterCoord, 0); G4VPrimitiveScorer* interaction = new InteractionScorers::PS_Interactions("Interaction", ms_InterCoord, 0);
//... resistive ends...... //... resistive ends......
......
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment