TPM2 enable and disable rows

From: Jens Ivar Jordre (jens@fi.uib.no)
Date: Thu Oct 11 2001 - 14:39:36 EDT

  • Next message: Peter H. L. Christiansen: "Re: TPM2 enable and disable rows"

    Howdy brahmsers.
    
    Due to low effiency at the back of TPM2 FEE cards covering rows 19-20
    were moved to rows 17-18. This operation was done today. The last data
    run with the old setting is thus 5276. What remains is to handle this
    properly in software.
    
    Since most of the data collected this year is with rows 19-20
    instrumented, one should probably leave the DetectorParameters.txt file
         as it is. Therefore there are at least two ways of handling this in
    applications/scripts.
    
    1.  After calling
          params->SetDbParameterFileName("DetectorParameters.txt");
          (or something more complex involving options and/or BrPathManager)
          one can enable and disable rows with
          BrDetectorParamsTPC* tpm2Par = (BrDetectorParamsTPC*)
                params->GetDetectorParameters("BrDetectorParamsTPC", "TPM2");
          tpm2Par->SetRowActive(17);
          tpm2Par->SetRowActive(18);
          tpm2Par->SetRowInActive(19);
          tpm2Par->SetRowInActive(20);
    
    2.  Make a tiny script that does this. The session will then be like:
          params->SetDbParameterFileName("DetectorParameters.txt");
          gROOT->Macro("TPM2ParamsAfter20011011.C");
    
    By putting this small macro into say brat/scripts, on has easy reference
    to it via BrPathManager::GetScriptDir(). Any objection to doing it this way?
    



    This archive was generated by hypermail 2b30 : Thu Oct 11 2001 - 14:38:14 EDT