ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since c526439 was 5b822e5, checked in by pavel <pavel@…>, 11 years ago |
add Hector module
|
-
Property mode
set to
100644
|
File size:
1.6 KB
|
Line | |
---|
1 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
---|
2 | * *
|
---|
3 | * --<--<-- A fast simulator --<--<-- *
|
---|
4 | * / --<--<-- of particle --<--<-- *
|
---|
5 | * ----HECTOR----< *
|
---|
6 | * \ -->-->-- transport through -->-->-- *
|
---|
7 | * -->-->-- generic beamlines -->-->-- *
|
---|
8 | * *
|
---|
9 | * JINST 2:P09005 (2007) *
|
---|
10 | * X Rouby, J de Favereau, K Piotrzkowski (CP3) *
|
---|
11 | * http://www.fynu.ucl.ac.be/hector.html *
|
---|
12 | * *
|
---|
13 | * Center for Cosmology, Particle Physics and Phenomenology *
|
---|
14 | * Universite catholique de Louvain *
|
---|
15 | * Louvain-la-Neuve, Belgium *
|
---|
16 | * *
|
---|
17 | * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
---|
18 |
|
---|
19 | /// \file H_CircularAperture.cc
|
---|
20 | /// \brief Defines the circular aperture of beamline elements.
|
---|
21 |
|
---|
22 | // C++ #includes
|
---|
23 | #include <iostream>
|
---|
24 |
|
---|
25 | // C #includes
|
---|
26 | #include <cmath> // needed for fabs and log
|
---|
27 |
|
---|
28 | // local #includes
|
---|
29 | #include "H_CircularAperture.h"
|
---|
30 | using namespace std;
|
---|
31 |
|
---|
32 | H_CircularAperture* H_CircularAperture::clone() const {
|
---|
33 | return new H_CircularAperture(x1,fx,fy);
|
---|
34 | }
|
---|
35 |
|
---|
36 | std::ostream& operator<< (std::ostream& os, const H_CircularAperture& ap) {
|
---|
37 | os << "Aperture shape:" << ap.aptypestring << ", aperture radius : " << ap.x1 << endl;
|
---|
38 | os << " \t Center : " << ap.fx << "," << ap.fy << endl;
|
---|
39 | return os;
|
---|
40 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.