GeFiCa
Germanium detector Field Calculator
Public Member Functions | Public Attributes | List of all members
GeFiCa::Hemispherical Class Reference

Configuration of hemispherical detectors. More...

#include <Hemispherical.h>

Inheritance diagram for GeFiCa::Hemispherical:
Inheritance graph
[legend]
Collaboration diagram for GeFiCa::Hemispherical:
Collaboration graph
[legend]

Public Member Functions

 Hemispherical (const char *name="hs", const char *title="hemispherical detector")
 
void CheckConfigurations ()
 
 ClassDef (Hemispherical, 1)
 
- Public Member Functions inherited from GeFiCa::Detector
 Detector (const char *name="detector", const char *title="detector")
 
void CheckConfigurations ()
 Check if detector configurations make sense. More...
 
void Draw (Option_t *option="")
 
 ClassDef (Detector, 1)
 
- Public Member Functions inherited from GeFiCa::Crystal
 Crystal ()
 Default constructor. More...
 
double GetImpurity (double height)
 Return net impurity concentration at. More...
 
void SetAverageImpurity (double impurity)
 

Public Attributes

double PointContactR
 radius of point contact More...
 
double PointContactH
 height of point contact More...
 
- Public Attributes inherited from GeFiCa::Detector
std::vector< double > Bias
 bias on electrodes More...
 
- Public Attributes inherited from GeFiCa::Crystal
double Height
 height of crystal More...
 
double TopImpurity
 net impurity concentration at top of crystal More...
 
double BottomImpurity
 net impurity concentration at bottom of crystal More...
 

Detailed Description

Configuration of hemispherical detectors.

Examples:
hemispherical/compare2analytic.cc.

Definition at line 9 of file Hemispherical.h.

Constructor & Destructor Documentation

◆ Hemispherical()

Hemispherical::Hemispherical ( const char *  name = "hs",
const char *  title = "hemispherical detector" 
)

Definition at line 5 of file Hemispherical.cc.

6  : Detector(name, title), PointContactR(2*mm), PointContactH(300*nm)
7 { Bias.push_back(1*kV); }
std::vector< double > Bias
bias on electrodes
Definition: Detector.h:35
double PointContactH
height of point contact
Definition: Hemispherical.h:13
static const double kV
kilo volt
Definition: Units.h:21
Detector(const char *name="detector", const char *title="detector")
Definition: Detector.cc:9
double PointContactR
radius of point contact
Definition: Hemispherical.h:12
static const double mm
minimeter
Definition: Units.h:15
static const double nm
nanometer
Definition: Units.h:18

Member Function Documentation

◆ CheckConfigurations()

void Hemispherical::CheckConfigurations ( )

Definition at line 10 of file Hemispherical.cc.

11 {
13  if (PointContactR<=0) {
14  Error("CheckConfigurations", "PointContactR==%.1f!", PointContactR);
15  abort();
16  }
17  if (PointContactH<=0) {
18  Error("CheckConfigurations", "PointContactH==%.1f!", PointContactH);
19  abort();
20  }
21  if (PointContactR>=Height) {
22  Error("CheckConfigurations", "PointContactR(%.1f)>=Height(%.1f)!",
24  abort();
25  }
26  if (PointContactH>=Height) {
27  Error("CheckConfigurations", "PointContactH(%.1f)>=Height(%.1f)!",
29  abort();
30  }
31 }
double PointContactH
height of point contact
Definition: Hemispherical.h:13
void CheckConfigurations()
Check if detector configurations make sense.
Definition: Detector.cc:13
double Height
height of crystal
Definition: Detector.h:13
double PointContactR
radius of point contact
Definition: Hemispherical.h:12

◆ ClassDef()

GeFiCa::Hemispherical::ClassDef ( Hemispherical  ,
 
)

Member Data Documentation

◆ PointContactH

double GeFiCa::Hemispherical::PointContactH

height of point contact

Definition at line 13 of file Hemispherical.h.

◆ PointContactR

double GeFiCa::Hemispherical::PointContactR

radius of point contact

Examples:
hemispherical/compare2analytic.cc.

Definition at line 12 of file Hemispherical.h.


The documentation for this class was generated from the following files: