LIV
class description - source file - inheritance tree
class LIV : public TObject
private:
Float_t Chi2(const Float_t* a, const Float_t* b, const Int_t n) const
public:
LIV LIV(LData* data)
LIV LIV(const LIV&)
virtual void ~LIV()
Float_t AdjustBias()
static TClass* Class()
LDataHeader* GetHeader() const
Float_t Getto() const
TH1F* GetTOF()
Float_t Getvo() const
virtual TClass* IsA() const
void Sete(const Float_t e)
void SetEn(const Float_t En)
void SetEo(const Float_t Eo)
void SetI(const Float_t I)
void SetS(const Float_t S)
void SetUn(const Float_t Un)
void SetUo(const Float_t Uo)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
Int_t fN n of bins in z axis of fbias array
Float_t fdz width of bin in z axis
Float_t fzmin min value of z axis
Float_t fzmax max value of z axis
Float_t* fz position axis array 1..fN-1
Float_t* fv averaged velocity array 1..fN-1
Float_t* fbias bias array 0..fN
Float_t* ffield electric field array 0..fN
Float_t* fcharge charge density array 1..fN-1
protected:
LData* fdata ->data used to do calculation
LDataHeader* fheader ->new header created to use in new simulation
public:
Float_t fUo bias at z=0 (V)
Float_t fUn bias at z=fN (V)
Float_t fEo interface field at z=0 (V/Ang.)
Float_t fEn interface field at z=fN (V/Ang.)
Float_t fS surface area (Ang.2)
Float_t fI bias current (Amperes - see AdjustBias() code)
Float_t fe epsilon (nounits)
Float_t fe0 epsilon0 (e0/VAng).
Float_t fvo units of velocity (Ang./s)
This is IV class
to simulate IV caracteristics
using monte carlo simulation
stored in LData
the scenario is the follows:
1. get LData and create this class with
2. set input parameters with Set*
3. run with Adjust bias
4. get new header and do MC simulations
5. delete this class to release LData
See the documentation in doc directory for more info...
Logs:
$Log: LIV.cc,v $
Revision 1.7 2003/11/03 13:54:40 cvs
TLServer is now threaded, LData and LDataHeader have now right Draw and Paint methods, LIV is controlled and comments were added.
Revision 1.6 2003/08/30 11:28:52 cvs
simplified and checked LIV calculations
Revision 1.5 2003/07/25 11:36:26 cvs
simulation of IV measurements is done with iv program
some minority fixes to LDisorder - corrected ft to match the recorded position
Revision 1.4 2003/07/15 15:20:00 cvs
started LIV development, including doc file.
Revision 1.2 2003/06/26 09:27:11 cvs
added log fields...
LIV(LData* data)
input simulation data is used to calculate charge distribution
which should be present in constant current.
~LIV()
Chi2(const Float_t* a,const Float_t* b,const Int_t n)const
calculate chi2 between two arrays 1-base-index
return sqrt(chi2)
AdjustBias()
steps:
1-charge density is calculated to generate
constant current - here is possible to make some intelligent
method to calculate good charge density. This used is very simple
2-electric field is calculated from charge density
3-fbias is calculated and adjusted to match bias
v(x)=vo.v'(x) vo is returned
v'(x) is obtained from LData
TH1F* GetTOF()
returns the TOF plot in real time units, obtained from LIV model
Inline Functions
void SetEo(const Float_t Eo)
void SetEn(const Float_t En)
void SetUo(const Float_t Uo)
void SetUn(const Float_t Un)
void SetS(const Float_t S)
void SetI(const Float_t I)
void Sete(const Float_t e)
Float_t Getvo() const
Float_t Getto() const
LDataHeader* GetHeader() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
LIV LIV(const LIV&)
Author: Egon Pavlica
Last update: Sat Oct 16 19:10:27 2004
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.