ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/rootEWKanalyzer/makeInputFile.sh
Revision: 1.1
Committed: Mon Jun 7 14:57:40 2010 UTC (14 years, 10 months ago) by jueugste
Content type: application/x-sh
Branch: MAIN
Log Message:
first commit

File Contents

# User Rev Content
1 jueugste 1.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="bla.txt"
13     ## this is the directory with the input files (relative to the SEHOMEDIR)
14     DIR="/Data/7TeV/ETHNTuples/Commissioning10-SD_EG-v9"
15    
16     ## get the listing and keep only the path and write it to the file
17     ## append the dcap prefix to acces the data via ROOT
18     srmls $SEHOMEDIR/$DIR | awk '/_6r/ {print "dcap://t3se01.psi.ch:22125" $2}' > $FILE
19