Preso e modificato file
emulate-mac-keyboard-mode.el
dalla distro di Aquaemacs
messo in /Applications/Emacs.app/Contents/Resources/site-lisp/
e .emacs.d/lisp
modificato .emacs:
(require 'emulate-mac-keyboard-mode)
(emulate-mac-italian-pro-keyboard-mode)
Non posso postare il file .el per motivi di copyright ...
martedì 9 dicembre 2008
venerdì 28 novembre 2008
mercoledì 12 novembre 2008
Work
1. finished and committed to UserCode/Torino/Ecal/db the XML/PopCon Ecal database stuff
2. Documented phi sym and cleaned up (needs testing) https://twiki.cern.ch/twiki/bin/view/CMS/EcalPhiSymmetry
2. Documented phi sym and cleaned up (needs testing) https://twiki.cern.ch/twiki/bin/view/CMS/EcalPhiSymmetry
martedì 7 ottobre 2008
cmsfarm accounting
Adding new user
Scripts are available in
root@cmsfarm02:
usage:
adduser-cms.sh username passwd
username has to match a to.infn.it cluster user
for now it works as argiro: login to the central cluster is needed to
retrieve user information
a copy is in my cmsfarm01 home
Modify shell
modify usershell.ldif
ldapmodify -x -D "cn=root,dc=to,dc=infn,dc=it" -W -f usershell.ldif
Change password
chpasswd-cms.sh user newpassword
Scripts are available in
root@cmsfarm02:
usage:
adduser-cms.sh username passwd
username has to match a to.infn.it cluster user
for now it works as argiro: login to the central cluster is needed to
retrieve user information
a copy is in my cmsfarm01 home
Modify shell
modify usershell.ldif
ldapmodify -x -D "cn=root,dc=to,dc=infn,dc=it" -W -f usershell.ldif
Change password
chpasswd-cms.sh user newpassword
venerdì 26 settembre 2008
Work
1.Poster Siena,
2.submitted phisym with thresh 160/930
3. Laser corrections :
/afs/cern.ch/user/a/argiro/scratch0/phisym-lasercorr/CMSSW_2_1_4/src/testLaerCorr2.py
opening file...
2.submitted phisym with thresh 160/930
3. Laser corrections :
/afs/cern.ch/user/a/argiro/scratch0/phisym-lasercorr/CMSSW_2_1_4/src/testLaerCorr2.py
opening file...
martedì 23 settembre 2008
Work
1. exercise to complete laser correction.
Done in
/afs/cern.ch/user/a/argiro/scratch0/phisym-lasercorr/CMSSW_2_1_4/src
testLaserCorr.py
waiting for FC to tell us which Tag to use
2. script to do phi symmetry analisys automatically , launched one. Problems finishing
up ?
Solved, script works fine :scratch0/csa08/CMSSW_2_0_7/src/Calibration/EcalCalibAlgos/scripts-s43_plus_s156/launchanalisys.sh
3. back to DB <-> xml problem
test Vincenzo's script w0/CMSSW_2_1_9/src/CondCore/EcalPlugins/test/inspect.py
don't understand if it is working or not
Done in
/afs/cern.ch/user/a/argiro/scratch0/phisym-lasercorr/CMSSW_2_1_4/src
testLaserCorr.py
waiting for FC to tell us which Tag to use
2. script to do phi symmetry analisys automatically , launched one. Problems finishing
up ?
Solved, script works fine :scratch0/csa08/CMSSW_2_0_7/src/Calibration/EcalCalibAlgos/scripts-s43_plus_s156/launchanalisys.sh
3. back to DB <-> xml problem
test Vincenzo's script w0/CMSSW_2_1_9/src/CondCore/EcalPlugins/test/inspect.py
don't understand if it is working or not
venerdì 19 settembre 2008
work
1. try high e>190(710) et<5GeV on csa08-s43 sample 1pb-1
count number of hits also MR spans from 2% to 3.2%
In ring 0 on average 3174 hits each crystal
pccmsto03:/data/argiro/phisym/20080919-1
THIS HAS TO BE REDONE: superposition of old et sums ?
2. now try the same on s43+s56 sample
3934 hits ??? bug fixed...
count number of hits also MR spans from 2% to 3.2%
In ring 0 on average 3174 hits each crystal
pccmsto03:/data/argiro/phisym/20080919-1
THIS HAS TO BE REDONE: superposition of old et sums ?
2. now try the same on s43+s56 sample
3934 hits ??? bug fixed...
mercoledì 17 settembre 2008
Work
phisym on simulation:
another try with phi sym
e>150 and et<>650 and et<15GeV EE
Moving the high threshold does not affect the residual miscalib nor the k factors
another try with phi sym
e>150 and et<>650 and et<15GeV EE
Moving the high threshold does not affect the residual miscalib nor the k factors
Test DQMPi0
martedì 16 settembre 2008
Work
CCS, prepare presentation phisym for DPG
1. Run phi symmetry from scratch0/csa08/CMSSW_2_0_7/src/Calibration/EcalCalibAlgos/
Corrected in the code inconsistencies et/ e plain. Now low threshold is based on e alone,
high threshold on et. Thresholds: barrel 190, endcap 750. Also fixed bug in k calculation
for endcap. Saved to pccmsto03:/data/argiro/phisym/20080916-1 . MR in barrel is still 2.2%
2. Run with lower thresholds 150 and 650 on csa08-1pb . MR in EB goes down to 1.6% but
not as low as the 1.1-1.2 observed earlier. Saved in pccmsto03:/data/argiro/phisym/20080916-2
3. Run with lower thresholds over s43+S156
./csa07_submit.py -c csa08PhiSymCalibration-lowthres.cfg.tmpl -r csa08-s43-s156.flst -e log -n 80
basically same MR results as before

4. Run with cut in et: etbarl >150/coseta etee>650/coseta : MR in endcap goes down
again to (starting from ) 1%. Note the bump around ring 60 is present only if we cut by et,
not by energy.
1. Run phi symmetry from scratch0/csa08/CMSSW_2_0_7/src/Calibration/EcalCalibAlgos/
Corrected in the code inconsistencies et/ e plain. Now low threshold is based on e alone,
high threshold on et. Thresholds: barrel 190, endcap 750. Also fixed bug in k calculation
for endcap. Saved to pccmsto03:/data/argiro/phisym/20080916-1 . MR in barrel is still 2.2%
2. Run with lower thresholds 150 and 650 on csa08-1pb . MR in EB goes down to 1.6% but
not as low as the 1.1-1.2 observed earlier. Saved in pccmsto03:/data/argiro/phisym/20080916-2
3. Run with lower thresholds over s43+S156
./csa07_submit.py -c csa08PhiSymCalibration-lowthres.cfg.tmpl -r csa08-s43-s156.flst -e log -n 80
basically same MR results as before

4. Run with cut in et: etbarl >150/coseta etee>650/coseta : MR in endcap goes down
again to (starting from ) 1%. Note the bump around ring 60 is present only if we cut by et,
not by energy.
giovedì 11 settembre 2008
Work week of 9/11
1. Refactoring of Phi symmetry calibration steps. Status: EtSum Accumulation
completed but not tested, Calibration step started
2. Work on PopCon app. Tested write to sqlite file of Intercalibconstants. Written
Todo: commit to CVS, finish Popcon handlers. Test readback. Questions on "tag","since":
read from header or
3. continue studies of shower shapes for phisym. looking at most energetic xtal in event
does not change behaviour (e1/e5) increases with energy
completed but not tested, Calibration step started
2. Work on PopCon app. Tested write to sqlite file of Intercalibconstants. Written
Todo: commit to CVS, finish Popcon handlers. Test readback. Questions on "tag","since":
read from header or
3. continue studies of shower shapes for phisym. looking at most energetic xtal in event
does not change behaviour (e1/e5) increases with energy
venerdì 5 settembre 2008
Work
Began refactoring of phi sym code: seprate producer from algo, encapsulate
at least constants, separate et accumulation from actual calibration algo
at least constants, separate et accumulation from actual calibration algo
giovedì 4 settembre 2008
Work
mercoledì 3 settembre 2008
martedì 2 settembre 2008
Work
- Move csa08 s45 exercise to pccmsto03:/data/argiro/phisym/csa08-1
- Use S1/S5< 0.9 in phi sym to select showers and reject noise . In w0/phisym-devel/CMSSW_2_0_12. Used 20x series to be able to use csa08 data, but backported clustertools from 21x
- documented dqm in https://twiki.cern.ch/twiki/bin/view/CMS/DQMCalibEcal
lunedì 1 settembre 2008
venerdì 29 agosto 2008
Work
1. Finished preparing phisym talk
2. additional phisym plots
3. Look at nice picture at http://www.boston.com/bigpicture/2008/08/the_large_hadron_collider.html
2. additional phisym plots
3. Look at nice picture at http://www.boston.com/bigpicture/2008/08/the_large_hadron_collider.html
giovedì 28 agosto 2008
Work
1. advances with DoSimLinearity, using beamene for starting point and limits improves the xtal ball . However, for the moment it is just easier to use a gaussian fit

2. Investigate why phisym on Cruzet4 shows hits in SM that should be out of the
readout, at least in runs 57959 and 57960. Ah, it was just the wrong plot. Here's the
right one, as from pccmsto03:/data/argiro/phisym/20080828

3. Prepare report for AlCa http://indico.cern.ch/conferenceDisplay.py?confId=39039#5

2. Investigate why phisym on Cruzet4 shows hits in SM that should be out of the
readout, at least in runs 57959 and 57960. Ah, it was just the wrong plot. Here's the
right one, as from pccmsto03:/data/argiro/phisym/20080828

3. Prepare report for AlCa http://indico.cern.ch/conferenceDisplay.py?confId=39039#5
mercoledì 27 agosto 2008
Work
1. Completed phi symmetry on Cruzet 4 data, switched map axes
2. rewritten ecal tb analysis to run on simulated data, tired of trying to decipher GP's code.
Committed as DoSimLinearity.C. Problems
3. allcms and cruzet jamboree meetings
2. rewritten ecal tb analysis to run on simulated data, tired of trying to decipher GP's code.
Committed as DoSimLinearity.C. Problems
3. allcms and cruzet jamboree meetings
martedì 26 agosto 2008
Work
1. Re-tested alcaphisym DQM in CMSSW 2.1.4 with split streams from David F.
2. Completed selection of crystals for simulation : added compiled program select_simxtal.C
runs w/o arguments. Hodo fit does not converge, trying to understand why
3. Run phi sym on complete Cruzet4 AlcaRaw sample
2. Completed selection of crystals for simulation : added compiled program select_simxtal.C
runs w/o arguments. Hodo fit does not converge, trying to understand why
3. Run phi sym on complete Cruzet4 AlcaRaw sample
lunedì 25 agosto 2008
Work
1. Completed XML translation of Cond Objects
2. Discussed separation of ALCARaw in files to be used by cmsDriver - test on phisym in 214
3. update squid in Rome to frontier_squid-4.0rc2
2. Discussed separation of ALCARaw in files to be used by cmsDriver - test on phisym in 214
3. update squid in Rome to frontier_squid-4.0rc2
venerdì 22 agosto 2008
Work 20080822

1. Run phi symmetry on first AlcaRaw data
/AlCaPhiSymEcal/Commissioning08-CRUZET4_v1/RAW2. Finished write part of EcalTBWeightsXMLTranslator . Committed along with other
in scratch0/csa08/CMSSW_2_1_4/src/Calibration/EcalCalibAlgos/data
./csa07_submit -c step1-on-alcaraw.cfg.tmpl -r cruzet4_v2.flst -e pccmsto02:/data/argiro/phisym/20080822 -n2
results copied on dest dir
Had to modify the src to IdealGeometry ->CaloGeometry (as in release)
changes (CondHeader).
giovedì 21 agosto 2008
TB simulation
Non trovo i files con le ntuple dei simulati. Le rifaccio.
I risultati vanno su pccmsto03:/data/argiro/tbsim
Per produrli:
~/w0/ecaltb3/ECALTBH4_0_4_0/src/User/EcalTBAnalyzer/data
./tbsubmit_sim.py -c tbanalysis-sim.cfg.tmpl -f sim.lst -e pccmsto03:/data/argiro/tbsim
I risultati vanno su pccmsto03:/data/argiro/tbsim
Per produrli:
~/w0/ecaltb3/ECALTBH4_0_4_0/src/User/EcalTBAnalyzer/data
./tbsubmit_sim.py -c tbanalysis-sim.cfg.tmpl -f sim.lst -e pccmsto03:/data/argiro/tbsim
giovedì 17 aprile 2008
LDAP authentication
Server Setupyum install openldap openldap-servers openldap-clients
slappasswdcopy the generated password in the rootpw field of /etc/openldap/slapd.conf provided below. It must belong to group ldap and be readable by that group.
The rootpw directive should be commented out after populating the ldap directorygenerate CA certificatecd /usr/share/ssl/misc/
modify CA script to have days=3650./CA –newca
this creates cacert.pem in a subdir. Rename it
servername.cacert.pemNext, create a cert request and private key for the server:
openssl req –new –nodes –keyout newreq.pem –out newreq.pem
Sign the certificate using the newly created CA to create newcert.pem:
./CA –sign
Update /etc/openldap/slapd.conf:
TLSCACertificateFile /place/cacert.pem
TLSCertificateFile /place/newcert.pem
TLSCertificateKeyFile /place/newreq.pem
Fully qualified host name must be used
Enable logging
Start the service
service ldap start
ldapadd -x -D "cn=root,dc=to,dc=infn,dc=it" -W -f base.ldifldapadd -x -D "cn=root,dc=to,dc=infn,dc=it" -W -f group.ldif
ldapadd -x -D "cn=root,dc=to,dc=infn,dc=it" -W -f user.ldif
test:ldapsearch -LL -H ldap://localhost -b"dc=to,dc=infn,dc=it" -x "(uid=argiro)"
Setup clientcopy name.cacert.pem to /etc/openldap/cacerts
use the command authconfig to setup ldap authentication
with TLS or
authconfig --enableshadow --enablemd5 --enableldap --ldapserver=cmsfarm02.to.infn.it \ --ldapbasedn="dc=to,dc=infn,dc=it" --enableldapauth --enableldaptls --enablecache --kickstart --disablenis
if necessary run
authconfig --update
on systems withouth authconfigcopy /etc/ldap.conf
copy /etc/pam.d/system-auth
copy /etc/pam.d/passwd
copy /etc/nsswitch.conf
Autohome
modify /etc/pam.d/system-auth and add
session required /lib/security/$ISA/pam_mkhomedir.so skel=/etc/skel/ umask=0077
Files :www.to.infn.it/~argiro/slapd.confwww.to.infn.it/~argiro/ldap.conf
www.to.infn.it/~argiro/base.ldifwww.to.infn.it/~argiro/group.ldifwww.to.infn.it/~argiro/user.ldif
www.to.infn.it/~argiro/system-authwww.to.infn.it/~argiro/passwdwww.to.infn.it/~argiro/nsswitch.conf
Backup and restore
#slapadd -v -c -l ldap-backup.ldif -f /etc/openldap/slapd.conf
then run
slapindex
Referenceshttp://linsec.ca/Using_OpenLDAP_for_User_Authentication
http://www-unix.mcs.anl.gov/~gawor/ldap/ (ldap browser editor)
slappasswdcopy the generated password in the rootpw field of /etc/openldap/slapd.conf provided below. It must belong to group ldap and be readable by that group.
The rootpw directive should be commented out after populating the ldap directorygenerate CA certificatecd /usr/share/ssl/misc/
modify CA script to have days=3650./CA –newca
this creates cacert.pem in a subdir. Rename it
servername.cacert.pemNext, create a cert request and private key for the server:
openssl req –new –nodes –keyout newreq.pem –out newreq.pem
Sign the certificate using the newly created CA to create newcert.pem:
./CA –sign
Update /etc/openldap/slapd.conf:
TLSCACertificateFile /place/cacert.pem
TLSCertificateFile /place/newcert.pem
TLSCertificateKeyFile /place/newreq.pem
Fully qualified host name must be used
Enable logging
Add in /etc/syslog local4.* /var/log/slapd.log restart the syslog syslog daemon. service syslog restart
Start the service
service ldap start
ldapadd -x -D "cn=root,dc=to,dc=infn,dc=it" -W -f base.ldifldapadd -x -D "cn=root,dc=to,dc=infn,dc=it" -W -f group.ldif
ldapadd -x -D "cn=root,dc=to,dc=infn,dc=it" -W -f user.ldif
test:ldapsearch -LL -H ldap://localhost -b"dc=to,dc=infn,dc=it" -x "(uid=argiro)"
Setup clientcopy name.cacert.pem to /etc/openldap/cacerts
use the command authconfig to setup ldap authentication
with TLS or
authconfig --enableshadow --enablemd5 --enableldap --ldapserver=cmsfarm02.to.infn.it \ --ldapbasedn="dc=to,dc=infn,dc=it" --enableldapauth --enableldaptls --enablecache --kickstart --disablenis
if necessary run
on systems withouth authconfigcopy /etc/ldap.conf
copy /etc/pam.d/system-auth
copy /etc/pam.d/passwd
copy /etc/nsswitch.conf
Autohome
modify /etc/pam.d/system-auth and add
session required /lib/security/$ISA/pam_mkhomedir.so skel=/etc/skel/ umask=0077
Files :www.to.infn.it/~argiro/slapd.confwww.to.infn.it/~argiro/ldap.conf
www.to.infn.it/~argiro/base.ldifwww.to.infn.it/~argiro/group.ldifwww.to.infn.it/~argiro/user.ldif
www.to.infn.it/~argiro/system-authwww.to.infn.it/~argiro/passwdwww.to.infn.it/~argiro/nsswitch.conf
Backup and restore
backup
#slapcat -f /etc/openldap/slapd.conf -b "dc=to,dc=infn,dc=it" -l ldap-backup.ldif
restore#slapadd -v -c -l ldap-backup.ldif -f /etc/openldap/slapd.conf
then run
slapindex
Referenceshttp://linsec.ca/Using_OpenLDAP_for_User_Authentication
http://www-unix.mcs.anl.gov/~gawor/ldap/ (ldap browser editor)
martedì 8 aprile 2008
Dell Perc5 Raid
The Dell Perc5i is actually an LSI MegaRAID SAS 8408E.
The command line interface is called MegaCli and can be downloaded in the
downloads of that LSI controller.
Examples
/opt/MegaRAID/MegaCli/MegaCli -AdpAllinfo -aAll
The command line interface is called MegaCli and can be downloaded in the
downloads of that LSI controller.
Examples
/opt/MegaRAID/MegaCli/MegaCli -AdpAllinfo -aAll
giovedì 14 febbraio 2008
Work Feb 14 2007
Accessing CMSSW CVS repo from outside Cern
export CVSROOT=:ext:argiro@cmscvs.cern.ch:/cvs_server/repositories/CMSSW
export CVS_RSH=ssh
The system will ask for your AFS password very often. To avoid this see
http://cvs.web.cern.ch/cvs/howto.php#accessing-sshlinux (puff, pant)
alternalively use fsh ( I have not tested it at Cern)
http://www.lysator.liu.se/fsh/
export CVS_RSH=ssh
The system will ask for your AFS password very often. To avoid this see
http://cvs.web.cern.ch/cvs/howto.php#accessing-sshlinux (puff, pant)
alternalively use fsh ( I have not tested it at Cern)
http://www.lysator.liu.se/fsh/
martedì 12 febbraio 2008
UI configuration
gLite 3.1.0
install rpms as described in
https://twiki.cern.ch/twiki/bin/view/LCG/GenericInstallGuide310#Installing_the_middleware
modify
/opt/glite/yaim/examples/siteinfo/site-info.def
with the following parameters
RB_HOST egee-rb-01.cnaf.infn.it
WMS_HOST glite-rb-00.cnaf.infn.it
BDII_HOST egee-bdii.cnaf.infn.it
SITE_BDII_HOST t2-bdii-01.$MYDOMAIN
issue the configuration command
yaim -c -s siteinfo.def UI
install rpms as described in
https://twiki.cern.ch/twiki/bin/view/LCG/GenericInstallGuide310#Installing_the_middleware
modify
/opt/glite/yaim/examples/siteinfo/site-info.def
with the following parameters
RB_HOST egee-rb-01.cnaf.infn.it
WMS_HOST glite-rb-00.cnaf.infn.it
BDII_HOST egee-bdii.cnaf.infn.it
SITE_BDII_HOST t2-bdii-01.$MYDOMAIN
issue the configuration command
yaim -c -s siteinfo.def UI
martedì 5 febbraio 2008
Work - 5 Febbraio 08
lunedì 4 febbraio 2008
Work - 4 Febbraio 08
Run w/ optimized GR seem to have choosen wrong files.
Found runs in existing ntuple and resubmitted
Found runs in existing ntuple and resubmitted
venerdì 1 febbraio 2008
Work - 1 Febbraio
giovedì 31 gennaio 2008
Work - 31 Gennaio
1. Tested socks proxy
2. C++ code to stream a std::map
3. Operator << to fill a map from a list of files and sum all values with the same key
(Useful to write partial sums of E_t in each ecal xtal and then collect)
4. Run test beam analysis jobs w/ optimized GR from Jarry . Output on pccmsto02:/data/argiro
(jobs still running)
2. C++ code to stream a std::map
3. Operator << to fill a map from a list of files and sum all values with the same key
(Useful to write partial sums of E_t in each ecal xtal and then collect)
4. Run test beam analysis jobs w/ optimized GR from Jarry . Output on pccmsto02:/data/argiro
(jobs still running)
lunedì 28 gennaio 2008
Access to internal web pages using socks
...using the ssh socks proxy feature
On your local machine type
ssh -ND 8080 yourname@your.computer.atwork
and your password. Leave the shell open (it will
be unresponsive)
Configure your browser with "Manual proxy configuration";
As a "socks proxy" use "localhost:8080"
Use the socks v4 option
Iscriviti a:
Commenti (Atom)





