ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/rootEWKanalyzer/makeInputFile.sh
Revision: 1.3
Committed: Mon Nov 15 09:51:24 2010 UTC (14 years, 5 months ago) by jueugste
Content type: application/x-sh
Branch: MAIN
Changes since 1.2: +3 -3 lines
Log Message:
*** empty log message ***

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_MinBias.txt"
13 ## this is the directory with the input files (relative to the SEHOMEDIR)
14 ##DIR="/MC/Diffractive/WToENu_TuneZ2_Oct14/"
15 DIR="/Data/CMSSW361patch2/MinBias_Nov3"
16
17 ## get the listing and keep only the path and write it to the file
18 ## append the dcap prefix to acces the data via ROOT
19 srmls $SEHOMEDIR/$DIR | awk '/.root/ {print "dcap://t3se01.psi.ch:22125" $2}' > $FILE