dE/dx Calibration Package and iTPC Software

Summary


dE/dx calibrations were prepared by Yuri for 2018 isobar run, The calibrations are for the entire TPC including iTPC in sector 20, therefore the software includes iTPC related changes.

I checked and tested the new package against SL18f.

List of packages to have changes:
  • StRoot
    • StBichsel
    • StDbUtilities
    • StdEdxY2Maker
    • StDetectorDbMaker
    • StEvent
    • StPass0CalibMaker
    • St_tcl_Maker
    • StTpcHitMaker
    • StTpcRSMaker
  • StarDb
    • Geometry/tpc
    • Calibrations/tpc/
  • StDb
    • StDb/idl/tpcPadPlanes.idl
    • StDb/idl/TpcResponseSimulator.idl
Tests were done for years 2008 (to test pre-20019 "legacy" stream related peculiarities), 2016 and 2018. Tests for 2008 and 2016 reproduced results of SL18f precisely. Year 2018 has new calibrations, hence slight difference was expected, but the results were as expected. Results were shown and discussed at the offline S&C meetings few times.

The new packaged could be found on RCF at /gpfs01/star/pwg/iraklic/iTPC/SCheck/TFG18m/


Summary of diffs below:

StRoot/StDbUtilities

StDbUtilitiesLinkDef.h

if defined(__CINT__) || defined(__CLING__) : check for CLING added;
 

StMagUtilities.cxx & StMagUtilities.h

check for sector number added to have proper number of rows and their characteristics (anode voltages, GLWeights, etc.)

StSvtCoordinateTransform.cc

gStTpcDb : name of the passed variable commented out, it is not even used in the method
 

StTpcCoordinateTransform.cc & StTpcCoordinateTransform.hh

St_tpcRDOT0offsetC : T0 offset repackaged into the RDOoffset, so it could be controlled as a property of RDO


StRoot/StDetectorDbMaker

StDetectorDbChairs.cxx
StDetectorDbMaker.cxx
StDetectorDbMaker.h
StDetectorDbMakerLinkDef.h
StiTpcChairs.cxx
StSstSurveyC.h
St_SurveyC.h
St_TpcAvgCurrentC.h
St_TpcAvgPowerSupplyC.h
St_tpcPadConfigC.h
St_tpcPadGainT0BC.h
St_tpcPadGainT0C.h
St_tpcRDOMasksC.h
St_TpcResponseSimulatorC.h
St_tpcSlewingC.h
StTpcSurveyC.h

changes are related to adding RDOMasks, gains, surveys, etc for iTPC




StRoot/StEvent

StRichSpectra.h

mdx; dx(); setdx() - added to have calculated dx available from dEdxY2Maker

StPass0CalibMaker

StSpaceChargeDistMaker

sector check added for iTPC for the RDOMasks

StSpaceChargeEbyEMaker.cxx

sector check added for iTPC

StRoot/StTpcHitMaker


St_daq_adc_tb.h, St_daq_cld.h, St_daq_sim_adc_tb.h, St_daq_sim_cld.h, St_tpc_cl.h, StTpcHitMakerLinkDef.h

CLING added to CINT and if !defined changed to ifndef
 
 

StTpcAvClusterMaker.h

NoRows and NoInnerPadRows removed as (unused now)
 

StTpcHitMaker.cxx

if (St_tpcPadConfigC::instance()->isiTpcPadRow(sector, row)) hw += 1U << 1; // iTPC : these new detector ids removed, as discussed with Gene and he provided the new fix for TopologyMap for y2018

 

StTpcHitMaker.h

NoRows and NoInnerPadRows removed as (unused now)
mnpad. mxpad and mxtmbk changed from Short_t to UShort_t

sector check added to some places to check for iTPC in 2018;

(kReaderType == kLegacyTpc && row == 0 : this check removed because row == 0 case in handled by ignoring it (discussed at the meetings)

StTpcMixerMaker.cxx

assert changed to return
 

StTpcRTSHitMaker.h, StTpcRTSHitMaker.cxx

fiTPC and fNoiTPCLu added for for iTPC 
and of course the part that needs to take that into account