T49Padtrans
class description - source file - inheritance tree (.pdf)
public:
T49Padtrans()
T49Padtrans(const T49Padtrans&)
virtual ~T49Padtrans()
Int_t Beam2ext(Double_t xbeam, Double_t ybeam, Double_t zbeam, Double_t* xext, Double_t* yext, Double_t* zext)
Double_t Channel2pad(Int_t detector, Int_t sector, Int_t row, Double_t channel)
static TClass* Class()
Int_t Drow2int(Int_t detector, Int_t sector, Double_t row, Double_t pad, Double_t time, Double_t* xint, Double_t* yint, Double_t* zint)
Int_t Ext2beam(Double_t xext, Double_t yext, Double_t zext, Double_t* xbeam, Double_t* ybeam, Double_t* zbeam)
Int_t Ext2int(Int_t detector, Double_t xext, Double_t yext, Double_t zext, Double_t* xint, Double_t* yint, Double_t* zint)
Int_t InitDS(Char_t* dspack_server = "")
Int_t Int2drow(Int_t detector, Double_t xint, Double_t yint, Double_t zint, Int_t* sector, Double_t* row, Double_t* pad, Double_t* time)
Int_t Int2ext(Int_t detector, Double_t xint, Double_t yint, Double_t zint, Double_t* xext, Double_t* yext, Double_t* zext)
Int_t Int2pad(Int_t detector, Double_t xint, Double_t yint, Double_t zint, Int_t* sector, Int_t* row, Double_t* pad, Double_t* time)
Int_t Int2sr(Int_t detector, Double_t xint, Double_t yint, Double_t zint, Int_t* sector, Int_t* row)
virtual TClass* IsA() const
T49Padtrans& operator=(const T49Padtrans&)
Double_t Pad2channel(Int_t detector, Int_t sector, Int_t row, Double_t pad)
Int_t Pad2int(Int_t detector, Int_t sector, Int_t row, Double_t pad, Double_t time, Double_t* xint, Double_t* yint, Double_t* zint)
void SetInitFile(Char_t* filename)
void SetKeys(Char_t* key1, Char_t* key3, Char_t* key4, Char_t* key5, Char_t* key6, Char_t* key7)
void SetVerbose(Int_t v)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
T49 wrapper class to padtrans.
It uses the drift velocities from as default
$T49/inc/padtrans_init.d
To change to another init file use SetInitFile().
Example:
T49Padtrans *pt = new T49Padtrans();
pt->SetKeys("1458","RU96","V96C","COMB/STD+","FULL","R95A");
pt->InitDS("padtrans");
Double_t xext;
Double_t yext;
Double_t zext;
pt->Int2ext(1,10,-10,10,&xext,&yext,&zext);
T49Padtrans()
T49Padtrans default constructor
void SetKeys(Char_t *key1, Char_t *key3, Char_t *key4
, Char_t *key5, Char_t *key6, Char_t *key7)
Sets the keys
void SetInitFile(Char_t *filename)
Set the name of the init file for the drift velocities
void SetVerbose(Int_t v)
Switch to verbose mode
Int_t InitDS(Char_t *dspack_server)
Initializes the database
Int_t Pad2int(Int_t detector, Int_t sector
, Int_t row, Double_t pad, Double_t time
, Double_t *xint, Double_t *yint, Double_t *zint)
pad/time -> internal
Int_t Int2pad(Int_t detector
, Double_t xint, Double_t yint, Double_t zint
, Int_t *sector
, Int_t *row, Double_t *pad, Double_t *time)
internal -> pad/time
Int_t Int2ext(Int_t detector
, Double_t xint, Double_t yint, Double_t zint
, Double_t *xext, Double_t *yext, Double_t *zext)
internal -> external
Int_t Ext2int(Int_t detector
, Double_t xext, Double_t yext, Double_t zext
, Double_t *xint, Double_t *yint, Double_t *zint)
extrernal -> internal
Int_t Int2sr(Int_t detector
, Double_t xint, Double_t yint, Double_t zint
, Int_t *sector, Int_t *row)
internal -> sector/row
Int_t Int2drow(Int_t detector
, Double_t xint, Double_t yint, Double_t zint
, Int_t *sector
, Double_t *row, Double_t *pad, Double_t *time)
internal -> detector pad/time
Int_t Drow2int(Int_t detector, Int_t sector
, Double_t row, Double_t pad, Double_t time
, Double_t *xint, Double_t *yint, Double_t *zint)
detector pad/time -> internal
Double_t Pad2channel(Int_t detector, Int_t sector
, Int_t row, Double_t pad)
pad -> adc channel
Double_t Channel2pad(Int_t detector, Int_t sector
, Int_t row, Double_t channel)
adc channel -> pad
Int_t Ext2beam(Double_t xext, Double_t yext, Double_t zext
, Double_t *xbeam, Double_t *ybeam, Double_t *zbeam)
external -> beam
Int_t Beam2ext(Double_t xbeam, Double_t ybeam, Double_t zbeam
, Double_t *xext, Double_t *yext, Double_t *zext)
beam -> external
Inline Functions
void ~T49Padtrans()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
T49Padtrans T49Padtrans(const T49Padtrans&)
T49Padtrans& operator=(const T49Padtrans&)
Last update: Thu Aug 17 15:32:24 2006
ROOT page - Class index - Class Hierarchy - 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.