2007.12.25

2007.12.19

RecoMuonAnalyzer?

  • Handle<reco::Muon> not compiled -> Handle<reco::MuonCollection> is right
  • TrackAssociator? is not compatible with reco::Muon
    • re-implement TrackAssociator?? name of new object? use inheritance?
  • std::count_if + functors for counting # of simMuons
%CODE{lang="cpp"}% struct IsMuon? { IsMuon?(const int id==13):id_(id){ }; bool operator()(const SimTrack?& part) const { return part.type()==id_; }; bool operator()(const TrackingParticle?& part) const { return part.pdgId()==id_; }; const int id_; };

int nSimMuon = count_if(simMuHandle->begin(), simMuHandle->end(), IsMuon?(13)); %ENDCODE%

  • tested template for functor that checks simTrack pdgId, but is not suitable for muon analyzer (id fixed at compile-time)

2007.12.17

  • Developing new RecoMuon? analyzer
    • re-implement hit matching?

2007.12.10-15 (CMS Week)

  • Muon POG meeting (tue)
  • Discussion with Adam Everret, Intae Yu, Suyong Choi

New muon specific analyzer

  • read reco::Muon object
  • matching test : simTrack - trkTrack - staMuon - glbMuon

CMSSW @ Ubuntu

  • scramv1 build
    • not runs with CMSSW_1_6_X (no action to compile)
    • but fine with CMSSW_1_7_X

2007.12.08

Z to Mu Mu analyzer tutorial

  • Q : Interested variables?
    • Particle 4 Vector
    • Efficiency & Resolution
    • mass distribution + background
    • NTuple/TTree generation -> TMVA input
  • Historgram class with template ?
    • idea H1<double> or H1<float> is OK (and trivial to make it)
    • but H1<double, 100/*bin size*/, 5.26 /*mininum*/, 5.28 /*maximum*/> is nonsense (cannot apply enum hack for FP types)

2007.12.07

  • Z to Mu Mu sample generation done - stored in /castor/cern.ch/user/j/jhgoh/Tutorial
  • Developing Analyzer

2007.12.06

CRAB

  • TaeJung? sent me e-mail on how to avoid CRAB python-library errors (config ordering problem)
  • Changed bashrc
%CODE{lang="sh"}% # alias crabenv='source $CMS_PATH/LCG/LCG-2/UI/cms_ui_env.sh; source $CMS_PATH/ccs/wm/scripts/Top_SM.Crab/crab.sh' alias crabenv='source $CMS_PATH/LCG/LCG-2/UI/cms_ui_env.sh; cmsenv; source $CMS_PATH/ccs/wm/scripts/Top_SM.Crab/crab.sh' %ENDCODE%

2007.12.05

EDAnalyzer tutorial

  • Submitted Z to MuMu? GEN+SIM+DIGI+RECO to crab
  • Started to write an EDAnalyzer module from scratch

cmssw @ ubuntu

rfio

  1. download rpm files from SLC4 repository
    • castor-rfio-client-2.1.2-4.i386.rpm
    • castor-lib-2.1.2-4.i386.rpm
  2. convert rpm to deb using alien (with opiton -c : not properly working?)
  3. install new deb files with dpkg -i
    • dependency check is not available, so manually install castor-lib

CRAB test

  • crab changed. Nah.. : I didn't test crab @ ubuntu
%CODE{ lang="sh" }% [jhgoh@cmskr-jeju test]$ source $CMS_PATH/LCG/LCG-2/UI/cms_ui_env.sh cat: /etc/redhat-release: No such file or directory OS unknown, LCG environment not initialized [jhgoh@cmskr-jeju test]$ %ENDCODE%
  • created new file : /etc/redhat-release
%CODE{ lang="sh" }% [jhgoh@cmskr-jeju test]$ echo "Beryllium" > /etc/redhat-release [jhgoh@cmskr-jeju test]$ cd ~/work/CMSSW_1_7_2 [jhgoh@cmskr-jeju test]$ cmsenv [jhgoh@cmskr-jeju test]$ $CRABDIR/configureBoss [jhgoh@cmskr-jeju test]$ crabenv %ENDCODE%
  • create link to afs/cern.ch/j/jhgoh/.globus
%CODE{ lang="sh" }% [jhgoh@cmskr-jeju test]$ ln -s afs/.globus %ENDCODE%
  • run crab -create : error !!! (see below)
%CODE{ lang="sh" }% [jhgoh@cmskr-jeju test]$ crab -create crab. crab (version 2.0.3) running on Wed Dec 5 12:36:02 2007

crab. Working options: scheduler edg job type CMSSW working directory /home/jhgoh/work/CMSSW_1_7_2/src/LeptonAnalysis/DiLeptonAnalyzer/test/crab_0_071205_123602/

crab. Required 3 jobs in total crab. Required 1 events in total crab. 3 jobs can be created, each for 0 for a total of 0 events crab. Warning: asked 1 but can do only 0 crab. `voms-proxy-info -timeleft 2>/dev/null` failed with exit code 41216=0(signal)+161(status) crab. No valid proxy found or remaining time of validity of already existing proxy shorter than 10 hours! Creating a user proxy with default length of 192h

Enter GRID pass phrase: Your identity: /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=jhgoh/CN=668086/CN=Junghwan Goh Cannot find file or dir: /home/jhgoh/.glite/vomses Creating temporary proxy ................................................................ Done Contacting voms.cern.ch:15002 [/DC=ch/DC=cern/OU=computers/CN=voms.cern.ch] "cms" Done Creating proxy ...................................................................... Done * glibc detected * voms-proxy-init: munmap_chunk(): invalid pointer: 0xbfaa1a18 * === Backtrace: ===== /lib/tls/i686/cmov/libc.so.6(cfree+0x1bb)[0xb7b1f92b]

.... truncated error messages ....

crab: Unable to create a valid proxy!

crab. Log-file is /home/jhgoh/work/CMSSW_1_7_2/src/LeptonAnalysis/DiLeptonAnalyzer/test/crab_0_071205_123602/log/crab.log [jhgoh@cmskr-jeju test]$ %ENDCODE%

  • re-ran THE_SAME command and successfully finished!! : cannot submit - exception raised.
    • changes are : this is second try - some kind of initialization problem? / installed rfio - library dependencies?
%CODE{ lang="sh" }% [jhgoh@cmskr-jeju test]$ crab -create crab. crab (version 2.0.3) running on Wed Dec 5 12:44:28 2007

crab. Working options: scheduler edg job type CMSSW working directory /home/jhgoh/work/CMSSW_1_7_2/src/LeptonAnalysis/DiLeptonAnalyzer/test/crab_0_071205_124428/

crab. Required 3 jobs in total crab. Required 1 events in total crab. 3 jobs can be created, each for 0 for a total of 0 events crab. Warning: asked 1 but can do only 0 crab. `myproxy-info -d -s myproxy.cern.ch` failed with exit code 256=0(signal)+1(status) crab. ERROR from myproxy-server (myproxy.cern.ch): Credentials do not exist no credentials found for user /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=jhgoh/CN=668086/CN=Junghwan Goh, owner "/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=jhgoh/CN=668086/CN=Junghwan Goh"

crab. No credential delegated to myproxy server myproxy.cern.ch will do now Your identity: /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=jhgoh/CN=668086/CN=Junghwan Goh Enter GRID pass phrase for this identity: Creating proxy ................................................................. Done Proxy Verify OK Your proxy is valid until: Wed Dec 12 12:50:50 2007 A proxy valid for 168 hours (7.0 days) for user /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=jhgoh/CN=668086/CN=Junghwan Goh now exists on myproxy.cern.ch. crab. Creator::run Exception raised in collection params for dashboard: exceptions.KeyError 'HOSTNAME' crab. Creating 3 jobs, please wait...

crab. Total of 3 jobs created.

crab. Log-file is /home/jhgoh/work/CMSSW_1_7_2/src/LeptonAnalysis/DiLeptonAnalyzer/test/crab_0_071205_124428/log/crab.log %ENDCODE%

  • changed crab.cfg - asked to jchung

2007.12.04

System administration

  • pointer driver installation :
    • get source from linuxwacom.sourceforge.net
    • apt-get install (all required libraries );
    • configure --enable-wacom; make; make install

cmsRun @ ubuntu linux

  • generated 100 FEVT events
  • CMSSW 1_7_1
  • Z to MuMu? sample - cfg from RelVal? at CVS
  • modification needed (RandomNumberGenerator? service) - just add random number seeds as written in the error messages

2007.11 - 12.03

Validation task

  • makePlot : done. waiting response from others

Top_SM.Crab job submit test

  • got personal certificate from ca.cern.ch
  • registered VO
  • tested crab job submit - working good

Self tutorial session

  • Breif review on Workbook::Essentials - done
  • Z to MuMu? analyzer for training

cmssw on ubuntu linux

Current status

  • Status : Green
    • openafs, kerberos
    • scramv1 list
    • scramv1 project
    • standalone binaries
    • cmsRun simulation chain : GEN-SIM-DIGI-RECO @ CMSSW_1_6_6
  • Status : Yellow
    • scramv1 build : seems to be working, but sometimes fails
    • cmsRun user module : not fully tested yet
    • cvs : use cvsnt package and gserver for authentification
  • Status : Red
    • rfio : need more work (alien or compile?)

Actions to be taken

  • append to ~/.bashrc

%CODE{ lang="bash" }% export SCRAM_ARCH=slc4_ia32_gcc345 export CMS_PATH=/afs/cern.ch/cms source $CMS_PATH/sw/cmsset_default.sh

alias cmsenv='eval `scramv1 runtime -sh`' alias cmscvs='project CMSSW; export CVSROOT=`echo $CVSROOT | sed s/:kserver:/:gserver:/`' alias crabenv='source $CMS_PATH/LCG/LCG-2/UI/cms_ui_env.sh; source $CMS_PATH/ccs/wm/scripts/Top_SM.Crab/crab.sh' %ENDCODE%

  • install template.pm : sudo apt-get install libtemplate-perl
  • cvs : traditional cvs package was not compiled with kerberos, but cvsnt can handle gssapi authentification
    • install cvsnt : sudo apt-get install cvsnt
    • switch substring ":kserver:" to ":gserver:" of $CVSROOT and edit every "CVS/Root" files
  • openafs + kerberos
    • follow standard openafs installation guide (openafs-source, module-assistant)
    • install heimdal kerberos (not MIT kerberos) to bind kinit and aklog

-- JunghwanGoh - 03 Dec 2007

Edit | Attach | Watch | Print version | History: r18 < r17 < r16 < r15 < r14 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r18 - 2011-12-22 - GunmoRyu
 
KOREA-CMS
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding KoreaCmsWiki? Send feedback