Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:46

0001 #!/usr/local/bin/perl
0002  
0003 $output_ = substr($ARGV[0],0,-3) . "root";
0004 $output = substr($output_,14);
0005 
0006 $afeb =
0007 "process PROD = {
0008  
0009 source = DaqSource{ string reader = \"CSCFileReader\"
0010                         untracked int32 maxEvents = -1
0011 PSet pset = {untracked vstring fileNames = {\"$ARGV[0]\"} }
0012         }
0013  
0014         module cscunpacker = CSCDCCUnpacker {
0015                untracked bool Debug = false
0016                untracked bool PrintEventNumber = false
0017                FileInPath theMappingFile = \"OnlineDB/CSCCondDB/test/csc_slice_test_map.txt\"
0018                untracked bool UseExaminer = false
0019         }
0020  
0021         module analyzer = CSCAFEBAnalyzer {
0022         string TestName=\"AFEBThresholdScan\" 
0023 #         string TestName=\"AFEBConnectivity\"
0024         string HistogramFile = \"$output\" 
0025 #         string HistogramFile = \"$output\"
0026  
0027          InputTag CSCSrc = cscunpacker:MuonCSCWireDigi
0028          }
0029     
0030         path p = {cscunpacker,analyzer}
0031 }";
0032 
0033 print "$afeb\n";
0034 open(CONFIGFILE, ">CSCAFEBAnalysis.cfg");
0035 print CONFIGFILE "$afeb";
0036 close(CONFIGFILE);
0037