domenica 20 novembre 2011

NX client and Lion

I have all sort of problems with screen resolution with the beta nxplayer and Lion.
Plus, cut and paste does not work

What seems to work is opennx

http://opennx.net/

using
http://sourceforge.net/projects/opennx/files/opennx/CI/OpenNX-0.16.0.649.dmg/download

It will give you a wrong keyboard map. On the server, edit

/usr/NX/ets/node.cfg

to add

AgentExtraOptions = "-kb"


and restart with nxserver --restart

mercoledì 9 novembre 2011

Error on Efficiency

binomial error is

sigma_eff = sqrt(eff (1-eff)/N)

ROOT: TEfficiency class


ref:

home.fnal.gov/~paterno/images/effic.pdf.

lunedì 15 agosto 2011

Check wrong JPsi sample

JPsiToMuMu_2MuPEtaFilter_7TeV-pythia6-evtgen/AODSIM/PU_S4_START42_V11-v1

first file locally:

/data/argiro/JPsiToMuMu_2MuPEtaFilter_7TeV-pythia6-evtgen/store/mc/Summer11/JPsiToMuMu_2MuPEtaFilter_7TeV-pythia6-evtgen

command

Events.Draw("recoGenParticles_genParticles__HLT.obj.mass_","recoGenParticles_genParticles__HLT.obj.pdgId_==20443")

(pdgid=20443 is chi_c1)

mercoledì 3 agosto 2011

gdb CMSSW

It might be necessary to do

scram tool info python
and set

PYTHONHOME to the value of PYTHON_BASE reported by scram


Catch exceptions:

gdb --args cmsRun conf.py
catch throw
run

fare cont finche si entra nel event loop

giovedì 28 aprile 2011

Standard Test

cmsDriver.py data -s RAW2DIGI,L1Reco,RECO --eventcontent RECO --conditions auto:com10 -n 500 --dbs "find file where dataset=/EGMonitor/Run2010B-v1/RAW" --no_exec --data --scenario pp --process RERECO

martedì 12 aprile 2011

List modified files in CMSSW tree

Ugly way to list the files you modified in the CMSSW tree


cvs status | grep -i -A 3 locally | grep -i repository | cut -f3 | sed 's-/cvs/CMSSW/CMSSW/--g' | sed 's/,v//g' > ! modified.txt

lunedì 4 aprile 2011

trcor

/data/argiro/trcor

142051-142318-eb-3
142051-142318-eb-3
146417-149442-eb-3

barrel con scalibrazione (-0.01,0.01) in 21 step


142051-142318-eb-4
142051-142318-eb-4
146417-149442-eb-4

barrel con scalibrazione (-0.04,0.04) in 41 step



martedì 29 marzo 2011

NX user capacity

nxserver --userlist
nxserver --userdel USERNAME

martedì 15 marzo 2011

trcor

Changed philosophy: extract one file per xtal from the output of each job. Then we can add on the fly. Extraction code:

/afs/cern.ch/cms/CAF/CMSALCA/ALCA_ECALCALIB/phisym/trcor

output to be found in:

/data/argiro/trcor/140158-142040

note: it would have been probably faster to split one channel per root file directly in the CMSSW job

Procedure:

1. submit crab job to create histograms:
  • code in scratch0/splitcode/CMSSW_3_8_7
  • crab submission stuff in /afs/cern.ch/cms/CAF/CMSALCA/ALCA_ECALCALIB/phisym/trcor/{phisym-cfg.crab.cfg,phisym-cfg.py}
2. submit job to split one histo per file, example :
histoadd-submit.py -r eech-140158-142040.flst -e pccmsto04:/data/argiro/trcor/140158-142040 -q 2nd

3. re-unite files interactively (four at a time or more)
./reSum.sh 0 2000 > & log1.log &
./reSum.sh 2001 4000 > & log2.log &

etc..

venerdì 11 marzo 2011

Transparency correction

code:

scratch0/splitcode/CMSSW_3_8_7

submission machinery

/afs/cern.ch/cms/CAF/CMSALCA/ALCA_ECALCALIB/phisym/trcor

output data

/castor/cern.ch/cms/store/caf/user/argiro/trcor