Last change
on this file since 431 was
431,
checked in by touze, 11 years ago
|
systeme periodique (mailles) + multipoles + madx
|
File size:
714 bytes
|
Line | |
---|
1 | #ifndef SECTORPARAMETERS_SEEN |
---|
2 | #define SECTORPARAMETERS_SEEN |
---|
3 | |
---|
4 | #include <string> |
---|
5 | #include <iostream> |
---|
6 | #include "UAP/UAPNode.hpp" |
---|
7 | using namespace std; |
---|
8 | |
---|
9 | class sectorParameters |
---|
10 | { |
---|
11 | string geometry_; |
---|
12 | int nCells_; |
---|
13 | double lCell_; |
---|
14 | double pc_; |
---|
15 | |
---|
16 | int nbParam_; |
---|
17 | string* parametersString_; |
---|
18 | |
---|
19 | public : |
---|
20 | |
---|
21 | sectorParameters(); |
---|
22 | ~sectorParameters() { |
---|
23 | if(parametersString_ != NULL) delete [] parametersString_; |
---|
24 | } |
---|
25 | |
---|
26 | string* getParametersString() const; |
---|
27 | void setParametersString(string*); |
---|
28 | void raz(); |
---|
29 | string FileOutputFlow() const; |
---|
30 | void FileInput(ifstream&); |
---|
31 | void InputRep(UAPNode* root); |
---|
32 | |
---|
33 | int getNumberOfCells() const; |
---|
34 | double getCellLength() const; |
---|
35 | double getParticleMomentum() const; |
---|
36 | }; |
---|
37 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.