Fork me on GitHub

Ignore:
Timestamp:
Apr 16, 2014, 3:56:14 PM (10 years ago)
Author:
Pavel Demin
Message:

switch to a more stable Hector version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/external/Hector/H_BeamLine.h

    r1360 r1365  
    22#define _H_BeamLine_
    33
    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    * * * * * * * * * * * * * * * * * * * * * * * * * * * */
     4/*
     5---- Hector the simulator ----
     6   A fast simulator of particles through generic beamlines.
     7   J. de Favereau, X. Rouby ~~~ hector_devel@cp3.phys.ucl.ac.be
     8
     9        http://www.fynu.ucl.ac.be/hector.html
     10
     11   Centre de Physique des Particules et de Phénoménologie (CP3)
     12   Université Catholique de Louvain (UCL)
     13*/
    2114
    2215/// \file H_BeamLine.h
     
    3932        ///     Constructors and destructor
    4033        //@{
    41                 H_BeamLine();
     34                H_BeamLine():H_AbstractBeamLine() {direction=1; ips=0; };
    4235                H_BeamLine(const H_BeamLine& );
    4336                H_BeamLine(const int, const float);
    4437                H_BeamLine& operator=(const H_BeamLine& );
    45                 ~H_BeamLine() {};
     38                ~H_BeamLine() {return;};
    4639        //@
    4740                ///     Finds the IP position (s) from the MAD table. Should be "IP5" or "IP1".
    48                 void findIP(const string& filename, const string& ipname="IP5");
     41                //@{
     42                void findIP(const string);
     43                void findIP(const string, const string);
     44                //@}
    4945                ///     Reader for the external MAD table
    50                 void fill(const string& filename, const int dir=1, const string& ipname="IP5");
     46                //@{
     47                void fill(const string);
     48                void fill(const string, const int, const string );
     49                //@}
    5150                ///     Returns the IP position (s)
    52                 double getIP() const {return ips;};
     51                double getIP() {return ips;};
    5352                ///             Returns positions and angles of beam at IP
    5453                double* getIPProperties();
Note: See TracChangeset for help on using the changeset viewer.