How to use dE/dx for hadron-id in your analysis
At FYNU:
export CVSROOT=:pserver:[login]@server06.fynu.ucl.ac.be:/home/cvsfynu/cvshe cvs login cvs co Documents/note-HSCP cd Documents/note-HSCP/ latex main.tex
Talks:
Code is in cd /afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERCALIB/SiStrip/pIDAnalysis/CMSSW_3_2_5/src/Andrea/DeDxVsTime/
Talks:
Code:
Talks:
1st step: generation of tracks with a particle gun
Particle gun (flat in energy or pt) + detector simulation + digitization (only pixels+strips) + track reco (instructions here).
Script to send jobs to lxbatch: gensimudigi.sh. Create configuration files with: makecfg.sh.
I store my files on castor, directory /castor/cern.ch/user/g/giamman/tracks. Particles types: e-, μ-, π+, K+, p.
2nd step: reading tracks, retrieving rechits, calculating dE/dx
Content of my RecoTracker/DeDx directory (CMSSW_1_2_0):
How to use the DeDx class in your EDAnalyzer:
Script to send jobs to lxbatch: dedx.sh. (Full chain, from particle gun to dE/dx: fullchain.sh.)
So far there's no way to access directly the track measurements from the RecoTracks,
so I'm re-fitting the track (thanks to Chiara); in 1_1_0 this should not be necessary.
3st step: macros for high level analysis
plotdedx.C
Script for full analysis for all particle types and several estimators: plotdedx.sh
nndedx.C (for neural network analysis)
Main plots and numerical results:
[legend: muons, pions, kaons, protons, electrons]
Number of hits per track (only SST, muons 3<pT<5 GeV):
Estimator: generalized harmonic mean of dE/dx (only strips, no pixel; at least 3 hits)
profile histogram and separation vs P
In the [900 MeV, 1100 MeV] momentum range: linear superimposed
plot, individual
log plots with gaussian fit
Main quality criteria [900 MeV, 1100 MeV]:
muon chi2/dof: 3.8
muon sigma: 6.7 %
pion/muon separation: 0 sigmas
kaon/pion separation: 1.3 sigmas
proton/kaon separation: 3.7 sigmas
proton/pion separation: 4.8 sigmas
Likelihood hit-by-hit:
Macro used to create table of integrals from -inf to x, for a standard Landau
Macro used for the following plots
Likelihood at track level:
Macro used for the following plots
Weighted mean:
Macro for estimating the weights
Plots of dE and log(dE) vs dx, and spreads:
Neural network analysis:
My best networks so far:
Cosmics at MTCC:
Reconstructed cosmic tracks from MTCC are in /castor/cern.ch/cms/testbeam/tkmtcc/P5_data/tracker_reprocessing/pass3_with_alignment/[run number]_reco_full.root
Massimiliano's simulated samples (with MTCC setup) are in lxmcsf1:/data/chiorbo/rootuple/CMSSW_1_1_1_SimHits/.
High-level (re-)reconstruction (from hits onward): reprocess_from_simhits.sh.
My configuration file: AnalyzeTracks_MTCC.cfg
It needs the following cfi's:
mtcc_data_pass3.cfi (data @ 3.8 T)
mtcc_simu.cfi (simulation @ 4.0 T)
Analysis root macro: plotmtcc.C
Intercalibration extracted from MTCC data: InterCalibration.h, InterCalibration.cc
It uses the peak position as extracted from APV pairs with at least 60 hits; otherwise, it uses the tickmark method.
Cosmics at TIF:
I'm using the standard program, with AnalyzeTracks_TIF.cfg. I redo the track-finding, instead of calling TrackRefitter, because it orders the hits by distance from (0,0,0), which is not appropriate for cosmics.
TIB+TOB runs: tif.cfi
plottif.C
Comparison TIF/MTCC
Study of multi-track events at TIF:
Attenuation of the signal as a function of position and β (thanks to A. Rizzi):
niceplots.C (for plots of signal attenuation as a function of position and β)
Applications of the method:
Minimum Bias:
With bilateral probability (minbias): like_pi, like_k, like_proton, LR proton/pion, LR kaon/pion, LR proton/kaon
MC truth:
Jets:
Heavy Stable Charged Particles:
More infos on the wiki of the SUSY working group on HSCPs
Calibration with V0's:
Principle:
Identify KS0 and Λ.
68% of KS0 decays are into π+π-, 64% of Λ decays are into pπ-. Thus, the first selection gives a very pure sample of π's, useful for absolute dE/dx calibration, while the second gives a π and a proton, useful to test the separation between the two bands.
Identification of &Lambda's can be done exploiting the V-A structure of the decay: as explained here, the proton predominantly is found going off in the direction of the spin of the Lambda.
Note on V0's in CMS by Ferenc
Podolanski-Armenteros variables are described at page 8. They are qT and α, where qT is p1*p2*sen θ divided by the mother's p, and α is (p12-p22)/p2.
KS0 is symmetric in α and with sizeable qT, photons are symmetric with negligible qT, Λ and anti-Λ are asymmetric and with intermediate qT.
(In order to have Λ's on the right and anti-Λ's on the left, choose particle 1 to be the positive track and particle 2 to be the negative one.)
KS0:
Λ:
MC truth:
Systematics:
The average gain increase with temperature is -0.0064 oC-1. I assume a 3 degrees uncertainty, corresponding to 2% uncertainty on gain.
The timing uncertainty is 1 ns. Each 1 ns delay correspond to a decrease of 4% on signal.
Capacitive coupling and cluster thresholds:
Particle gun, 0.9<pt<1.1 GeV
Publications:
Talks:
References:
CMSSW main page
CMSSW code browser - RecTrack.h
CMSSW doxygen
CMSSW tutorial
LXR search
CMSSW @ LLN
DeDxTools in ORCA
MTCC track reconstruction and filter
Table of MTCC tracker runs
Energy Flow tutorial (slides)
QCD cross sections in pthat bins
How to run on TIF data
Tracker publications