TPC code updates

From: Flemming Videbaek (videbaek@sgs1.hirg.bnl.gov)
Date: Sun Aug 27 2000 - 20:23:19 EDT

  • Next message: Flemming Videbaek: "Brat DB access update."

    Several modification has been made to the code TPC directories. The
    changes are
    
    A) Additional parameters has ben introduced to deal with the conversion
       of time-bins to distances. The changes has been used by myself and
    TT/BS
       for a while, but has not completely been checked for simulations.
    
     i) Introduce
      Float_t fTimingOffset; // Time in nsec from interaction to readout
    start.
                                typically arounf 500-600 nsec
      Float_t fRowTimeCorrection[kMaxRows];  //  Calibration for outrow
    timeing diffs
       his is to deal with the 'time offsets in first, second and two last
    rows
       in T1m,T2 and TPM2.
      Functions
       Float_t TimeToDrift(Int_t row, Float_t time);
       Float_t TimeToIntrinsic(Int_t row, Float_t time);
      has been introduced into code to take proper account of this.
      The 'oldbehaviour can be achieved by setting the following parameters
    
    tpc_param->SetTimeCorrection(1,0.);
    tpc_param->SetTimeCorrection(2,0.);
    tpc_param->SetTimeCorrection(13,0.);
    tpc_param->SetTimeCorrection(14,0.);
    where tpc_param in this case points to T1.
    
    
    ii) The DetectorParams.txt has now new default value due to this
    matching
      pretty closely what is need for real data.
    
    iii) Want to Fix error in
         SetRowPosition(Int_t irow,Float_t xpos) (row number off by one.
    They are counted 1,2,...
         Since this requires all DetectorParams.txt files to be updated this
    is postponed.
    
    iv) Added more variables to BrTPCHitCluster, these are deemed usefull
        for monitoring, and even cut param selections and thus included.
       Int_t   fNpads;   // Number of Pads
       Float_t fMaxAdc;  // Dedx (summed adc value for this cluster).
       To be completely stringent a custom streamer method shoudl have been
       written. I do in fact not belive we have any data stored with this
       information and have not written the streamer fct, but did update the
    
       version number to 2.
    
    v) Updated DetectorParams.txt for default params.
    
    vi) CVS log information has been moved to end of file, as to conform to
    standards.
    
    I am planning to make these updates into a new brat version once some
    initial
    feedback is given.
    



    This archive was generated by hypermail 2b29 : Sun Aug 27 2000 - 20:23:44 EDT