This is a link to get started with D0 code management
Saturday, August 18, 2007
Monday, May 28, 2007
Research:WestGrid:Reprocessing: sam cannot find the name zhiyil
When I submit jobs (d0 data p20 reprocessing) to westgrid, once my keberos expired, I have to type my password again to re-create keberos certificate. However, even I type correct password, I was still given the following error: zhiyil cannot be found.
The solution should be:
kdestroy
and
remove the file /tmp/PROXY_zhiyil
But sometimes they are not working. Confused....
==============
Traceback (most recent call last):
File "/export/D0_products/ups/prd/jim_client/NULL/v3_0_1/bin/samg", line 179, in ?
sys.exit(main(sys.argv))
File "/export/D0_products/ups/prd/jim_client/NULL/v3_0_1/bin/samg", line 175, in main
command_function(arguments)
File "samg_submit.py", line 262, in samg_submit
File "samg_submit.py", line 133, in translate
File "samg_submit.py", line 157, in translateDoc
File "/export/D0_products/ups/prd/jim_client/NULL/v3_0_1/lib/jim_client/mergejob.py", line 862, in checkSemantic
samgjob.Doc.checkSemantic(self)
File "/home/parag/wspace/samgrid/V7/JIMSUITE/jim_client/lib/jim_client/samgjob.py", line 828, in checkSemantic
File "/export/D0_products/ups/prd/jim_client/NULL/v3_0_1/lib/jim_client/mergejob.py", line 887, in createAttribute
attr = Attribute.factory(token, self.context)
File "/export/D0_products/ups/prd/jim_client/NULL/v3_0_1/lib/jim_client/mergejob.py", line 515, in factory
newDefname,snapId=context.createDatasetfromDimension(tokenValue)
File "/export/D0_products/ups/prd/jim_client/NULL/v3_0_1/lib/jim_client/mergejob.py", line 326, in createDatasetfromDimension
sam_user = jim_client_util.getUserName()
File "/home/parag/wspace/samgrid/V7/JIMSUITE/jim_client/lib/jim_client/jim_client_util.py", line 177, in getUserName
File "sam_common_pylibSamCommand/BlessedCommandInterfacePlaceHolder.py", line 81, in __call__
File "sam_common_pylibSamCommand/CommandInterface.py", line 251, in __call__
File "sam_common_pylibSamCommand/SamCommandInterface.py", line 243, in apiWrapper
File "sam_user_pyapi/src/samUtility.py", line 317, in implementation
File "sam_common_pylibSamCorba/SamServerProxy.py", line 257, in _callRemoteMethod
File "sam_common_pylibSamCorba/SamServerProxyRetryHandler.py", line 266, in handleCall
SamException.SamExceptions.PersonNotFound: GridSubject with name '/DC=gov/DC=fnal/O=Fermilab/OU=People/CN=Zhiyi Liu/USERID=zhiyil' not found.
Saturday, May 26, 2007
Research:D0:caf_util: about processor EMJetMatching
The processor EMJetMatching doesn't throw any events away, basically, it just tries to loop all EM objects which may be in the cone with a jet. Here if EM and Jet are in the jet cone, then label this JET as EM, say, change flag isEM() true, if not, label isEM() as false. Why? Since we isEM() is set as reconstructing, so it may not be right.
The processor EMJetMatching is based on the class SelectUserObjects. The latter has documentation as below.
/**
* Select objects based on a user defined cut.
*
* The cut is supplied by the user by overriding the
* virtual selectObject(const T& obj) method.
*
* To use this class, inherit from it, passing the desired
* object type to the base class:
*
* class MySelector : public SelectUserObjects
*
* Then override the selectObject(const TMBJet& obj) method.
* The user can also override two more methods (which do nothing
* by default):
*
* void before(Collection
* void after(Collection
*
* Configuration options:
*
* - .From: OldBranchname [required]
* - .To: NewBranchName [required]
* - .RejectedBranch: NewBranchName for the rejected objects [default none]
* - .Tree: OutputTreeName[default: name()]
* - .Variables: Member variable list [default: all]
*
* - .LoadAll: Load whole object before it is copied [default: 1]
* You should probably never change this if you don't know exactly
* what you are doing.
*
* \ingroup cafe
*/
Monday, May 21, 2007
D0:software:network: my laptop is blocked
Fnal has a network policy, and my laptop is blocked since I open X window without certificates. The method to solve it is to import certificate to my browser. Follow the instruction on the given link. but I don't have kx509 installed. I cannot find any on network (since links are dead), so I find there is kx509 installed and copy it and its corresponding libs to my local laptop. and run the script get-cert.sh with -i, works.
Sunday, May 20, 2007
D0:MET: how to get access to right MET
In D0 framework, MET issue is very tricky. I am sick of how to get access to it and always spent lots of time on it. Here, I would try my best to clarify it:
- MET has several components: CH, JES, MU, Bad Jets. Based on your study, you could choose different configuration, usually, we use:
CH+JES+EM+MU
-However, for JES, we have corrJet, corrmuJet, smear_corrJet, smear_corrmuJET etc, here Jet is JCCA or JCCB. For MU, we have MU or CALOMU.
- But a point making things more complicated is: in JES, sometime we apply muon correction which may be counted later in MET, in order to avoid double contributions from muon correction, we should keep in mind it!!
Friday, May 4, 2007
Research:D0:Triggers: how to get report of certain triggers or trigger list
Now D0 users don't need so-called authentication to get trigger report. The basic approach is
- visit D0 work page: http://www-d0.fnal.gov/atwork/index.html
- Click TriggerMeister
- Click Trigger Database
Wednesday, April 4, 2007
Tuesday, April 3, 2007
D0: configure file
Old version of caf has a bad feature that it cannot remove space after a string in configure files. It will be bad when the line end is file name or string-like configure. So use the script to check:
./top_cafe/scripts/check_configs.sh
