source: PSPA/Interface_Web/trunk/pspaWT/sources/controler/include/softwareGenerator.h @ 431

Last change on this file since 431 was 431, checked in by touze, 11 years ago

systeme periodique (mailles) + multipoles + madx

File size: 978 bytes
Line 
1#ifndef SOFTWAREGENERATOR_SEEN
2#define SOFTWAREGENERATOR_SEEN
3
4
5#include "abstractSoftware.h"
6
7class softwareGenerator : public abstractSoftware
8{
9 protected : 
10 
11  bool beamFromGenerator(string beamFileName, string workingDir, vector<double>& centroid, bareParticle& refPart,vector<bareParticle>& particles, vector<bareParticle>& passiveParticles );
12
13  string elementsData(const vector< pair<string, vector<string> > >& donnees) const;
14 
15  string rfgunData(const vector< pair<string, vector<string> > >& donnees) const;
16
17 public : 
18 
19  softwareGenerator(); 
20  softwareGenerator(string inputFileName, globalParameters* globals, dataManager* dt);
21
22  virtual ~softwareGenerator() {;}
23
24  virtual bool createInputFile(particleBeam* beamBefore, unsigned int numeroDeb, unsigned int numeroFin, string workingDir);
25  virtual bool execute(string workingDir);
26  virtual bool buildBeamAfterElements(string workingDir);
27
28  inline string getColor() {
29    return "#a3c0ed";
30  }
31};
32#endif
Note: See TracBrowser for help on using the repository browser.