Detector


class description - source file - inheritance tree

class Detector : public TObject

    private:
void CalDimension() public:
Detector(Float_t, TF2*, Float_t = 50, Float_t = 10, Int_t = 3, Float_t = 301, Float_t = 1) Detector(const Detector&) Detector() virtual ~Detector() void CalM(DStruct* seg, Double_t* data) void CalPhyField(Double_t*, Int_t = 1) void CalPhyField(TH2F* uhis, Int_t = 1, Int_t = 0) void CalPhyField() void CalRamoField(Double_t*, Int_t = 1) void CalRamoField(TH2F* uhis, Int_t = 1, Int_t = 0) void CalRamoField() static TClass* Class() void Declaration(int) virtual TH2F* Draw(Char_t* option) void Drift(Double_t, Double_t, Float_t, DStruct*, Int_t = 0, Float_t = 0, Double_t = 0) TF2* GetNeff() Int_t GetNoStrips() Float_t GetStripPitch() Float_t GetStripWidth() Float_t GetVoltage() virtual TClass* IsA() const Double_t kappa(int, int, int) void MipIR(Int_t = 20, Int_t = 0, Float_t = 0) void ResetRnd(Int_t seed) void SetEntryPoint(Float_t x, Float_t y, Float_t z) void SetExitPoint(Float_t x, Float_t y, Float_t z) void SetNeff(TF2* neff, Int_t calnow = 1) void SetNoStrips(Int_t x) void SetStripPitch(Float_t x) void SetStripWidth(Float_t x) void SetVoltage(Float_t x, Int_t calnow = 1) virtual void ShowMembers(TMemberInspector& insp, char* parent) void ShowMipIR(Int_t, Int_t = 0, Float_t = 0, Int_t = 1, Int_t = 0) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) Double_t V(int, int, int)

Data Members

    private:
Float_t StripPitch Strip pitch Float_t StripWidth Strip width Float_t Thickness Detector thickness Float_t Step Mesh step size Int_t NoStrips Number of strips Float_t Voltage Voltage TF2* Neff effective dopping concentration TRandom* ran random number generator public:
EField Ramo weighting field EField Real electric field TArrayI StripPosition array with strip positions Int_t nx x-divisions Int_t ny y-divisions Int_t Multiplication pomnozevanje Float_t enp[3] entry point for the charge drift Float_t exp[3] exit point for the cahrge drift Int_t trapping Trapping simulation (yes=1, no=0) Trap* et Trapping for electrons Trap* ht Trapping for holes Int_t diff Diffusion simulation (yes=1, no=0) Int_t average Average (over how many events) Float_t Temperature Temperature TH1F* pos contribution of the holes to the total drift current TH1F* neg contribution of the electrons to the total drift current TH1F* sum total drift current

Class Description


double V(int i, int j, int dowhat)
Sets the boundary conditions for the voltage!

Double_t kappa(int i,int j, int dowhat )
Sets the effective space charge values for x,y in the equation!

void Declaration(int dowhat)
Declaration of variables used for calculation of electric field

void CalDimension()
Calculates different geometrical parameters used in the calculation
 for example: the strip positions and the step size.

void CalPhyField()
Calculates electric field

void CalPhyField(Double_t *x,Int_t how)

void CalPhyField(TH2F *uhis,Int_t how, Int_t cutx)
Calculates electric field

void CalRamoField()
Calculates weighting  field

void CalRamoField(Double_t *x,Int_t how)

void CalRamoField(TH2F *uhis, Int_t how,Int_t cutx)
Calculates electric field

void Drift(Double_t sx, Double_t sy,Float_t charg, DStruct *seg, Int_t MobMod, Float_t B, Double_t t0)
Drift simulation for a point charge (charg)
starting from ( sx,sy)
DStruct *seg is the structure where the  the drift paths, drift times and induced cahrges are stored
Int_t MobMod; mobility model
Float_t B; magnetic field

TH2F* Draw(Char_t *option)
The function draws weighting and electric field and also the event display
Char_t *option:
		  W -weighting
 		  E -electric
		  P - potential
 		  F - |field|
              X - x component of the field
              X - y component of the field
              EVENT - event display

void MipIR(Int_t div, Int_t MobMod, Float_t B)
 The simulation of the drift for the minimum ionizing particles.
 A track is devided into Int_ div buckets. Each bucket is drifted in the field. The
 induced currents for each carrier is calculated as the sum  all buckets.
	Int_t MobMod; mobility model
	Float_t B; magnetic field

void ShowMipIR(Int_t div, Int_t MobMod, Float_t B, Int_t color,Int_t how)
 The simulation of the drift for the minimum ionizing particles.
 A track is devided into Int_ div buckets. Each bucket is drifted in the field. The
 induced currents for each carrier is calculated as the sum  all buckets.
	Int_t MobMod; mobility model
	Float_t B; magnetic field

Detector(Float_t x0,TF2 *neff,Float_t x1,Float_t x2,Int_t x3,Float_t x4,Float_t x5)
Constructor:
 Float_t x0; Voltage
 TF2 *neff; function describing the distrbution of the effective space cahrge
 Float_t x1;  Strip Pitch
 Float_t x2;  Strip Width
 Int_t x3;    Number of strips
 Float_t x4;  Detector thickness
 Float_t x5;  Step-size of the mesh for drift and field calculation (defautl = 1um)

Detector()
Constructor: with the set of parameters (100 , Neff , 50, 10, 3, 301 , 1);
 Neff=zero space charge

~Detector()
destructor

void CalM(DStruct *seg, Double_t *data)



Inline Functions


              Int_t GetNoStrips()
            Float_t GetVoltage()
               TF2* GetNeff()
            Float_t GetStripPitch()
            Float_t GetStripWidth()
               void SetVoltage(Float_t x, Int_t calnow = 1)
               void SetNeff(TF2* neff, Int_t calnow = 1)
               void SetNoStrips(Int_t x)
               void SetStripPitch(Float_t x)
               void SetStripWidth(Float_t x)
               void SetEntryPoint(Float_t x, Float_t y, Float_t z)
               void SetExitPoint(Float_t x, Float_t y, Float_t z)
               void ResetRnd(Int_t seed)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
           Detector Detector(const Detector&)


Last update: Tue Jul 28 11:03:17 2009


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.