You made a mistake... Usage: rwcoda file-in [ file-out nevents ] where file-in is the input CODA file file-out is the (optional) output file and nevents is the number of events to read If not output file is given, rwcoda will simply read the input file and count event types