Editing HiggsAnalysis
Introduction
Thia is how to edit HiggsAnalysis code, which is Adrian's infrastructure to run the VH analyses. A detailed SVN tutorial is at
AdrianBuzatuZHFrameworkSVNTutorial.
export WORKING_AREA="$HOME/public_ppe"
export PACKAGE_HA="HiggsAnalysis"
export FOLDER_HA=$WORKING_AREA/$PACKAGE_HA
cd $WORKING_AREA
mkdir $PACKAGE_HA
cd $PACKAGE_GA
We will setup SVN.
source /data/ppe01/sl44/i386/grid/glite-ui/latest/external/etc/profile.d/grid-env.sh
svn-grid-proxy-init
We will check out the trunk.
svn co https://ppesvn.physics.gla.ac.uk/svn/atlas/$PACKAGE_HA/trunk
We now go to the folder and check that we have the .svn there. It is this one that allows us to commit to SVN the extra changes we will do.
cd trunk
ls .svn
We made the desired changes to files, or add files, then check the status that all is all right and then we can commit to the trunk.
svn status
svn switch https://ppesvn.physics.gla.ac.uk/svn/atlas/$PACKAGE_HA/trunk/
svn ci
We can see that the changes were propagated:
https://ppesvn.physics.gla.ac.uk/svn/atlas/$PACKAGE_HA/trunk/
As they are OK, we can tag to a new number. Let's see what is the latest tag, so that we know what is the next tag number to choose.
svn ls https://ppesvn.physics.gla.ac.uk/svn/atlas/$PACKAGE_HA/tags
Now assuming the desired number is 00-00-03.
svn cp https://ppesvn.physics.gla.ac.uk/svn/atlas/$PACKAGE_HA/trunk/ https://ppesvn.physics.gla.ac.uk/svn/atlas/$PACKAGE_HA/tags/$PACKAGE_HA-00-00-03
Back to mother page:
AdrianBuzatuZHFrameworkGlasgowGlaNtp.
--
AdrianBuzatu - 11-May-2012