ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/rootEWKanalyzer/makeInputFile.sh
Revision: 1.4
Committed: Tue Dec 21 15:25:39 2010 UTC (14 years, 4 months ago) by jueugste
Content type: application/x-sh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +4 -3 lines
Log Message:
Added generated PU info

File Contents

# Content
1 #!/bin/bash
2
3 ## script tp generate input files from the SE
4 ## to be used with the prompt analysis framework
5
6 ## path ti the home on the SE (should not be changed)
7 SEHOMEDIR="srm://t3se01.psi.ch:8443/srm/managerv2?SFN=/pnfs/psi.ch/cms/trivcat/store/user/jueugste"
8
9 ## -------------------------------------------------------------
10 ## these line have to be adjusted before usage
11 ## write this input file
12 ##FILE="input_Run2010B_Nov23.txt"
13 FILE="input_Run2010A.txt"
14 ## this is the directory with the input files (relative to the SEHOMEDIR)
15 DIR="/384_patch2/Data/Run2010A_Dec07/"
16 ##DIR="/384_patch2/MC/DYJetsToLL_TuneD6T_M-50Madgraph"
17
18 ## get the listing and keep only the path and write it to the file
19 ## append the dcap prefix to acces the data via ROOT
20 srmls $SEHOMEDIR/$DIR | awk '/.root/ {print "dcap://t3se01.psi.ch:22125" $2}' > $FILE