Skip to content
This repository was archived by the owner on Sep 4, 2018. It is now read-only.

grundler/cmspxltb-ana

Repository files navigation

cmspxltb-ana

Analysis of data from CMS pixel high-rate beam tests

There are three classes: tbAna - main class, runs the analysis Constructor takes ID of DUT (int), board name (string) used for directory identification, and first and last spill numbers (int), and optional argument to define algorithm for tree correlator to use in matching testboard and QIE data.

  treeCorrelator - used to correlate information from QIE summary and trigger phase trees to the track tree
  				 Called by tbAna

  plotter - used for storing histograms and creating plots			 

constants.hh contains a const static char variable, subdir, indicating the directory where root files are at. track trees assumed to be at "subdir//histograms/-tracks.root" QIE summary assumed to be at "subdir//qie/summary_.root" tp trees assumed to be at "subdir//timestamps/_tp.root"

To simply compile, in root: .x compile.C

Edit run.C to change settings (DUT ID, boardname, spill range) and add any cut you wish, e.g. ta->analyze("Chi2<25.");

To run (includes compilation), in root: .x run.C

One can also load histograms from previously run analysis. See load.C

About

Analysis of data from CMS pixel high-rate beam tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages