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

Detector & crystal properties. More...

#include <Detector.h>

Inheritance diagram for GeFiCa::Detector:
GeFiCa::Crystal GeFiCa::Hemispherical GeFiCa::Planar GeFiCa::PointContact GeFiCa::Segmented GeFiCa::SquarePointContact GeFiCa::TrueCoaxial

Public Member Functions

 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

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

Detector & crystal properties.

It provides TClass::ClassName() through ClassDef for Grid::SetBoundaryCondition to know the specific type of detector.

Definition at line 32 of file Detector.h.

Constructor & Destructor Documentation

§ Detector()

Detector::Detector ( const char *  name = "detector",
const char *  title = "detector" 

Definition at line 9 of file

10  : Crystal(), TNamed(name,title) { Bias.push_back(0*volt); }
std::vector< double > Bias
bias on electrodes
Definition: Detector.h:35
static const double volt
Definition: Units.h:20
Default constructor.

Member Function Documentation

§ CheckConfigurations()

void Detector::CheckConfigurations ( )

Check if detector configurations make sense.

Definition at line 13 of file

14 {
15  if (Height<=0) {
16  Error("CheckConfigurations", "Height(%.1fcm)<=0!", Height/cm);
17  abort();
18  }
19  if (Bias.size()<2) {
20  Error("CheckConfigurations",
21  "Number of electrodes == %zu!", Bias.size());
22  abort();
23  }
24 }
std::vector< double > Bias
bias on electrodes
Definition: Detector.h:35
static const double cm
Definition: Units.h:12
double Height
height of crystal
Definition: Detector.h:13

§ ClassDef()

GeFiCa::Detector::ClassDef ( Detector  ,

§ Draw()

void GeFiCa::Detector::Draw ( Option_t *  option = "")

Definition at line 41 of file Detector.h.

41 {};

Member Data Documentation

§ Bias

std::vector<double> GeFiCa::Detector::Bias

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