Re: BrVertex

From: Trine Tveter (trine@lynx.uio.no)
Date: Mon Jun 05 2000 - 08:51:17 EDT

  • Next message: Trine Tveter: "BrGeantToDetectorTracks, BrTPCClusterFinder"

    Hello,
    
    I'm forwarding this message from Bjorn.
    
                            Trine
    
    ______________________________________________________________________________
    
    
    On Sat, 3 Jun 2000 hagel@comp.tamu.edu wrote:
    
    > Hello,
    > This message is a solicitation for comment on the possibility of
    > renaming a vertex class.
    > 
    
    Hello Chris and all.
    
    It appears I should long ago have given a brief overview of the current
    status of the vertex-code. The current working vertex-finder is the module
    (in brat/vtx) called BrHCVertex, which as you say uses data only from TPM1
    to estimate the vertex. This module uses the clusters directly, instead of
    the finished tracks as BrVertex used. The reason that BrVertex is still
    there is that I intend to work a bit more with that one too once we
    "finish" the tracking-work.
    
    BrHCVertex uses the event()-method:
    
        BrHCVertex* vertex = new BrHCVertex("VTX","VertexFinder","TPM1");	
        (...)	
        vertex->Event(EventNode, EventNode);
    
    Event() creates a BrVertexData-object (derives from BrDataObject) called
    "VtxData", and adds it to EventNode:
    
        BrVertexData *vdata = EventNode->GetObject("VtxData");
        Float_t *vtx_pos = vdata->GetVertexPos();
    
    The BrVertexData-object is intended to be a versatile data-container for
    vertex-data (position, chi-squared etc.) both for this determination and
    other methods such as ZDC's, BB's etc, but the way I have made it may not
    be the ideal way ;-) 
     
    As for naming I agree with you - we should change BrHCVertex (working
    title) to BrTPMVertexModule, and have a common data-object for all of
    the modules which I still suggest calling BrVertexData.
    
    Please note that BrHCVertex is still under construction - it now
    determines the vertex (in simulated events...) to within 2 mm, but as I
    have had quite a bit of trouble with the ROOT gauss-estimator there is
    currently no uncertainty-estimate. This will be included as soon as my
    exams are over (on thursday!). The performance will also hopefully be
    improved as soon as I can optimize it a bit more.
    
    If you don't need the code for a few days I'll make the naming-changes in
    my next update (by the end of the week at least) and also have a closer
    look at the phobos-code (it's not that far from my BrVertexData).
    
    Please give me some comments on this, and if anyone could tell me why my
    code isn't in the html-documentation (e.g. what do I need to add to it) I
    would be very glad :-)
    
    ------------------------------------------------
    Bjørn H. Samset                   
    Hovedfagsstudent, tungionefysikk     
    Mob: 92 05 19 98  Lesesal: 22 85 77 62
    Adr: Kri 2A709 Sognsveien 218 0864 Oslo
    



    This archive was generated by hypermail 2b29 : Mon Jun 05 2000 - 08:56:15 EDT