Skip to content

1.25 mm pixel size #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
///// Uncomment these lines to run standalone
//SurroundingSphere 100.0 0.0 0.0 0.0 100.0
//Include ../materials/Materials.geo
/////

//This builds the ACD Detector totally made up numbers: 125cm x 125cm x 70cm
//The top and side panels will be different detectors.
Volume ACDDetector
ACDDetector.Material Vacuum
ACDDetector.Visibility 0
ACDDetector.Shape BRIK 52.5 52.5 0.75
// Include this to run stand-alone
//ACDDetector.Mother 0

Volume ACDSideDetector
ACDSideDetector.Material Vacuum
ACDSideDetector.Visibility 0
ACDSideDetector.Shape BRIK 52.5 0.75 35.
// Include this to run stand-alone
//ACDSideDetector.Mother 0

// Active ACD Panels Top and Sides
Volume topACDPanel
topACDPanel.Material PMTPlastic
topACDPanel.Visibility 1
topACDPanel.Color 3
topACDPanel.Shape BRIK 52.5 52.5 0.75
topACDPanel.Position 0. 0. 0.
topACDPanel.Mother ACDDetector

// this is plastic scintillator
Volume sideACDPanel
sideACDPanel.Material PMTPlastic
sideACDPanel.Visibility 1
sideACDPanel.Color 3
sideACDPanel.Shape BRIK 52.5 0.75 35.
sideACDPanel.Position 0. 0. 0.
sideACDPanel.Mother ACDSideDetector




Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// This is to define ACD as a scintillator


// Defining Top section
Scintillator topACD
topACD.SensitiveVolume topACDPanel

Scintillator sideACD
sideACD.SensitiveVolume sideACDPanel

topACD.TriggerThreshold 200
topACD.EnergyResolution Ideal
topACD.NoiseThresholdEqualsTriggerThreshold true

sideACD.TriggerThreshold 200
sideACD.EnergyResolution Ideal
sideACD.NoiseThresholdEqualsTriggerThreshold true
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
Name My_4x4AMEGO
Verision 0.0

Include ../../../../materials/Materials.geo
DefaultRangeCut 0.000002

SurroundingSphere 150.0 0.0 0.0 0.0 150.0

Volume World
World.Material Vacuum
World.Visibility 0
World.Color 0
World.Shape BRIK 500. 500. 500.
World.Mother 0

# This is our Tracker
Include SiStripDetector.geo
Include SiStripProperties.det

# This is our CsI calorimeter
Include CalorimeterCSIDetector.geo
Include CalorimeterCSIProperties.det

# This is our ACD
Include ACDDetector.geo
Include ACDProperties.det

# Builds the detector volumes
# move this down by 3 cm (from 70.25 to 67.25)
Volume ACD
ACD.Material Vacuum
ACD.Visibility 0
ACD.Shape BRIK 52.5 52.5 0.75
ACD.Position 0.0 0.0 67.25
ACD.Mother World

Volume Tracker
Tracker.Material Vacuum
Tracker.Visibility 0
Tracker.Shape BRIK 45. 45. 30.5
Tracker.Position 0. 0. 30.5
Tracker.Mother World

Volume CalCSI
CalCSI.Material Vacuum
CalCSI.Visibility 0
CalCSI.Shape BRIK 40.0 40.0 4.5
CalCSI.Position 0.0 0.0 -5.0
CalCSI.Mother World

# Adds towers to each of the detector volumes
For I 2 -22.5 45.0
For J 2 -22.5 45.0
SiStripDetector.Copy SiStripDetector_%I_%J
SiStripDetector_%I_%J.Position $I $J 0.0
SiStripDetector_1_1.Rotation 0.0 0.0 180.0
SiStripDetector_1_2.Rotation 0.0 0.0 90.0
SiStripDetector_2_1.Rotation 0.0 0.0 270.0
SiStripDetector_2_2.Rotation 0.0 0.0 0.0
SiStripDetector_%I_%J.Mother Tracker
Done
Done

For I 2 -20.0 40.0
For J 2 -20.0 40.0

CSIDetector.Copy CSIDetector_%I_%J
CSIDetector_%I_%J.Position $I $J 0.0
CSIDetector_%I_%J.Mother CalCSI
Done
Done


// building the sides of the ACD detector
//Move the ACD down by 3cm
For I 2 -53.25 106.5
For J 2 1 1
sideACDPanel.Copy ACDSide_Det_%I_%J
ACDSide_Det_%I_1.Position {$I} 0.0 32.25
ACDSide_Det_%I_2.Position 0.0 {$I} 32.25
ACDSide_Det_%I_1.Rotation 0.0 0.0 90.0
ACDSide_Det_%I_%J.Mother World
Done
Done

# Adds the ACD to the detector volume
ACDDetector.Copy ACD_Det
ACD_Det.Position 0. 0. 0.0
ACD_Det.Mother ACD

# Adds the Spacecraft Al box below the detector
# Single Al box 120cm x 120cm x 30 cm.
Include SC.geo
SCBody.Position 0.0 0.0 -27
SCBody.Mother World

# This in principle implements an ACD Veto trigger (any hits above threshold veto the event)
Trigger MainVetoTop
MainVetoTop.Veto true
MainVetoTop.TriggerByDetector true
MainVetoTop.Detector topACD 1

Trigger MainVetoSide
MainVetoSide.Veto true
MainVetoSide.TriggerByDetector true
MainVetoSide.Detector sideACD 1

# Base Triggers, require 1 hit in Si Detector and one hit in the CsI calorimeter
Trigger MainTriggerCsI
MainTriggerCsI.Veto false
MainTriggerCsI.TriggerByDetector true
MainTriggerCsI.Detector SStrip 2
MainTriggerCsI.Detector DCalCSI 1

#Si Only
Trigger SiOnly
SiOnly.Veto false
SiOnly.TriggerByDetector true
SiOnly.Detector SStrip 2


#Si + CsI
Trigger SingleSiCsI
SingleSiCsI.Veto false
SingleSiCsI.TriggerByDetector true
SingleSiCsI.Detector SStrip 1
SingleSiCsI.Detector DCalCSI 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
//Stacking 4 layers of CSI, total dimensions 50cm x 50cm x 8 cm
// each layer is 1.5 cm with .1 cm spacing between layers

///// Uncomment these lines to run standalone
//SurroundingSphere 100.0 0.0 0.0 0.0 100.0
//Include ../materials/Materials.geo
/////

Include CalorimeterCSILayer.geo
Include PassiveTrays.geo

//This builds one tower of the CsI Detector
Volume CSITower
CSITower.Material Vacuum
CSITower.Visibility 0
CSITower.Shape BRIK 20. 20. 4.5

// Add the CsI segment to the Hole in the passive tray
// If we remove the PassiveTray_Hole, add it to Block
// The CSISegments (layer of 26 bars each) are defined with the z-dimension as the long dimension so that position resolution can be measured along the length of the bar, therefore we need to rotate them here.
CSISegment.Copy CSISegment_Det
CSISegment_Det.Position 0.0 0.0 0.25
CSISegment_Det.Rotation 0 90 0
CSISegment_Det.Mother PassiveTray_Block
//CSISegment_Det.Position 0.0 0.0 0.0
//CSISegment_Det.Mother PassiveTray_Hole

//There are 4 calorimeter layers
For I 4 -3.25 2.0
PassiveTray_Volume.Copy PassiveTray_%I
PassiveTray_%I.Position 0.0 0.0 {$I}
PassiveTray_2.Rotation 0.0 0.0 90.0
PassiveTray_4.Rotation 0.0 0.0 90.0
PassiveTray_%I.Mother CSITower
Done

//Adds the towers to build the detector
Volume CSIDetector
CSIDetector.Material Vacuum
CSIDetector.Visibility 0
CSIDetector.Shape BRIK 20. 20. 4.5
// Include this to run stand-alone
//CSIDetector.Mother 0

CSITower.Mother CSIDetector

Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
//Build single segment of CsI with 26 logs each 1.5x1.5x38. There are 6 segments per tower and then 4 towers in the whole CsI calorimeter

///Use these lines to run geometry as standalone
//SurroundingSphere 100.0 0.0 0.0 0.0 100.0
//Include ../materials/Materials.geo
/////

// Single log 38.0cm x 1.5cm x 1.5 cm
Volume CSILog
CSILog.Material CsI
CSILog.Visibility 1
CSILog.Color 2
CSILog.Shape BOX 0.75 0.75 19.0

//Build Single Segment (Tray) of 26 logs 38 x 39 x 1.5
Volume CSISegment
CSISegment.Material Vacuum
CSISegment.Visibility 0
CSISegment.Shape BOX 0.75 19.5 19.0
//Include this for stand-alone
//CSISegment.Mother 0

//Fill Segment with 26 logs
For I 26 -18.75 1.5
CSILog.Copy CSILog_%I
CSILog_%I.Position 0.0 $I 0.0
CSILog_%I.Mother CSISegment
Done




// Single log 38.0cm x 1.5cm x 1.5 cm
Volume CSISideLog
CSISideLog.Material CsI
CSISideLog.Visibility 1
CSISideLog.Color 2
CSISideLog.Shape BOX 19.0 0.75 0.75

//Build Single Side Segment of 13 logs 38 x 1.5 x 19.5 cm
Volume CSISideSegment
CSISideSegment.Material Vacuum
CSISideSegment.Visibility 1
CSISideSegment.Shape BOX 19.0 0.75 9.75
//Include this for stand-alone
//CSISideSegment.Mother 0

//Fill Segment with 13 logs
For I 13 -9.0 1.5
CSISideLog.Copy CSISideLog_%I
CSISideLog_%I.Position 0.0 0.0 $I
CSISideLog_%I.Mother CSISideSegment
Done

Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
//Define CSI Calorimeter

MDCalorimeter DCalCSI
DCalCSI.SensitiveVolume CSILog
DCalCSI.DetectorVolume CSISegment

//The CSILogs have no space in between them at this point, so the structural pitch and structural offset are both 0.
DCalCSI.StructuralPitch 0. 0. 0.
DCalCSI.StructuralOffset 0. 0. 0.

DCalCSI.NoiseThreshold 30
DCalCSI.TriggerThreshold 100

DCalCSI.DepthResolution 662 2

DCalCSI.EnergyResolution Gauss 40 40 5
DCalCSI.EnergyResolution Gauss 100 100 7.5
DCalCSI.EnergyResolution Gauss 662 662 20
DCalCSI.EnergyResolution Gauss 2000 2000 33
DCalCSI.EnergyResolution Gauss 5000 5000 50


//MDCalorimeter DCalCSISide
//DCalCSISide.SensitiveVolume CSISideLog
//DCalCSISide.DetectorVolume CSISideSegment

////The CSILogs have no space in between them at this point, so the structural pitch and structural offset are both 0.
//DCalCSISide.StructuralPitch 0. 0. 0.
//DCalCSISide.StructuralOffset 0. 0. 0.

//DCalCSISide.NoiseThreshold 30
//DCalCSISide.TriggerThreshold 100

//DCalCSISide.DepthResolution 662 2

//DCalCSISide.EnergyResolution Gauss 40 40 5
//DCalCSISide.EnergyResolution Gauss 100 100 7.5
//DCalCSISide.EnergyResolution Gauss 662 662 20
//DCalCSISide.EnergyResolution Gauss 2000 2000 33
//DCalCSISide.EnergyResolution Gauss 5000 5000 50


Loading