summaryrefslogtreecommitdiff
path: root/src/main/FODO.h
blob: 99241a68232d6caaa180a99c152df12f9977c6af (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
/*
 * FODO.h
 *
 *  Created on: Mar 29, 2011
 *      Author: jakob
 */

#ifndef FODO_H_
#define FODO_H_

#include "Quadrupole.h"
#include "CompositeElement.h"
#include "Vector3D.h"

namespace vhc {

class FODO: public CompositeElement {
	Quadrupole* focalisingQuadrupole;
	Quadrupole* defocalisingQuadrupole;
	StraightElement* straightElement1;
	StraightElement* straightElement2;

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

	virtual ~FODO();
};

}

#endif /* FODO_H_ */