Showing posts with label research. Show all posts
Showing posts with label research. Show all posts

Wednesday, May 30, 2007

Research:D0:cafe:top_cafe: topology variables in top_cafe package

We have lots of topological variables used: I have to remember them all :-(

00055   double TopTopologicalVariables::Centrality() const 
00056 {
00057 return Ht()/H();
00058 } // Centrality()
00059
00061 double TopTopologicalVariables::Aplanarity() const
00062 {
00063 ensurePV();
00064 return 1.5 * (*_pv)[2]; // alternative syntax: ... * _pv->operator[](2)
00065 } // Aplanarity()
00066
00068 double TopTopologicalVariables::Sphericity() const
00069 {
00070 ensurePV();
00071 return 1.5 * ( (*_pv)[2] + (*_pv)[1] );
00072 } // Sphericity()

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& from);
* void after(Collection& accepted, Collection& rejected);
*
* 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
*/

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

  1. visit D0 work page: http://www-d0.fnal.gov/atwork/index.html
  2. Click TriggerMeister
  3. Click Trigger Database
Here click "report", then you are given the page to input username and password, Database: production, Role: guest, thus DB username and password can be none! Enjoy trigger database!

Wednesday, April 18, 2007

Research: remove merged files on Westgrid

Once files produced on Westgrid have been merged, should remember to remove for keeping durable space light. To do this:

  1. Log in blackhole by my account same as SFU's
  2. sudo su sam (run this for getting permission, note!! input my SFU password)
  3. Go to Yann's directory (home)
  4. Run the clean script.

Locations of visitors to this page