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

Configuration of planar detectors. More...

#include <Planar.h>

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

Public Member Functions

 Planar (const char *name="planar", const char *title="planar detector")
 
void CheckConfigurations ()
 
 ClassDef (Planar, 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 Width
 width of a planar detector More...
 
double Depth
 depth of a planar detector 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 planar detectors.

Examples:
planar/calculateC.cc, planar/checkInitialization.cc, planar/compare2analytic.cc, planar/optimizeRelaxationFactor.cc, and planar/showConvergingSteps.cc.

Definition at line 9 of file Planar.h.

Constructor & Destructor Documentation

◆ Planar()

Planar::Planar ( const char *  name = "planar",
const char *  title = "planar detector" 
)

Definition at line 5 of file Planar.cc.

6  : Detector(name,title), Width(1*cm), Depth(1*cm)
7 { Bias.push_back(1*kV); }
std::vector< double > Bias
bias on electrodes
Definition: Detector.h:35
static const double cm
centimeter
Definition: Units.h:12
static const double kV
kilo volt
Definition: Units.h:21
Detector(const char *name="detector", const char *title="detector")
Definition: Detector.cc:9
double Depth
depth of a planar detector
Definition: Planar.h:13
double Width
width of a planar detector
Definition: Planar.h:12

Member Function Documentation

◆ CheckConfigurations()

void Planar::CheckConfigurations ( )

Definition at line 10 of file Planar.cc.

11 {
13  if (Width<=0) {
14  Error("CheckConfigurations", "Width(%.1fcm)<=0!", Width/cm);
15  abort();
16  }
17  if (Depth<=0) {
18  Error("CheckConfigurations", "Depth(%.1fcm)<=0!", Depth/cm);
19  abort();
20  }
21 }
static const double cm
centimeter
Definition: Units.h:12
double Depth
depth of a planar detector
Definition: Planar.h:13
void CheckConfigurations()
Check if detector configurations make sense.
Definition: Detector.cc:13
double Width
width of a planar detector
Definition: Planar.h:12

◆ ClassDef()

GeFiCa::Planar::ClassDef ( Planar  ,
 
)

Member Data Documentation

◆ Depth

double GeFiCa::Planar::Depth

depth of a planar detector

Definition at line 13 of file Planar.h.

◆ Width

double GeFiCa::Planar::Width

width of a planar detector

Definition at line 12 of file Planar.h.


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