Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:10:02

0001 #!/usr/bin/env perl
0002 
0003 use strict;
0004 
0005 system("cp $ARGV[0]/crab_0_*/res/DQM_V0001_EcalPreshower_$ARGV[0].root .");
0006 system(". /afs/cern.ch/cms/sw/cmsset_default.sh; eval `scramv1 runtime -sh`; root -l -b -q xPlotES.C\\($ARGV[0]\\)");
0007 system("mkdir results/$ARGV[0]; mv *$ARGV[0]*.gif results/$ARGV[0]; cp DQM_V0001_EcalPreshower_$ARGV[0].root results/$ARGV[0]");
0008 
0009 # make HTML file
0010 system("cat > results/$ARGV[0]/index.html<<EOF
0011 
0012 <HTML>
0013 <Center>
0014 <h1><FONT color=\"Blue\"> ECAL Preshower Analysis (Run $ARGV[0]) </FONT></h1>
0015 </Center>
0016 
0017 <h2><FONT color=\"Red\"> ES Occupancy with selected hits </FONT></h2>
0018 
0019 <img width=\"400\" src=\"ES_Occupancy_SelHits_1D_ESpF_$ARGV[0].gif\">
0020 <img width=\"400\" src=\"ES_Occupancy_SelHits_1D_ESpR_$ARGV[0].gif\">
0021 <br>
0022 <img width=\"400\" src=\"ES_Occupancy_SelHits_1D_ESmF_$ARGV[0].gif\">
0023 <img width=\"400\" src=\"ES_Occupancy_SelHits_1D_ESmR_$ARGV[0].gif\">
0024 <br>
0025 
0026 <img width=\"400\" src=\"ES_Occupancy_SelHits_2D_ESpF_$ARGV[0].gif\">
0027 <img width=\"400\" src=\"ES_Occupancy_SelHits_2D_ESpR_$ARGV[0].gif\">
0028 <br>
0029 <img width=\"400\" src=\"ES_Occupancy_SelHits_2D_ESmF_$ARGV[0].gif\">
0030 <img width=\"400\" src=\"ES_Occupancy_SelHits_2D_ESmR_$ARGV[0].gif\">
0031 <br>
0032 
0033 <h2><FONT color=\"Red\"> ES Energy Map with selected hits </FONT></h2>
0034 
0035 <img width=\"400\" src=\"ES_EnergyDensity_SelHits_2D_ESpF_$ARGV[0].gif\">
0036 <img width=\"400\" src=\"ES_EnergyDensity_SelHits_2D_ESpR_$ARGV[0].gif\">
0037 <br>
0038 <img width=\"400\" src=\"ES_EnergyDensity_SelHits_2D_ESmF_$ARGV[0].gif\">
0039 <img width=\"400\" src=\"ES_EnergyDensity_SelHits_2D_ESmR_$ARGV[0].gif\">
0040 <br>
0041 
0042 <h2><FONT color=\"Red\"> ES Occupancy with all readout hits </FONT></h2>
0043 
0044 <img width=\"400\" src=\"ES_Occupancy_1D_ESpF_$ARGV[0].gif\">
0045 <img width=\"400\" src=\"ES_Occupancy_1D_ESpR_$ARGV[0].gif\">
0046 <br>
0047 <img width=\"400\" src=\"ES_Occupancy_1D_ESmF_$ARGV[0].gif\">
0048 <img width=\"400\" src=\"ES_Occupancy_1D_ESmR_$ARGV[0].gif\">
0049 <br>
0050 
0051 <img width=\"400\" src=\"ES_Occupancy_2D_ESpF_$ARGV[0].gif\">
0052 <img width=\"400\" src=\"ES_Occupancy_2D_ESpR_$ARGV[0].gif\">
0053 <br>
0054 <img width=\"400\" src=\"ES_Occupancy_2D_ESmF_$ARGV[0].gif\">
0055 <img width=\"400\" src=\"ES_Occupancy_2D_ESmR_$ARGV[0].gif\">
0056 <br>
0057 
0058 <h2><FONT color=\"Red\"> ES Energy Map with all readout hits </FONT></h2>
0059 
0060 <img width=\"400\" src=\"ES_EnergyDensity_2D_ESpF_$ARGV[0].gif\">
0061 <img width=\"400\" src=\"ES_EnergyDensity_2D_ESpR_$ARGV[0].gif\">
0062 <br>
0063 <img width=\"400\" src=\"ES_EnergyDensity_2D_ESmF_$ARGV[0].gif\">
0064 <img width=\"400\" src=\"ES_EnergyDensity_2D_ESmR_$ARGV[0].gif\">
0065 <br>
0066 
0067 <h2><FONT color=\"Red\"> ES Timing </FONT></h2>
0068 
0069 <img width=\"400\" src=\"ES_Timing_ESpF_$ARGV[0].gif\">
0070 <img width=\"400\" src=\"ES_Timing_ESpR_$ARGV[0].gif\">
0071 <br>
0072 <img width=\"400\" src=\"ES_Timing_ESmF_$ARGV[0].gif\">
0073 <img width=\"400\" src=\"ES_Timing_ESmR_$ARGV[0].gif\">
0074 <br>
0075 <img width=\"400\" src=\"ES_Timing_2D_$ARGV[0].gif\">
0076 
0077 <h3><FONT color=\"Black\"> ROOT File (download) </FONT></h3>
0078 <A HREF=\"DQM_V0001_EcalPreshower_$ARGV[0].root\"> DQM_V0001_EcalPreshower_$ARGV[0].root</A>
0079 
0080 </HTML>
0081 
0082 EOF
0083 ");
0084 
0085