1 #ifndef OPAL_STAT_WRITER_H
2 #define OPAL_STAT_WRITER_H
11 typedef std::vector<std::pair<std::string, unsigned int> >
losses_t;
13 StatWriter(
const std::string& fname,
bool restart);
39 double sposHead,
double sposRef,
double sposTail);
core of the envelope tracker based on Rene Bakkers BET implementation
void write(PartBunchBase< double, 3 > *beam, Vector_t FDext[], const losses_t &losses=losses_t(), const double &azimuth=-1)
Write statistical data.
void fillHeader(const losses_t &losses=losses_t())
StatWriter(const std::string &fname, bool restart)
std::vector< std::pair< std::string, unsigned int > > losses_t
virtual void write(PartBunchBase< double, 3 > *beam)