Re: vtx updated

From: videbaek (videbaek@sgs1.hirg.bnl.gov)
Date: Sat Jun 10 2000 - 10:27:35 EDT

  • Next message: SJS: "small change to BrDetectorDC.h"

    ------------------------------
    Flemming Videbaek
    Physics Department
    Brookhaven National Laboratory
    tlf: 631-344-4106
    fax: 631-344-1334 
    videbaek@bnl.gov
     
    
    
      Hello everyone :-)
    
      As promised, I have updated the vtx-directory. All the files in there have
      changed, no others.
    
      Naming changes:
      Old BrVertex is now BrTPMTrackVertexModule
      Old BrHCVertex is now BrTPMClusterVertexModule
      Old BrVertexData is now BrVertex
    
      I have also made the following changes:
      * Added uncertainty-estimate in BrTPMClusterVertexModule. It now fills the
      data-member fVertexSigma in BrVertex, and is the sigma of the gaussian
      used to find z. Note that BrTPMTrackVertexModule instead fills
      fVertexChisq in BrVertex, the chi-squared found from using the method of
      least squares on the tracks.
      * Made the syntax more uniform. Usage for the modules:
      BrTPMTrackVertexModule* vertex = new
      BrTPMTrackVertexModule("VTX","VertexFinder","TPM1");
      or
      BrTPMClusterVertexModule* vertex = new
      BrTPMClusterVertexModule("VTX","VertexFinder","TPM1");
    
      Then, in the event-loop:
          BrDataTable *localtracks = track_node->GetDataTable("DetectorTrack
      TPM1");
          vertex->SetDetectorTracks(localtracks);
          vertex->Event(inputnode,outputnode);
      or
          BrClonesArray *detector_hits = tpm1_clusterfinder->GetDetectorHits();
          vertex->SetDetectorHits(detector_hits);
          vertex->Event(inputnode,outputnode));
    
      This adds a BrVertex called "VtxData" to outputnode, which contains
      datamembers for x,y,z (seperate floats now, not a vector), uncertainties
      etc. See also the CVS-comment.
    
      I am working on improving both methods, especially determining more than
      the z in BrTPMClusterVertexModule and optimizing BrTPMTrackVertexModule
      for the new tracking-code. Updates will follow after the Norwegian
      Physicists Conference :-)
    
      Cheers :-)
    
      ------------------------------------------------
      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 : Sat Jun 10 2000 - 13:41:14 EDT