BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrDCPlane


class description - source file - inheritance tree

class BrDCPlane : public BrPlane3D


    public:
BrDCPlane BrDCPlane() BrDCPlane BrDCPlane(Char_t* name, Char_t* title) BrDCPlane BrDCPlane(Char_t* name, Char_t* title, Float_t wirdis, Float_t wirang, Float_t stagger) BrDCPlane 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) BrDCPlane 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) BrDCPlane BrDCPlane(Char_t* name, Char_t* title, Float_t wirdis, Float_t wirang, Float_t stagger, const Double_t z) BrDCPlane BrDCPlane(BrDCPlane&) virtual void ~BrDCPlane() static TClass* Class() const Text_t* GetName() const Int_t GetNwire() Double_t GetPlaneZ(Float_t x, Float_t y) Float_t GetRealTime(const Int_t adc_time, const Int_t iwire) Float_t GetStagger() Float_t GetTdcConv(const Int_t iwire) Float_t GetTdcOffset(const Int_t iwire) const Text_t* GetTitle() const Float_t GetWirang() Float_t GetWirdis() Int_t GetWireNumber(const Float_t xpos) Float_t GetWirePosition(const Int_t iwire) virtual TClass* IsA() const void ListParameters() void SetDefaultParams() void SetName(const Text_t* name) void SetStagger(Float_t x) void SetTitle(const Text_t* title) void SetWirang(Float_t x) void SetWirdis(Float_t x) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Char_t fName[64] Char_t fTitle[64] Float_t fWirdis Float_t fWirang Float_t fStagger Float_t fTdcConv Float_t fTdcOffset

Class Description




BrDCPlane()
 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 Functions


              Float_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>
Last Update on Wed Sep 11 04:50:52 2002 by

Validate HTML
Validate CSS