-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCeBr3_2x2.hh
68 lines (54 loc) · 2.78 KB
/
CeBr3_2x2.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
utr - Geant4 simulation of the UTR at HIGS
Copyright (C) 2017 the developing team (see README.md)
This file is part of utr.
utr is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
utr is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with utr. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include <vector>
#include "G4LogicalVolume.hh"
#include "Detector.hh"
using std::vector;
/**
* \brief Class for a 2 in x 2 in CeBr3 scintillation detector with PMT and connectors
*
* This class implements a simplified standard configuration of 2 in x 2 in scintillation
* detectors as manufactured by the company SCIONIX \cite SCIONIX2020.
* The sensitive crystals are made of the low-background (as compared to lanthanum-based
* scintillators) cerium-bromide (CeBr3) material.
* If not indicated otherwise, dimensions were read off from the technical drawings on the SCIONIX
* webpage for scintillation crystals with a photomultiplier tube (PMT) and a preamplifier.
*
* In the present implementation, the case of the detector is divided into three parts:
*
* - The front part, which contains the entrance window for radiation and encompasses most of the
* scintillator crystal.
* - The PMT part, which contains the crystal-PMT interface and the PMT itself.
* It is mounted inside a PMT case which acts as a magnetic shield.
* - The connector part, which contains the connector.
*
* The geometry is simplified in the sense that the front part of the detector, should resemble
* the real detector closely, while the back part consists of empty cases.
* On the outside of the PMT case, two connectors for high voltage supply and signal readout are
* attached, which are implemented in a simplified way as well.
*/
class CeBr3_2x2 : public Detector {
public:
CeBr3_2x2(G4LogicalVolume *World_Logical, G4String name) : Detector(World_Logical, name), use_connectors(true){};
~CeBr3_2x2(){};
void Construct(G4ThreeVector global_coordinates, G4double theta, G4double phi, G4double dist_from_center) const override;
// When an intrinsic rotation angle is given, it will simply be ignored and the Construct() method above is called
void Construct(G4ThreeVector global_coordinates, G4double theta, G4double phi, G4double dist_from_center, G4double intrinsic_rotation_angle) const override;
void disableConnectors() { use_connectors = false; };
private:
bool use_connectors;
};