Changeset 3c40083 in git for external/Hector/H_Drift.h
- Timestamp:
- Apr 16, 2014, 3:56:14 PM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 64a4950
- Parents:
- f6b9fec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/Hector/H_Drift.h
rf6b9fec r3c40083 2 2 #define _H_Drift_ 3 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 * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 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 */ 21 14 22 15 /// \file H_Drift.h … … 34 27 H_Drift():H_OpticalElement(DRIFT,0.,0.,0.) {init();} 35 28 H_Drift(const double s, const double l):H_OpticalElement(DRIFT,s,0.,l){init();} 36 H_Drift(const string &nameE, const double s, const double l):H_OpticalElement(nameE,DRIFT,s,0.,l){init();}37 ~H_Drift() { };29 H_Drift(const string nameE, const double s, const double l):H_OpticalElement(nameE,DRIFT,s,0.,l){init();} 30 ~H_Drift() { return; }; 38 31 //@} 32 virtual void printProperties() const; 39 33 void init(); 40 virtual void printProperties() const { cout << *this; return;};41 H_Drift* clone() const;42 34 43 pr otected:35 private: 44 36 virtual void setTypeString() {typestring = DRIFTNAME;}; 45 virtual void setMatrix(const float, const float, const float) ; 46 friend std::ostream& operator<< (std::ostream& os, const H_Drift& el); 37 virtual void setMatrix(const float, const float, const float) const ; 47 38 }; 48 39
Note:
See TracChangeset
for help on using the changeset viewer.