summaryrefslogtreecommitdiff
path: root/src/main/FODO.h
blob: 4d61ad3351aba080630a21497435a06e0afea405 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * FODO.h
 *
 *  Created on: Mar 29, 2011
 *      Author: jakob
 */

#ifndef FODO_H_
#define FODO_H_

#include <string>
#include "Quadrupole.h"
#include "CompositeElement.h"
#include "Vector3D.h"

namespace vhc {

class FODO: public CompositeElement {

private:
	double straightLength;
	double focalizingCoefficient;
	Quadrupole* focalizingQuadrupole;
	Quadrupole* defocalizingQuadrupole;
	StraightElement* straightElement1;
	StraightElement* straightElement2;

public:
	FODO(const Vector3D& entry, const Vector3D& exit, double sectionRadius, double straightLength, double focalizingCoefficient,  Element* next = NULL);

	virtual ~FODO();

	virtual std::string getType() const;

	virtual FODO* clone() const;
};

}

#endif /* FODO_H_ */