Difference: SubmittingAN (1 vs. 11)

Revision 112014-04-10 - BenCarlson

Line: 1 to 1
 
META TOPICPARENT name="BenCarlson"

Instructions for SVN

Line: 74 to 75
 svn co -N svn+ssh://bcarlson@svn.cern.ch/reps/tdr2 cd tdr2 svn update utils
Changed:
<
<
svn update -N paper svn update paper/BPH-12-006
>
>
svn update -N papers svn update papers/BPH-12-006
 cd notes eval `./tdr runtime -sh` #-csh for LPC Then run: tdr --style paper b BPH-12-006
Deleted:
<
<
 \ No newline at end of file
Added:
>
>
To commit, run svn ci --editor-cmd 'emacs -nw' (on LPC) Do not add / delete etc. Use Svn commands, such as svn mkdir or svn cp. Seems to help. Once a file is under verison control, edit the file (make change) then do svn ci --editor-cmd 'emacs -nw' then hit c

Revision 102014-01-28 - BenCarlson

Line: 1 to 1
 
META TOPICPARENT name="BenCarlson"
Changed:
<
<
To upload an analysis note to SVN in the required format, follow the following steps. These have been tailored to the specific case of the Upsilon cross section measurement. Sometimes the file tdr2/notes/tdr disappears, which makes it impossible to run the script needed to compile the tex (tdr --style...). If this happens, create a new directory, and start from the top.
mkdir UpsAN 
>
>

Instructions for SVN

These instructions are designed to help with uploading and compiling document using svn.

Analysis Note

mkdir UpsAN #or some directory name
 cd UpsAN The first time you create a directory
Changed:
<
<
svn co -N svn+ssh://bcarlson@svn.cern.ch/reps/tdr2
>
>
svn co -N svn+ssh://bcarlson@svn.cern.ch/reps/tdr2 #replace bcarlson with your lxplus username
 cd tdr2 svn update utils svn update -N notes svn update notes/AN-12-454
Added:
>
>
# the above lines only need to be completed once
  cd notes
Changed:
<
<
eval `./tdr runtime -sh`
>
>
eval `./tdr runtime -sh` #on FNAL, replace -sh with -csh
 tdr --style an b AN-12-454
Changed:
<
<
After evaluating the code once, you can then modify your tex file (since this is on lxplus, it's easiest to scp) then recompile with the tdr command.
scp AN-12-454_temp.tex bcarlson@lxplus.cern.ch:/afs/cern.ch/user/b/bcarlson/UpsAN/tdr2/notes/AN-12-454/trunk/AN-12-454.tex //[upload code]
scp bcarlson@lxplus.cern.ch:/afs/cern.ch/user/b/bcarlson/UpsAN/tdr2/notes/tmp/AN-12-454_temp.pdf . //[download pdf]
>
>
The tex file is stored at:

AN-12-454/trunk/AN-12-454.tex

Edit the file, then build the pdf. After compling, it prints the location of a temp pdf file, such as /uscms_data/d3/btcarlso/AN-12-454/tdr2/notes/tmp/AN-12-454_temp.pdf. Copy that file to your local machine to view.

  After making changes to the tex files, one needs to add any new files to svn, then save the changes to svn:
cd AN-12-454/trunk
svn add Fig/
Deleted:
<
<
svn ci
 
Changed:
<
<
*use svn ci --file out.txt Any figures can be placed in the directory (if the directory you created has a name other than UpsAN, then of course change it...)
UpsAN/tdr2/notes/AN-12-454/trunk
>
>
svn ci #works on lxplus, but not LPC svn commit -m "something here" #works on LPC

Note on naming files

  Then be sure that the files are in pdf format. In the .tex file, all figures should be referenced with command the \includegraphics{filename} where filename is the filename of the pdf file without the '.pdf'. If you have made .eps files using root, you can either convert them to pdf using the command epstopdf filename.eps, which then creates filename.pdf. I haven't figured out a simple way to use wildcards with this command.

Figure filenames cannot have periods in the filenames. The name summary_0.0_0.6.pdf will cause tex to give an error and not make the figure. The easiest workaround I have found is to avoid such file names, and make instead summary_0_1 or something like that.

Added:
>
>

PAS

 For a PAS, the procedure is similar. In this case, we are working on BPH-12-006.
mkdir UpsAN 
Line: 43 to 52
  svn update -N notes svn update notes/BPH-12-006 cd notes
Changed:
<
<
eval `./tdr runtime -sh`
>
>
eval `./tdr runtime -sh` #-csh for LPC
 Then run: tdr --style pas b BPH-12-006
Added:
>
>
 cd BPH-12-006/trunk svn add Fig/ #svn ci (seems to work on lxplus)
Line: 55 to 65
 

Note that to upload the PAS to cadi, the svn repository must have been upadated with the new tex file and Fig/ folder. Once this has been done, in cadi the submit process automatically compiles the tex to create the pdf in cadi.

Changed:
<
<


>
>

Paper

The paper procedure is more or less the same as the PAS

mkdir BPH-12-006paper #or whatever name you like  
cd BPH-12-006paper
The first time you create a directory
svn co -N svn+ssh://bcarlson@svn.cern.ch/reps/tdr2
	cd tdr2
	svn update utils
	svn update -N paper
	svn update paper/BPH-12-006
cd notes 
eval `./tdr runtime -sh` #-csh for LPC
Then run:
tdr --style paper b BPH-12-006
  \ No newline at end of file

Revision 92014-01-22 - BenCarlson

Line: 1 to 1
 
META TOPICPARENT name="BenCarlson"
To upload an analysis note to SVN in the required format, follow the following steps. These have been tailored to the specific case of the Upsilon cross section measurement. Sometimes the file tdr2/notes/tdr disappears, which makes it impossible to run the script needed to compile the tex (tdr --style...). If this happens, create a new directory, and start from the top.
mkdir UpsAN 
Line: 25 to 25
 svn add Fig/ svn ci
Changed:
<
<
*use svn ci --file out.txt Any figures can be placed in the directory (if the directory you created has a name other than UpsAN, then of course change it...)
>
>
*use svn ci --file out.txt Any figures can be placed in the directory (if the directory you created has a name other than UpsAN, then of course change it...)
 
UpsAN/tdr2/notes/AN-12-454/trunk

Then be sure that the files are in pdf format. In the .tex file, all figures should be referenced with command the \includegraphics{filename} where filename is the filename of the pdf file without the '.pdf'. If you have made .eps files using root, you can either convert them to pdf using the command epstopdf filename.eps, which then creates filename.pdf. I haven't figured out a simple way to use wildcards with this command.

Line: 49 to 48
 tdr --style pas b BPH-12-006 cd BPH-12-006/trunk svn add Fig/
Changed:
<
<
svn ci
>
>
#svn ci (seems to work on lxplus) svn commit -m "update" #need for cmslpc-sl5
 

Revision 82013-12-23 - BenCarlson

Line: 1 to 1
 
META TOPICPARENT name="BenCarlson"
To upload an analysis note to SVN in the required format, follow the following steps. These have been tailored to the specific case of the Upsilon cross section measurement. Sometimes the file tdr2/notes/tdr disappears, which makes it impossible to run the script needed to compile the tex (tdr --style...). If this happens, create a new directory, and start from the top.
mkdir UpsAN 
Line: 25 to 25
 svn add Fig/ svn ci
Added:
>
>
*use svn ci --file out.txt
 Any figures can be placed in the directory (if the directory you created has a name other than UpsAN, then of course change it...)
UpsAN/tdr2/notes/AN-12-454/trunk

Revision 72013-04-12 - BenCarlson

Line: 1 to 1
 
META TOPICPARENT name="BenCarlson"
To upload an analysis note to SVN in the required format, follow the following steps. These have been tailored to the specific case of the Upsilon cross section measurement. Sometimes the file tdr2/notes/tdr disappears, which makes it impossible to run the script needed to compile the tex (tdr --style...). If this happens, create a new directory, and start from the top.
mkdir UpsAN 
cd UpsAN
Deleted:
<
<
svn co -N svn+ssh://bcarlson@svn.cern.ch/reps/tdr2
 The first time you create a directory
Added:
>
>
svn co -N svn+ssh://bcarlson@svn.cern.ch/reps/tdr2
 cd tdr2 svn update utils svn update -N notes
Line: 36 to 36
 
mkdir UpsAN 
cd UpsAN
Deleted:
<
<
svn co -N svn+ssh://bcarlson@svn.cern.ch/reps/tdr2
 The first time you create a directory
Added:
>
>
svn co -N svn+ssh://bcarlson@svn.cern.ch/reps/tdr2
  cd tdr2 svn update utils svn update -N notes

Revision 62013-04-01 - BenCarlson

Line: 1 to 1
 
META TOPICPARENT name="BenCarlson"
To upload an analysis note to SVN in the required format, follow the following steps. These have been tailored to the specific case of the Upsilon cross section measurement. Sometimes the file tdr2/notes/tdr disappears, which makes it impossible to run the script needed to compile the tex (tdr --style...). If this happens, create a new directory, and start from the top.
mkdir UpsAN 
Line: 41 to 41
  cd tdr2 svn update utils svn update -N notes
Changed:
<
<
svn update notes/AN-12-454
>
>
svn update notes/BPH-12-006
 cd notes eval `./tdr runtime -sh` Then run:

Revision 52013-03-25 - BenCarlson

Line: 1 to 1
 
META TOPICPARENT name="BenCarlson"
To upload an analysis note to SVN in the required format, follow the following steps. These have been tailored to the specific case of the Upsilon cross section measurement. Sometimes the file tdr2/notes/tdr disappears, which makes it impossible to run the script needed to compile the tex (tdr --style...). If this happens, create a new directory, and start from the top.
mkdir UpsAN 
Line: 8 to 8
 cd tdr2 svn update utils svn update -N notes
Changed:
<
<
svn update notes/BPH-12-006
>
>
svn update notes/AN-12-454
  cd notes eval `./tdr runtime -sh`

Revision 42013-03-18 - BenCarlson

Line: 1 to 1
 
META TOPICPARENT name="BenCarlson"
Changed:
<
<
To upload an analysis note to SVN in the required format, follow the following steps. These have been tailored to the specific case of the Upsilon cross section measurement.
>
>
To upload an analysis note to SVN in the required format, follow the following steps. These have been tailored to the specific case of the Upsilon cross section measurement. Sometimes the file tdr2/notes/tdr disappears, which makes it impossible to run the script needed to compile the tex (tdr --style...). If this happens, create a new directory, and start from the top.
 
mkdir UpsAN 
cd UpsAN
svn co -N svn+ssh://bcarlson@svn.cern.ch/reps/tdr2
Changed:
<
<
The first time:
>
>
The first time you create a directory
 cd tdr2 svn update utils svn update -N notes
Changed:
<
<
svn update notes/AN-12-454
>
>
svn update notes/BPH-12-006
 cd notes eval `./tdr runtime -sh`
Changed:
<
<
Then run: tdr --style an b AN-12-454
>
>
tdr --style an b AN-12-454

After evaluating the code once, you can then modify your tex file (since this is on lxplus, it's easiest to scp) then recompile with the tdr command.

scp AN-12-454_temp.tex bcarlson@lxplus.cern.ch:/afs/cern.ch/user/b/bcarlson/UpsAN/tdr2/notes/AN-12-454/trunk/AN-12-454.tex //[upload code]
scp bcarlson@lxplus.cern.ch:/afs/cern.ch/user/b/bcarlson/UpsAN/tdr2/notes/tmp/AN-12-454_temp.pdf . //[download pdf]
  After making changes to the tex files, one needs to add any new files to svn, then save the changes to svn:
cd AN-12-454/trunk
svn add Fig/
svn ci 
Changed:
<
<
After evaluating the code once, you can then modify your tex file (since this is on lxplus, it's easiest to scp) then recompile with the tdr command.
scp AN-12-454_temp.tex bcarlson@lxplus.cern.ch:/afs/cern.ch/user/b/bcarlson/UpsAN/tdr2/notes/AN-12-454/trunk/AN-12-454.tex //[upload code]
scp bcarlson@lxplus.cern.ch:/afs/cern.ch/user/b/bcarlson/UpsAN/tdr2/notes/tmp/AN-12-454_temp.pdf . //[download pdf]

Any figures can be placed in the directory

>
>
Any figures can be placed in the directory (if the directory you created has a name other than UpsAN, then of course change it...)
 
UpsAN/tdr2/notes/AN-12-454/trunk

Then be sure that the files are in pdf format. In the .tex file, all figures should be referenced with command the \includegraphics{filename} where filename is the filename of the pdf file without the '.pdf'. If you have made .eps files using root, you can either convert them to pdf using the command epstopdf filename.eps, which then creates filename.pdf. I haven't figured out a simple way to use wildcards with this command.

Figure filenames cannot have periods in the filenames. The name summary_0.0_0.6.pdf will cause tex to give an error and not make the figure. The easiest workaround I have found is to avoid such file names, and make instead summary_0_1 or something like that.

Added:
>
>
For a PAS, the procedure is similar. In this case, we are working on BPH-12-006.
mkdir UpsAN 
cd UpsAN
svn co -N svn+ssh://bcarlson@svn.cern.ch/reps/tdr2
The first time you create a directory
   cd tdr2
   svn update utils
   svn update -N notes
   svn update notes/AN-12-454
cd notes 
eval `./tdr runtime -sh`
Then run:
tdr --style pas b BPH-12-006
cd BPH-12-006/trunk
svn add Fig/
svn ci

Note that to upload the PAS to cadi, the svn repository must have been upadated with the new tex file and Fig/ folder. Once this has been done, in cadi the submit process automatically compiles the tex to create the pdf in cadi.


Revision 32013-03-16 - BenCarlson

Line: 1 to 1
 
META TOPICPARENT name="BenCarlson"
To upload an analysis note to SVN in the required format, follow the following steps. These have been tailored to the specific case of the Upsilon cross section measurement.
mkdir UpsAN 
Line: 14 to 14
 Then run: tdr --style an b AN-12-454
Added:
>
>
After making changes to the tex files, one needs to add any new files to svn, then save the changes to svn:
cd AN-12-454/trunk
svn add Fig/
svn ci 
 After evaluating the code once, you can then modify your tex file (since this is on lxplus, it's easiest to scp) then recompile with the tdr command.
scp AN-12-454_temp.tex bcarlson@lxplus.cern.ch:/afs/cern.ch/user/b/bcarlson/UpsAN/tdr2/notes/AN-12-454/trunk/AN-12-454.tex //[upload code]
scp bcarlson@lxplus.cern.ch:/afs/cern.ch/user/b/bcarlson/UpsAN/tdr2/notes/tmp/AN-12-454_temp.pdf . //[download pdf]

Revision 22013-03-15 - BenCarlson

Line: 1 to 1
 
META TOPICPARENT name="BenCarlson"
To upload an analysis note to SVN in the required format, follow the following steps. These have been tailored to the specific case of the Upsilon cross section measurement.
mkdir UpsAN 
Line: 8 to 8
 cd tdr2 svn update utils svn update -N notes
Changed:
<
<
svn update notes/AN-10-313
>
>
svn update notes/AN-12-454
 cd notes eval `./tdr runtime -sh` Then run:

Revision 12013-03-15 - BenCarlson

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="BenCarlson"
To upload an analysis note to SVN in the required format, follow the following steps. These have been tailored to the specific case of the Upsilon cross section measurement.
mkdir UpsAN 
cd UpsAN
svn co -N svn+ssh://bcarlson@svn.cern.ch/reps/tdr2
The first time: 
cd tdr2
svn update utils
svn update -N notes
svn update notes/AN-10-313
cd notes 
eval `./tdr runtime -sh`
Then run:
tdr --style an b AN-12-454

After evaluating the code once, you can then modify your tex file (since this is on lxplus, it's easiest to scp) then recompile with the tdr command.

scp AN-12-454_temp.tex bcarlson@lxplus.cern.ch:/afs/cern.ch/user/b/bcarlson/UpsAN/tdr2/notes/AN-12-454/trunk/AN-12-454.tex //[upload code]
scp bcarlson@lxplus.cern.ch:/afs/cern.ch/user/b/bcarlson/UpsAN/tdr2/notes/tmp/AN-12-454_temp.pdf . //[download pdf]

Any figures can be placed in the directory

UpsAN/tdr2/notes/AN-12-454/trunk

Then be sure that the files are in pdf format. In the .tex file, all figures should be referenced with command the \includegraphics{filename} where filename is the filename of the pdf file without the '.pdf'. If you have made .eps files using root, you can either convert them to pdf using the command epstopdf filename.eps, which then creates filename.pdf. I haven't figured out a simple way to use wildcards with this command.

Figure filenames cannot have periods in the filenames. The name summary_0.0_0.6.pdf will cause tex to give an error and not make the figure. The easiest workaround I have found is to avoid such file names, and make instead summary_0_1 or something like that.

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback