COSMOS v7.655  COSMOSv7655
(AirShowerMC)
cdet2xyzFE.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine cdet2xyzfe (aTrack, outr, outdir)
 
subroutine cxyz2detfe (aTrack, outr, outdir)
 
subroutine cprim2xyzfe (aTrack, outr, outdir)
 
subroutine cxyz2primfe (aTrack, outr, outdir)
 
subroutine cprim2detfe (aTrack, outr, outdir)
 
subroutine cdet2primfe (aTrack, outr, outdir)
 

Function/Subroutine Documentation

◆ cdet2primfe()

subroutine cdet2primfe ( type(track aTrack,
real(8), dimension(3), intent(out)  outr,
real(8), dimension(3), intent(out)  outdir 
)

Definition at line 97 of file cdet2xyzFE.f.

References cdet2xyz(), cdet2xyzd(), cxyz2prim(), and cxyz2primd().

97  implicit none
98 #include "Zglobalc.h"
99 #include "Ztrack.h"
100 #include "Ztrackp.h"
101 #include "Ztrackv.h"
102 #include "Zobs.h"
103 #include "Zobsp.h"
104 #include "Zobsv.h"
105  type(track)::atrack ! input Track info in det sys.
106  real(8),intent(out):: outr(3), outdir(3)
107  type(track)::ttrack ! temp track
108 
109  ttrack=atrack ! det
110  call cdet2xyz(obssites(ttrack%where)%pos%xyz,
111  * ttrack%pos%xyz%r, outr) ! xyz
112  call cxyz2prim(obssites(ttrack%where)%pos%xyz,
113  * outr, outr) ! prim
114  call cdet2xyzd( atrack%vec%w%r, outdir)
115  call cxyz2primd(outdir, outdir)
Definition: Ztrack.h:44
subroutine cxyz2prim(base, a, b)
Definition: cxyz2prim.f:5
subroutine cdet2xyzd(a, b)
Definition: cxyz2det.f:101
subroutine cxyz2primd(a, b)
Definition: cxyz2prim.f:37
subroutine cdet2xyz(det, a, b)
Definition: cxyz2det.f:48
Here is the call graph for this function:

◆ cdet2xyzfe()

subroutine cdet2xyzfe ( type(track aTrack,
real(8), dimension(3), intent(out)  outr,
real(8), dimension(3), intent(out)  outdir 
)

Definition at line 2 of file cdet2xyzFE.f.

References cdet2xyz(), and cdet2xyzd().

2 ! front-end routine for converting position and direction cos
3 ! of aTrack in the detector system into the E-xyz system.
4 ! Similar routines follow:
5 ! det->xyz xyz->det
6 ! prim->xyz, xyz->prim
7 ! det->prim, prim->det
8  implicit none
9 #include "Zglobalc.h"
10 #include "Ztrack.h"
11 #include "Ztrackp.h"
12 #include "Ztrackv.h"
13 #include "Zobs.h"
14 #include "Zobsp.h"
15 #include "Zobsv.h"
16  type(track)::atrack ! input Track info
17  real(8),intent(out):: outr(3), outdir(3)
18 
19  call cdet2xyz(obssites(atrack%where)%pos%xyz,
20  * atrack%pos%xyz%r, outr)
21  call cdet2xyzd(atrack%vec%w%r, outdir)
Definition: Ztrack.h:44
subroutine cdet2xyzd(a, b)
Definition: cxyz2det.f:101
subroutine cdet2xyz(det, a, b)
Definition: cxyz2det.f:48
Here is the call graph for this function:

◆ cprim2detfe()

subroutine cprim2detfe ( type(track aTrack,
real(8), dimension(3), intent(out)  outr,
real(8), dimension(3), intent(out)  outdir 
)

Definition at line 77 of file cdet2xyzFE.f.

References cprim2xyz(), cprim2xyzd(), cxyz2det(), and cxyz2detd().

77  implicit none
78 #include "Zglobalc.h"
79 #include "Ztrack.h"
80 #include "Ztrackp.h"
81 #include "Ztrackv.h"
82 #include "Zobs.h"
83 #include "Zobsp.h"
84 #include "Zobsv.h"
85  type(track)::atrack ! input Track info
86  real(8),intent(out):: outr(3), outdir(3)
87 
88  call cprim2xyz(obssites(atrack%where)%pos%xyz,
89  * atrack%pos%xyz%r, outr)
90  call cxyz2det(obssites(atrack%where)%pos%xyz,
91  * outr, outr)
92  call cprim2xyzd(atrack%vec%w%r, outdir)
93  call cxyz2detd(outdir, outdir)
Definition: Ztrack.h:44
subroutine cprim2xyzd(a, b)
Definition: cxyz2prim.f:86
subroutine cprim2xyz(base, a, b)
Definition: cxyz2prim.f:64
subroutine cxyz2detd(a, b)
Definition: cxyz2det.f:80
subroutine cxyz2det(det, a, b)
Definition: cxyz2det.f:7
Here is the call graph for this function:

◆ cprim2xyzfe()

subroutine cprim2xyzfe ( type(track aTrack,
real(8), dimension(3), intent(out)  outr,
real(8), dimension(3), intent(out)  outdir 
)

Definition at line 42 of file cdet2xyzFE.f.

References cprim2xyz(), and cprim2xyzd().

42  implicit none
43 #include "Zglobalc.h"
44 #include "Ztrack.h"
45 #include "Ztrackp.h"
46 #include "Ztrackv.h"
47 #include "Zobs.h"
48 #include "Zobsp.h"
49 #include "Zobsv.h"
50  type(track)::atrack ! input Track info
51  real(8),intent(out):: outr(3), outdir(3)
52 
53  call cprim2xyz(obssites(atrack%where)%pos%xyz,
54  * atrack%pos%xyz%r, outr)
55  call cprim2xyzd(atrack%vec%w%r, outdir)
Definition: Ztrack.h:44
subroutine cprim2xyzd(a, b)
Definition: cxyz2prim.f:86
subroutine cprim2xyz(base, a, b)
Definition: cxyz2prim.f:64
Here is the call graph for this function:

◆ cxyz2detfe()

subroutine cxyz2detfe ( type(track aTrack,
real(8), dimension(3), intent(out)  outr,
real(8), dimension(3), intent(out)  outdir 
)

Definition at line 25 of file cdet2xyzFE.f.

References cxyz2det(), and cxyz2detd().

25  implicit none
26 #include "Zglobalc.h"
27 #include "Ztrack.h"
28 #include "Ztrackp.h"
29 #include "Ztrackv.h"
30 #include "Zobs.h"
31 #include "Zobsp.h"
32 #include "Zobsv.h"
33  type(track)::atrack ! input Track info
34  real(8),intent(out):: outr(3), outdir(3)
35 
36  call cxyz2det(obssites(atrack%where)%pos%xyz,
37  * atrack%pos%xyz%r, outr)
38  call cxyz2detd(atrack%vec%w%r, outdir)
Definition: Ztrack.h:44
subroutine cxyz2detd(a, b)
Definition: cxyz2det.f:80
subroutine cxyz2det(det, a, b)
Definition: cxyz2det.f:7
Here is the call graph for this function:

◆ cxyz2primfe()

subroutine cxyz2primfe ( type(track aTrack,
real(8), dimension(3), intent(out)  outr,
real(8), dimension(3), intent(out)  outdir 
)

Definition at line 59 of file cdet2xyzFE.f.

References cprim2xyz(), and cprim2xyzd().

59  implicit none
60 #include "Zglobalc.h"
61 #include "Ztrack.h"
62 #include "Ztrackp.h"
63 #include "Ztrackv.h"
64 #include "Zobs.h"
65 #include "Zobsp.h"
66 #include "Zobsv.h"
67  type(track)::atrack ! input Track info
68  real(8),intent(out):: outr(3), outdir(3)
69 
70  call cprim2xyz(obssites(atrack%where)%pos%xyz,
71  * atrack%pos%xyz%r, outr)
72  call cprim2xyzd(atrack%vec%w, outdir)
Definition: Ztrack.h:44
subroutine cprim2xyzd(a, b)
Definition: cxyz2prim.f:86
subroutine cprim2xyz(base, a, b)
Definition: cxyz2prim.f:64
Here is the call graph for this function: