- My blog
- Post new blog entry
- Top bloggers
- Recent posts
Sort by:[Date]
Drupal Wishlist
Updated on Thu, 2006-10-26 08:32. Originally created by kocolosk on 2006-10-26 08:32. Ok, after working on porting the BEMC webpages to Drupal over the past couple of days I have a list of features that I hope we can implement in our Drupal installation:
- Performance Optimizations: I don't know if it's Drupal settings, PHP settings, or what, but this CMS is awfully slow at times. I've set up a couple of Joomla installations at MIT that are much snappier. This is the number one complaint I hear from other people. It's going to be a running joke at EMC phone meetings before too long.
- Trash Bin: What do I do with pages that I decide I don't want? I don't see any way to trash them, so for the moment the BEMC subsystem page has a "Trash Bin" of it's own. It sure would be nice if I could hide it, though.
- Authorship changes: Sometimes I create pages as kocolosk that would probably be better off as staruser pages, but I don't see any way to change the authorship myself, so I've resorted on at least occasion to "trashing" the old page as best I could and then recreating a new page with a different author. Very convoluted.
- Restricted viewership: I would like to post analysis results in Drupal, but I can't figure out how to restrict my pages to logged in users. At the moment I have a folder called drupal_pics in protected/spin that I put plots in. Users are then required to type a password to see them, but again, this is something Drupal must be able to handle by itself.
This is a test
Updated on Wed, 2006-12-27 21:43. Originally created by testadmin on 2006-12-27 21:32.Testing upload. Restored options (with head on shoulders).
Pythia notes
Updated on Sat, 2007-01-27 20:21. Originally created by andrewar on 2007-01-27 20:21.gstar_input: initializing the MPAR structure (event header such as Pythia proce
ss id etc)
*** Unknown command: ener
*** Unknown command: MSEL
gexec $STAR_LIB/apythia.so
Useful Condor commands
Updated on Mon, 2007-02-05 14:15. Originally created by kocolosk on 2007-02-05 13:38. As RCF moves towards the Condor batch system I thought I'd compile a list of some useful commands here. The ones with a * next to them should be run from the node on which you submitted your jobs. The full Condor 6.8.3 manual is at
Embedding Notes, 3 May 2007
Updated on Thu, 2007-05-03 12:45. Originally created by andrewar on 2007-05-03 12:45. Notes on embedding test sets for CuCu, P06ib.
I ran several sets of embedding test files at PDSF, named Piminus_00x_spectra.
Set Number | Field | Notes | QA |
Chain init + TEventList generation | Process TEventList | |
CINT | 156 / 247 | 1664 / 1909 |
Python | 156 / 257 | 1255 / 1565 |
Compiled C++ | 154 / 249 | 877 / 1209 |
I tried the Python code without using a TEventList. The chain initialization dropped down to 50/70 seconds, but reading in all 26M events took me 1889/2183 seconds. In the end the TEventList was definitely worth it, even though it took 3 minutes to construct one.
Conclusions:
- Use a TEventList. My selection criteria weren't very restrictive (event fired JP1 or JP2), but I cut my processing time by > 30%.
- I had already compiled the dictionaries for the various classes and the reader in every case, but this small macro still got a strong performance boost from compilation. I was surprised to see that the Python code was closer to compiled in performance than CINT.
Systematic Uncertainty Studies
Updated on Thu, 2007-07-12 12:33. Originally created by kocolosk on 2007-05-20 16:22. In the 2003+2004 jet cross section and A_LL paper we quoted a 5% systematic uncertainty on the absolute BTOW calibration. For the 2005 jet A_LL paper there is some interest in reducing the size of this systematic.
I went back to the electron ntuple used to set the absolute gains and started making some additional plots. Here's an investigation of E_{tower} / p_{track} versus track momentum. I only included tracks passing directly through the center of the tower (R<0.003) where the correction from shower leakage is effectively zero.
Full set of electron cuts (overall momentum acceptance 1.5 < p < 20.):
dedx>3.5 && dedx<4.5 && status==1 && np>25 && adc>2*rms && r<0.003 && id<2401
I forgot to impose a vertex constraint on these posted plots, but when I did require |vz| < 30 the central values didn't really move at all.
Here are the individual slices in track momentum used to obtain the points on that plot:
Electrons with momentum up to 20 GeV were accepted in the original sample, but there are only ~300 of them above 6 GeV and the distribution is actually rather ugly. Integrating over the full momentum range yields a E/p measurement of 0.9978 +- 0.0023, but as you can see the contributions from invididual momentum slices scatter around 1.0 by as much as 4.5%
Next Steps? -- I'm thinking of slicing versus eta and maybe R (distance from center of tower).
I went back to the electron ntuple used to set the absolute gains and started making some additional plots. Here's an investigation of E_{tower} / p_{track} versus track momentum. I only included tracks passing directly through the center of the tower (R<0.003) where the correction from shower leakage is effectively zero.
Full set of electron cuts (overall momentum acceptance 1.5 < p < 20.):
dedx>3.5 && dedx<4.5 && status==1 && np>25 && adc>2*rms && r<0.003 && id<2401
I forgot to impose a vertex constraint on these posted plots, but when I did require |vz| < 30 the central values didn't really move at all.
Here are the individual slices in track momentum used to obtain the points on that plot:
Electrons with momentum up to 20 GeV were accepted in the original sample, but there are only ~300 of them above 6 GeV and the distribution is actually rather ugly. Integrating over the full momentum range yields a E/p measurement of 0.9978 +- 0.0023, but as you can see the contributions from invididual momentum slices scatter around 1.0 by as much as 4.5%
Next Steps? -- I'm thinking of slicing versus eta and maybe R (distance from center of tower).
SVN Repository Access
Updated on Thu, 2007-07-12 12:39. Originally created by kocolosk on 2007-05-25 01:29. We set up a Subversion repository at MIT to track a few pieces of software that many of us are using, but that don't fit into the STAR framework.
Browsing and Checking Out Code
http://deltag5.lns.mit.edu/viewvc/
will allow you to browse the contents of the repository. You'll need to have a Subversion client installed in order to check out code. Simplest way on a Mac is to do
fink install svn-client
although there are also binary .pkg installers floating around for most eveery platform if you'd prefer to go that route. Then do
svn co http://deltag5.lns.mit.edu:8080/svn/modulename
Committing Changes
The web server doesn't do any authentication, so if you plan on committing changes to these packages you'll need to be added to the svnusers group on deltag5 and you'll also need to use ssh to get your working copy:
svn co svn+ssh://deltag5.lns.mit.edu/svnrep/modulename
In that case, make sure that your .bashrc on deltag5 adds /usr/local/bin to your $PATH. Note that this method may ask you for your password as much as 4 times, so publickey authentication is your friend (see SSHKeychain for Macs).
For more information on Subversion (basically the successor to CVS) take a look at http://svnbook.red-bean.com/
Browsing and Checking Out Code
http://deltag5.lns.mit.edu/viewvc/will allow you to browse the contents of the repository. You'll need to have a Subversion client installed in order to check out code. Simplest way on a Mac is to do
fink install svn-client
although there are also binary .pkg installers floating around for most eveery platform if you'd prefer to go that route. Then do
svn co http://deltag5.lns.mit.edu:8080/svn/modulename
Committing Changes
The web server doesn't do any authentication, so if you plan on committing changes to these packages you'll need to be added to the svnusers group on deltag5 and you'll also need to use ssh to get your working copy:svn co svn+ssh://deltag5.lns.mit.edu/svnrep/modulename
In that case, make sure that your .bashrc on deltag5 adds /usr/local/bin to your $PATH. Note that this method may ask you for your password as much as 4 times, so publickey authentication is your friend (see SSHKeychain for Macs).
For more information on Subversion (basically the successor to CVS) take a look at http://svnbook.red-bean.com/