ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/macros/makePressureHumidityGraph.sh
Revision: 1.1
Committed: Mon Aug 27 10:26:40 2012 UTC (12 years, 8 months ago) by cwiok
Content type: application/x-sh
Branch: MAIN
CVS Tags: Artur_11_07_2013_B, Artur_11_07_2013_A, Artur_11_07_2013, Artur_28_06_2013, Mikolaj_cmssw533, HEAD
Log Message:
Updated scripts for making the plots

File Contents

# User Rev Content
1 cwiok 1.1 #! /bin/sh
2     . /etc/bashrc
3     #
4     if [ $# -ne 1 ]; then
5     echo "Usage: $0 <file_list>"
6     echo "where:"
7     echo "<file_list> - a text file with list of rootuples from CMS WBM"
8     echo " containing RPC gas pressure and humidity data."
9     echo
10     exit -1
11     fi
12     #
13     root.exe -b -l << EOF
14     .L makePressureHumidityGraph.C++
15     makePressureHumidityGraph t(0,"$1","PressureGraph","HumidityGraph");
16     for(int i=0;i<10;i++) t.Show(i);
17     t.Loop();
18     .q
19     EOF
20     #
21     ls -l PressureGraph.* HumidityGraph.*
22     echo "Done."