General Information
Working directories for B meson analysis
Level1 ntuple workingdir: /susyraid1/home/jkim/atlasdev/16.2.0.6/CharmAnalysis/run
Level2 ntuple workingdir: /susyraid1/home/jkim/analysis3/CharmLv2NtupleMaker/report
Level3 ntuple analysis workingdir: /susyraid1/home/jkim/analysis3/CharmReport/run.Bphysics
PDG ID reference
http://alxr.usatlas.bnl.gov/lxr/source/atlas/Event/EventKernel/EventKernel/PdtPdg.h
AOD MC ntuple list
/atlasdisk1/wpark/MonteCarlo/AOD/16xx/mc10_7TeV.108416.PythiaB_Bs_Ds_PhiPi_Pi_Signal3_localGenerated_16.2.0.6_13.3.1/
/atlasdisk1/wpark/MonteCarlo/AOD/16xx/mc10_7TeV.108530.Pythia_DstD0K3piFilter.merge.AOD.e632_s933_s946_r1655_r1700_tid193170_00/
/atlasdisk1/wpark/MonteCarlo/AOD/16xx/mc10_7TeV.108530.Pythia_DstD0K3piFilter.merge.AOD.e632_s933_s946_r1830_r1700_tid220060_00/
/atlasdisk1/wpark/MonteCarlo/AOD/16xx/mc10_7TeV.999998.PythiaB_Bd_Dp_Kstpi_localGenerated_16.2.0.6_13.3.1/
/atlasdisk1/wpark/MonteCarlo/AOD/16xx/mc10_7TeV.999999.PythiaB_Bs_Ds_KstK_localGenerated_16.2.0.6_13.3.1/
SVN Update
1. Logon to CERN account
$ kinit
2. Go to a basis directory
$ cd [directory where you have files you want to commit]
3. Check the status of files I am going to update
$ svn status
4. Check whether updated or not
$ svn update
5. Commit my package to
SVN
$ svn ci -m "quick"
adding a specific file in the svn server
1. Add the file
$ svn add [file name including its directory]
2. Update the svn
$ svn update
3. Commit the package the
SVN
$svn ci -m "quick"
deleting a specific file in the svn server
$ svn delete [file name including its directory]
Check out packages from CERN SVN server
1. Logon to CERN account
$ kinit
2. Create a directory where you want to put the package
$ mkdir -p [my dir]
3. Check out package(s) you want
$ cmt co $SVNGRP/Institutes/USC/[package name]
AOD ntuple list
in /susyraid1/home/jkim/atlasdev/16.2.0.6/CharmAnalysis/run
BsGeneric.list: generic MC where all kinds of Bs decay modes are included
BdDpKstPi.list: a decay mode where Bd goes to
DpPi and Dp goes to
KstPi included
BsDsKstK.list: a decay mode where Bs goes to
DsPi and Ds goes to
KstK included
Producing level1 ntuples from AOD ntuples
1. Go to altasdev directory
$ cd /susyraid1/home/jkim/atlasdev/16.2.0.6/
2. Setup scripts
$ s 16.0.2 6
3. Modify codes in the src directory
$ emacs /susyraid1/home/jkim/atlasdev/16.2.0.6/CharmAnalysis/src/DmesonAnalysis.cxx
$ emacs /susyraid1/home/jkim/atlasdev/16.2.0.6/CharmAnalysis/src/MCTruth.cxx
4. Goto cmt directory and compile
$ cd /susyraid1/home/jkim/atlasdev/16.2.0.6/CharmAnalysis/cmt
$ gmake
5. Goto run directory and run
$ cd /susyraid1/home/jkim/atlasdev/16.2.0.6/CharmAnalysis/run
$ ./test
6. To check whether ntuple production is going well, open test.log
$ tail -f test.log
Producing level2 ntuples from level1 ntuples
1. Go to a directiory where scriptReportNtupleMaker.pl is saved
$ cd /susyraid1/home/jkim/analysis3/CharmLv2NtupleMaker/report
2. Run the perl script with basis directory as a parameter
$ scriptReportNtupleMaker.pl /susyraid1/home/jkim/atlasdev/16.2.0.6/CharmAnalysis run run
3. When the job is completed successfully, an output root file must be created. For example,
$ ls Report_lv2Ntuple_run.root
--
JaeKim - 20-Dec-2010