Fork me on GitHub

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

new Hector version

File:
1 edited

Legend:

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

    r216 r281  
    22#define _H_BeamLine_
    33
    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 */
     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   * * * * * * * * * * * * * * * * * * * * * * * * * * * */
    1421
    1522/// \file H_BeamLine.h
     
    3239        ///     Constructors and destructor
    3340        //@{
    34                 H_BeamLine():H_AbstractBeamLine() {direction=1; ips=0; };
     41                H_BeamLine();
    3542                H_BeamLine(const H_BeamLine& );
    3643                H_BeamLine(const int, const float);
     
    3946        //@
    4047                ///     Finds the IP position (s) from the MAD table. Should be "IP5" or "IP1".
    41                 //@{
    42                 void findIP(const string&);
    43                 void findIP(const string&, const string&);
    44                 //@}
     48                void findIP(const string& filename, const string& ipname="IP5");
    4549                ///     Reader for the external MAD table
    46                 //@{
    47                 void fill(const string&);
    48                 void fill(const string&, const int, const string& );
    49                 //@}
     50                void fill(const string& filename, const int dir=1, const string& ipname="IP5");
    5051                ///     Returns the IP position (s)
    51                 double getIP() {return ips;};
     52                double getIP() const {return ips;};
    5253                ///             Returns positions and angles of beam at IP
    5354                double* getIPProperties();
Note: See TracChangeset for help on using the changeset viewer.