Currently the MTCC is putting out data files in the so-called intermediate streamer format. These files have the .dat extension, and you read them by specifying "source = NewEventStreamFileReader" in your configuration file.
These files are awkward to work with, since they are large and one can read in only one file per job. It would make sense to convert them to root files, for the sake of convenience.
It is easy and quick to make this conversion. You can
use any CMSSW program with the followig minimal
configuration file:
process CONVERT = {
# Use this for the MTCC files written after 16-Aug
source = NewEventStreamFileReader{
string fileName = "/tmp/schmittm/mtcc.00002596.A.testStorageManager_0.28.dat"
int32 max_event_size = 200
int32 max_queue_depth = 5
untracked int32 maxEvents = -1
}
# Specify the output file for the reconstructed events.
module out = PoolOutputModule {
untracked string fileName = "/tmp/schmittm/output.00002596.28.root"
}
# Do not specify any reconstruction or analysis path.
# Specify the output:
endpath e = {out}
}
It is obvious how to modify this file to suit your needs.
Some important points: