/* ---- Hector the simulator ---- A fast simulator of particles through generic beamlines. J. de Favereau, X. Rouby ~~~ hector_devel@cp3.phys.ucl.ac.be http://www.fynu.ucl.ac.be/hector.html Centre de Physique des Particules et de Phénoménologie (CP3) Université Catholique de Louvain (UCL) */ /// \file H_Kicker.cc /// \brief Classes aiming at simulating kickers in LHC beamline. // local #includes #include "H_OpticalElement.h" #include "H_Kicker.h" void H_Kicker::init() { // needed for call from H- and V-Kickers constructor // must be in public section setTypeString(); if (fk !=0 ) { setMatrix(0,MP,QP); } return; } void H_Kicker::printProperties() const { cout << typestring; cout << name; cout<<"\t at s = "<< fs; cout<<"\t length = "<< element_length; cout<<"\t k0 = "<getType()!=NONE) { cout <<"\t aperture type = " << element_aperture->getTypeString(); element_aperture->printProperties(); } if(element_length<0) { if(VERBOSE) cout<<"\t ERROR : Interpenetration of elements !"<