Last change
on this file since 472 was
472,
checked in by garnier, 10 years ago
|
Modification pour remettre en marche le Run. Desormais Transport passe, mais aucun test ne permet de dire si c est bon
|
File size:
919 bytes
|
Line | |
---|
1 | #ifndef SOFTWAREGENERATOR_SEEN |
---|
2 | #define SOFTWAREGENERATOR_SEEN |
---|
3 | |
---|
4 | |
---|
5 | #include "abstractSoftware.h" |
---|
6 | |
---|
7 | class 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, sectionToExecute*, dataManager*); |
---|
21 | |
---|
22 | virtual ~softwareGenerator() {;} |
---|
23 | |
---|
24 | virtual bool createInputFile(particleBeam* beamBefore, 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.