<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://t2bwiki.iihe.ac.be/index.php?action=history&amp;feed=atom&amp;title=TtBar_Analysis_Framework</id>
	<title>TtBar Analysis Framework - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://t2bwiki.iihe.ac.be/index.php?action=history&amp;feed=atom&amp;title=TtBar_Analysis_Framework"/>
	<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=TtBar_Analysis_Framework&amp;action=history"/>
	<updated>2026-07-14T13:51:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://t2bwiki.iihe.ac.be/index.php?title=TtBar_Analysis_Framework&amp;diff=334&amp;oldid=prev</id>
		<title>Maintenance script: Created page with &quot; === How to get the code === The Top Quark Analysis code as we will develop in Brussels will be part of the Top-package in the CMSSW-software. Every stable version of this co...&quot;</title>
		<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=TtBar_Analysis_Framework&amp;diff=334&amp;oldid=prev"/>
		<updated>2015-08-26T12:29:24Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; === How to get the code === The Top Quark Analysis code as we will develop in Brussels will be part of the Top-package in the CMSSW-software. Every stable version of this co...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
=== How to get the code ===&lt;br /&gt;
The Top Quark Analysis code as we will develop in Brussels will be part of the Top-package in the CMSSW-software. Every stable version of this code should be accessible by means of the central CVS-server from CERN. However, for daily development, a CVS server is setup in Brussels. In order to get a recent version of the code, you should:&lt;br /&gt;
**login to the lxpub2 or lxpub3 machine&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  e.g: ssh -X username@lxpub2.iihe.ac.be&lt;br /&gt;
  &amp;lt;/pre&amp;gt; &lt;br /&gt;
**make sure the CMS software is sourced&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  setenv VO_CMS_SW_DIR /msa3/cmssoft&lt;br /&gt;
  source $VO_CMS_SW_DIR/cmsset_default.csh ## initialiseert de cms env&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
**get a recent CMSSW workspace (CMSSW_1_2_0) in your /beo5/&amp;lt;tt&amp;gt;username&amp;lt;/tt&amp;gt; directory&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  scramv1 p CMSSW CMSSW_1_2_0; cd CMSSW_1_2_0/src&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
**make a symlink to this latest version&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  in /beo5/&amp;lt;tt&amp;gt;uname&amp;lt;/tt&amp;gt;, type &amp;#039;ln -s CMSSW_1_2_0 CMSSW&amp;#039;&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
**set the path&amp;#039;s to the Brussels&amp;#039; CVS server&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  export CVS_RSH=/usr/bin/ssh&lt;br /&gt;
  export CVSROOT=:pserver:&amp;lt;tt&amp;gt;uname&amp;lt;/tt&amp;gt;@pc150.iihe.ac.be:/home/cvs/cms&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
**login to this server&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  cvs login (and type your normal lxpub password)&lt;br /&gt;
  &amp;lt;/pre&amp;gt; &lt;br /&gt;
  (these two lines might be put your .bashrc)&lt;br /&gt;
**get the Top -code from the Brussels&amp;#039; CVS server&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  cvs co -r Top_1_0 Top&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
**compile the code&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  scramv1 b&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
**make your own library&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  look in e.g. TtObjectResolutions to have an example on how to do this&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
As you will notice, you will have to change all the PATH&amp;#039;s in your header files when importing your code into the new framework. Another important difference is the extraction  of the KinFit package to a standalone library. Now &amp;lt;tt&amp;gt;scramv1 b&amp;lt;/tt&amp;gt; will as well take care of the compilation of this package.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For the moment, only Jan Heyninck is supposed to commit changes to the code. In near future however, everyone should be able to do this. This means that if you would like to add a feature to the code, or you have found a bug, this is send on the top quark mailing list.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Get the code from global dbs&lt;br /&gt;
**make sure the CMS software is sourced&lt;br /&gt;
**set the path&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  setenv CVSROOT :pserver:anonymous@cmscvs.cern.ch:/cvs_server/repositories/CMSSW&lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
**login to this server&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  cvs login (and type following password: 98passwd)&lt;br /&gt;
  &amp;lt;/pre&amp;gt; &lt;br /&gt;
**go in the source directory and type&lt;br /&gt;
  &amp;lt;pre&amp;gt;&lt;br /&gt;
  cvs co TopQuarkAnalysis &lt;br /&gt;
  &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Some useful cvs commands ===&lt;br /&gt;
still to add&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
A [http://w3.iihe.ac.be/~heyninck/ Ttbar doxygen documentation page] is available and similar to [http://cmsdoc.cern.ch/cms/sw/slc3_ia32_gcc323/cms/cmssw/CMSSW_1_2_0/doc/html/ the global CMSSW-software page]. This page is updated each night, and is meant to be a never ending work-in-progress, where everyone should contribute! To know how to add documentation, compare the content of the doc directories in the Top-code subdirectories with what you see on the doxygen page.&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Running your analysis on the locally produced Ttbar sample ===&lt;br /&gt;
If you want to run on the 200k of inclusive Ttbar reco data, please find the ROOT-files in:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Top/TtEventProducers/test/TtRecoFiles.cfi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you want to access the 200k of semileptonic Ttbar events, a list of ROOT-files can be found in:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Top/TtEventProducers/test/TtSemiEvents.cfi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(TODO)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
=== Frequently Asked Questions ===&lt;br /&gt;
shoot!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TracNotice|{{PAGENAME}}}}&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>