Fork me on GitHub

Changeset 3c40083 in git for external/Hector/H_Kicker.h


Ignore:
Timestamp:
Apr 16, 2014, 3:56:14 PM (10 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
64a4950
Parents:
f6b9fec
Message:

switch to a more stable Hector version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/Hector/H_Kicker.h

    rf6b9fec r3c40083  
    1 #ifndef _H_Kicker_
    2 #define _H_Kicker_
    3 
    4   /* * * * * * * * * * * * * * * * * * * * * * * * * * * *
    5  *                                                         *
    6 *                   --<--<--  A fast simulator --<--<--     *
    7 *                 / --<--<--     of particle   --<--<--     *
    8 *  ----HECTOR----<                                          *
    9 *                 \ -->-->-- transport through -->-->--     *
    10 *                   -->-->-- generic beamlines -->-->--     *
    11 *                                                           *
    12 * JINST 2:P09005 (2007)                                     *
    13 *      X Rouby, J de Favereau, K Piotrzkowski (CP3)         *
    14 *       http://www.fynu.ucl.ac.be/hector.html               *
    15 *                                                           *
    16 * Center for Cosmology, Particle Physics and Phenomenology  *
    17 *              Universite catholique de Louvain             *
    18 *                 Louvain-la-Neuve, Belgium                 *
    19  *                                                         *
    20    * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    21 
    221/// \file H_Kicker.h
    232/// \brief Classes aiming at simulating kickers in LHC beamline.
    243/// fk [rad] for kickers !!!!
     4
     5/*
     6---- Hector the simulator ----
     7   A fast simulator of particles through generic beamlines.
     8   J. de Favereau, X. Rouby ~~~ hector_devel@cp3.phys.ucl.ac.be
     9
     10        http://www.fynu.ucl.ac.be/hector.html
     11
     12   Centre de Physique des Particules et de Phénoménologie (CP3)
     13   Université Catholique de Louvain (UCL)
     14*/
     15
     16#ifndef _H_Kicker_
     17#define _H_Kicker_
    2518
    2619// local #includes
     
    3528                H_Kicker():H_OpticalElement() {}
    3629                H_Kicker(const int dtype, const double s, const double k, const double l):H_OpticalElement(dtype,s,k,l){}
    37                 H_Kicker(const string& nameE, const int dtype, const double s, const double k, const double l):H_OpticalElement(nameE,dtype,s,k,l){}
    38                 virtual ~H_Kicker() {};
     30                H_Kicker(const string nameE, const int dtype, const double s, const double k, const double l):H_OpticalElement(nameE,dtype,s,k,l){}
     31                virtual ~H_Kicker() {return;};
    3932        //@}
    40                 virtual H_Kicker* clone() const = 0;
    41                 virtual void printProperties() const { cout << *this; return;};
     33        /// prints the kicker properties
     34                virtual void printProperties() const;
    4235                void init();
    4336
    4437        protected:
    45                 virtual void setTypeString() = 0;
    46                 virtual void setMatrix(const float, const float, const float) = 0;
    47         friend std::ostream& operator<< (std::ostream& os, const H_Kicker& el);
     38                virtual void setTypeString() =0;
     39                virtual void setMatrix(const float, const float, const float) const =0;
    4840};
    4941
Note: See TracChangeset for help on using the changeset viewer.