
#ifndef _CWRITER_H_
#define _CWRITER_H_
#include "tag_reader.h"
#include "LesHouches.h"

#define MAXP 10

extern int intlen (int src);

extern int tag_writer (FILE * file, elementary_tag * tag);

extern int cap_writer (FILE * file, tags * p);
extern int change_cap (tags * t, int nEvents, double mult, double rmax, double cs, double er);

extern int final_write_cap (char *outFileName, long *nRecRest, int tot);
extern int write_cap (FILE * file, tags ** the_tags, process_ prUP);

#endif /* reader.h  */
