Fork me on GitHub

Ignore:
Timestamp:
Mar 1, 2009, 3:56:11 PM (15 years ago)
Author:
Xavier Rouby
Message:

new Hector version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/Hector/include/H_Kicker.h

    r216 r281  
     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
    122/// \file H_Kicker.h
    223/// \brief Classes aiming at simulating kickers in LHC beamline.
    324/// 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_
    1825
    1926// local #includes
     
    3138                virtual ~H_Kicker() {};
    3239        //@}
    33         /// prints the kicker properties
    34                 virtual void printProperties() const;
    3540                virtual H_Kicker* clone() const = 0;
     41                virtual void printProperties() const { cout << *this; return;};
    3642                void init();
    3743
     
    3945                virtual void setTypeString() = 0;
    4046                virtual void setMatrix(const float, const float, const float) = 0;
     47        friend std::ostream& operator<< (std::ostream& os, const H_Kicker& el);
    4148};
    4249
Note: See TracChangeset for help on using the changeset viewer.