[Brahms-dev-l] Drift Velocity calibration

From: Bekele, Selemon <bekeleku_at_ku.edu>
Date: Mon, 26 Feb 2007 18:10:57 -0600
Hi,

1) I see the following piece of code in the script for drift velocity
calibration of T1 and T2. It seems there is some root files to be
used as input but it is not clear what the files are and where to find
them.

-------------------
BrIOModule* inputModule = 
    new BrEventIO("inputModule", "Input Module");
  inputModule->SetIOMode(BrIOModule::kBrRunFile|
                         BrIOModule::kBrReadFile);
  for (Int_t j = 0; j < nRuns; j++) 
    inputModule->AddFileSet(includeOption->GetValue(), 
                            Form("^run%06dseq.*.root$", 
                                 runOption->GetValue(j)));
  mainModule->AddModule(inputModule);
---------------------

2) Here is another piece of code that I would like to understand.
The suggestion made to me was to use the T2 information to calibrate
the T1 drift velocity. What are the values in the arrays below?
Is it enough to just use post2 instead of post1 is input, as done below, 
to do the calibration. I am also trying to do the TFW2 calibrations in CuCu.
It would be helpful if anyone has done this before and comment at least to
save time.

--------------------------
  Float_t post1[5]   = {5.0, 2.5, 0.0, -2.5, -5.0};
  Float_t post2[5]   = {0.0, 2.5, 5.0, -2.5, -5.0};
  Float_t t1adc[5] = {400, 400, 400, 350, 600};
  Float_t t2adc[5] = {400, 400, 300, 400, 600};

 for(Int_t i = 1; i < 5; i++) {
    
    t1driftfibmodule->SetFibreAdcCuts(i, 375);
    //t1driftfibmodule->SetFibreYPosition(i, post1[i]);
    t1driftfibmodule->SetFibreYPosition(i, post2[i]);
  }
--------------------------

Thanks in advance,

Selemon
  


_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l_at_lists.bnl.gov
http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Mon Feb 26 2007 - 19:12:23 EST

This archive was generated by hypermail 2.2.0 : Mon Feb 26 2007 - 19:12:54 EST