kinit -n schmittm xhost + cmsuafng.fnal.gov ssh -t cmsuafng.fnal.gov
source /afs/fnal.gov/files/code/cms/setup/cshrc uaf [LPC only] setenv SCRAM_ARCH `scramv1 arch`
mkdir ~/DEV cd ~/DEV scramv1 project CMSSW CMSSW_0_7_0 cd CMSSW_0_7_0/src project CMSSWat the LPC only:
cmscvsroot CMSSW cvs login [98passwd]Next, check out the necessary packages:
cvs co -r CMSSW_0_7_0 EventFilter/CSCRawToDigi cvs co -r CMSSW_0_7_0 DataFormats/CSCDigi cvs co -r CMSSW_0_7_0 CondFormats/CSCObjects cvs co -r CMSSW_0_7_0 IORawData/CSCCommissioningCompile the code.
eval `scramv1 runtime -csh` scramv1 b
cd ~/DEV/CMSSW_0_7_0/src/EventFilter/CSCRawToDigi/test/ eval `scramv1 runtime -csh` cmsRun --parameter-set mtccread.cfg(One can use "-p" instead of "--parameter-set".)
The configuration file is mtccread.cfg and it looks like this:
You can download the file itself:
here
As you can see,
process TEST = {
source = PoolSource {
untracked vstring fileNames = {"file:./mtcc.root"}
untracked int32 maxEvents = 5
}
module cscunpacker = CSCDCCUnpacker {
untracked bool Debug = false
untracked bool PrintEventNumber = false
untracked string theMappingFile = "csc_slice_test_map.txt"
untracked bool UseExaminer = true
}
service = Timing { }
service = SimpleMemoryCheck { }
module out = PoolOutputModule {
untracked string fileName ="digi.root"
}
module anal = DigiAnalyzer {}
path p = {cscunpacker, anal}
endpath e = {out}
}
It should be obvious how to change the options.
(For example, "ln -s /tmp/schmittm/MTCC/mtcc.00001330.A.testStorageManager_0.0.root mtcc.root".)
I have example MTCC data files you can use:
It is not obvious how long the files will remain in these temporary areas.