|
BrDCPlaneclass description - source file - inheritance tree class BrDCPlane : public BrPlane3Dpublic: Data Membersprivate: Class DescriptionBrDCPlane() Default Constructor. Don't use this constructor unless you have to and know what you are doing BrDCPlane(Char_t *name, Char_t *title) BrDCPlane(Char_t *name, Char_t *title, Float_t wirdis, Float_t wirang,Float_t stagger) :BrPlane3D(0,0,0,1,0,0,0,1,0) Create a DC plane with a default z=0 plane BrDCPlane(Char_t *name, Char_t *title, Float_t wirdis, Float_t wirang,Float_t stagger, const Double_t x1, const Double_t y1, const Double_t z1, const Double_t x2, const Double_t y2, const Double_t z2, const Double_t x3, const Double_t y3, const Double_t z3 ) :BrPlane3D(x1,y1,z1,x2,y2,z2,x3,y3,z3) Create a DC plane with the specified plane points. The plane points are in the local coordinate system of the DC Submodule. BrDCPlane(Char_t *name, Char_t *title, Float_t wirdis, Float_t wirang, Float_t stagger,const Double_t z) :BrPlane3D(0,0,z,1.0,0,z,0,1.0,z) Create a DC plane with the specified z. The center of the plane is assumed to be at (x,y) = (0,0). The plane points are in the local coordinate system of the DC Submodule. BrDCPlane(Char_t *name, Char_t *title, Float_t wirdis, Float_t wirang,Float_t stagger, const BrVector3D &p1, const BrVector3D &p2, const BrVector3D &p3 ) :BrPlane3D(p1,p2,p3) Create a DC plane with at the specified points given by the vectors (points) p1,p2, and p3 ~BrDCPlane() int ijk = 1; void ListParameters() void SetDefaultParams() Int_t GetNwire() Float_t GetWirePosition(const Int_t iwire) Return the position of the wire specified in the argument. This routine is for the moment simple, but will probably get much more complicated once we have real positions. They would probably be read from a database. Int_t GetWireNumber(const Float_t xpos) Given an x-position, return the wire number associated. Description wire # -2 -1 0 1 2 ... GetNwire() == 1 o o o o o u 0 - -----+-----+-----+-----+-----+-----> + o o o o o o GetNwire() == 0 if eg fStagger == .5 wire # -3 -2 -1 0 1 2 o o o o o o GetNwire() == 0 if eg fStagger == .2 wire # -3 -2 -1 0 1 2 Float_t GetTdcConv(const Int_t iwire) Return the TDC slope for the specified wire. At the moment 15-MAR-1999, do simple thing and always return the same value. Float_t GetTdcOffset(const Int_t iwire) Return the TDC slope for the specified wire. At the moment 15-MAR-1999, do simple thing and always return the same value. Float_t GetRealTime(const Int_t adc_time,const Int_t iwire) Return the calibrated time. For now simple and always return the same value regardless of wire, but will become more complicated as we get more realistic void SetName(const Text_t *name) Set Name of object. void SetTitle(const Text_t *title) Set Title of object. Inline FunctionsFloat_t GetWirdis() Float_t GetWirang() const Text_t* GetName() const const Text_t* GetTitle() const Double_t GetPlaneZ(Float_t x, Float_t y) Float_t GetStagger() void SetWirdis(Float_t x) void SetWirang(Float_t x) void SetStagger(Float_t x) TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) BrDCPlane BrDCPlane(BrDCPlane&) |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|