Skip to content

gavin-wilks/FstTracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

this is a code package for 2020 FST Cosmic Test Stand @ UIC

list

  • run list for FST cosmic test stand
  • FstPed_Mod_HV.list: raw ped scan list
  • FstData_Mod_HV.list: raw data list
  • FstCluster_Mod_HV.list: list for QA & tracking study

data

  • directory for raw data file

output

  • directory for output file

src

IstTracking
  • extract pedestal & noise
  • find hit cluster
  • extract position dependent tracking resolution and efficiency
FstUtil
  • provide utility class for analysis
  • FstRawHit: class of raw hit
  • FstCluster: class of cluster
  • FstTrack: class of track of raw hit and cluster
  • FstEvent: class of all the information saved in one event
  • FstCons: all constants used in the analysis => geometry & alignment & threshold etc.
FstClusterMaker
  • identify raw hits (4.5 for FST & 6.0 for IST)
  • group raw hits into clusters
  • find tracking based on hits and clusters in IST1 & IST3
  • save all information to FstEvent
  • Thershold and number of used time bins can be adjusted as an input argument in macros/FstClusterMaker/makeFstCluster.C
FstTracking
  • read in FstEvent
  • generate histograms for resoluiton and efficiency
FstQAStudy
  • read in FstEvent
  • generate histgram for QA study
  • generate Hit Maps
  • generate Cluster Maps
  • generate Track Hit Maps

macro

  • IstTracking extract IST position dependent tracking resolution and efficiency.
  • FstUtil test FstRawHit, FstCluster, FstTrack and FstEvent classes.
  • FstClusterMaker analyze raw data and produce RawHits, Clusters and Tracks.
  • FstTracking do the alignment and generate track resolution and efficiency histograms
  • FstQAStudy: generate Event Display histograms
  • FstPlotMacro: produce all QA plots for one specific configuration => Threshold & NumOfTimeBins

compile the code

  • mkdir build
  • cd ./build
  • cmake ..
  • make install
  • a shared lib can be found at ${PROJECT_SOURCE_DIR}/lib

analysis work flow

  1. compile the code
  2. generate data list for the module and HV
  3. FstClusterMaker: root -l -b -q makeFstCluster.C
  • produce TTree with FstEvent
  • loopAll.sh to loop over all configurations
  • output file can be sepcified in the macro
  1. generate cluster list for Tracking and QA
  2. FstTracking
  • use getAlignment_FSTClusters_3Layer.C to extract alignment parameters for each sensor
  1. update alignment paramters in src/FstUtil/FstCons.h
  2. re-compile the code and run FstClusterMaker with updated alignment parameters
  • loopAll.sh to loop over all configurations
  1. FstTracking: root -l -b -q doFstTracking.C
  • produce histograms for residual and efficiency
  • output file canbe sepcified in the macro
  • loopAll.sh to loop over all configurations
  1. FstQAStudy: root -l -b -q doFstQAStudy.C
  • generate TTree for EventDisplay
  • output file canbe sepcified in the macro
  • loopAll.sh to loop over all configurations
  1. FstPlotMacro: . ./plotQA.sh
  • change hv and config in plotQA.sh for different HV and configuration
  • all QA plots can be found in figures/module_hv_config
  • loopAll.sh to loop over all configurations

About

2020 FST Cosmic Test Stand @ UIC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages