7 Nphi(6), Nz(3), SegmentId(1)
14 Error(
"CheckConfigurations",
"Radius==%.1f!",
Radius);
18 Error(
"CheckConfigurations",
"BoreR==%.1f!",
BoreR);
22 Error(
"CheckConfigurations",
27 Error(
"CheckConfigurations",
28 "Total number of segments in phi cannot be zero!");
32 Error(
"CheckConfigurations",
33 "Total number of segments in z cannot be zero!");
37 Error(
"CheckConfigurations",
42 Info(
"CheckConfigurations",
"SegmentId==0, " 43 "please use TrueCoaxial for the core electrode.");
53 TString pointOfView(option); pointOfView.ToLower();
54 if (pointOfView.Contains(
"top")) {
58 l1->SetLineColor(kBlack); l1->SetLineStyle(kDashed); l1->Draw();
59 TLine *l2 =
new TLine(-x,-y,x,y);
60 l2->SetLineColor(kBlack); l2->SetLineStyle(kDashed); l2->Draw();
61 TLine *l3 =
new TLine(-x,y,x,-y);
62 l3->SetLineColor(kBlack); l3->SetLineStyle(kDashed); l3->Draw();
64 TEllipse *e1 =
new TEllipse(0,0,
BoreR,
BoreR); e1->Draw();
65 TEllipse *e2 =
new TEllipse(0,0,
Radius,
Radius); e2->SetFillStyle(0);
std::vector< double > Bias
bias on electrodes
size_t Nphi
total number of segments in phi
double Radius
radius of the crystal
static const double cm
centimeter
static const double kV
kilo volt
void Draw(Option_t *option="")
size_t SegmentId
segment Id in [0, Nphi*Nz]
Detector & crystal properties.
double Height
height of crystal
double BoreR
radius of the bore hole
A file defining commonly used units & constants.
void CheckConfigurations()
size_t Nz
total number of segments in z
The only namespace in GeFiCa.
Segmented(const char *name="sip", const char *title="segmented detector")