1 #ifndef ALIHLTMUONCALCULATIONS_H
2 #define ALIHLTMUONCALCULATIONS_H
3 /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////////////////////////////////////
10 // Author: Artur Szostak
11 // Email: artur@alice.phy.uct.ac.za | artursz@iafrica.com
13 ////////////////////////////////////////////////////////////////////////////////
15 #include "AliHLTMUONDataTypes.h"
18 /* Computes the Pt (transverse mementum) based on the equations given in the
19 ALICE dimuon spectrometer Technical Design Report (TDR-5): trigger section.
23 Addendum 1 to ALICE TDR 5
26 Section 3.1.2 pages 144 and 145.
28 Input can be in meters, cm or mm.
31 AliHLTFloat32_t AliHLTMUONCalculatePt(
32 register AliHLTFloat32_t x1,
33 register AliHLTFloat32_t y1, register AliHLTFloat32_t y2,
34 register AliHLTFloat32_t z1, register AliHLTFloat32_t z2
37 /* Performs the same calculation as above however alows the zf and qBL
38 parameters to be specified.
40 AliHLTFloat32_t AliHLTMUONCalculatePt(
41 register AliHLTFloat32_t x1,
42 register AliHLTFloat32_t y1, register AliHLTFloat32_t y2,
43 register AliHLTFloat32_t z1, register AliHLTFloat32_t z2,
44 register AliHLTFloat32_t zf, register AliHLTFloat32_t qBL
47 /* The same Pt calculation as above however the sign of the result indicates
48 the sign of the particle.
50 AliHLTFloat32_t AliHLTMUONCalculateSignedPt(
51 register AliHLTFloat32_t x1,
52 register AliHLTFloat32_t y1, register AliHLTFloat32_t y2,
53 register AliHLTFloat32_t z1, register AliHLTFloat32_t z2
56 /* Performs the same calculation as above however alows the zf and qBL
57 parameters to be specified.
59 AliHLTFloat32_t AliHLTMUONCalculateSignedPt(
60 register AliHLTFloat32_t x1,
61 register AliHLTFloat32_t y1, register AliHLTFloat32_t y2,
62 register AliHLTFloat32_t z1, register AliHLTFloat32_t z2,
63 register AliHLTFloat32_t zf, register AliHLTFloat32_t qBL
66 /* The same Pt calculation as above however the sign of the result indicates
67 the sign of the particle. The momentum is also computed and returned.
69 AliHLTFloat32_t AliHLTMUONCalculateSignedPt(
70 register AliHLTFloat32_t x1,
71 register AliHLTFloat32_t y1, register AliHLTFloat32_t y2,
72 register AliHLTFloat32_t z1, register AliHLTFloat32_t z2,
76 /* Performs the same calculation as above however alows the zf and qBL
77 parameters to be specified.
79 AliHLTFloat32_t AliHLTMUONCalculateSignedPt(
80 register AliHLTFloat32_t x1,
81 register AliHLTFloat32_t y1, register AliHLTFloat32_t y2,
82 register AliHLTFloat32_t z1, register AliHLTFloat32_t z2,
83 register AliHLTFloat32_t zf, register AliHLTFloat32_t qBL,
87 #endif // ALIHLTMUONCALCULATIONS_H