Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Claus Kleinwort
General Broken Lines
Commits
9c2c5893
Commit
9c2c5893
authored
Nov 04, 2021
by
Claus Kleinwort
Browse files
Migration from svn to gitlab
parent
0a2b939b
Changes
14
Hide whitespace changes
Inline
Side-by-side
.gitattributes
0 → 100644
View file @
9c2c5893
README ident
gbltst.py ident
gblsit.py ident
example*.cpp ident
LAST_COMMIT export-subst
.gitignore
0 → 100644
View file @
9c2c5893
# ignore all files in any directory named build
build/
LAST_COMMIT
0 → 100644
View file @
9c2c5893
Last commit $Format:%h at %cd by %aN$
WIKI
View file @
9c2c5893
Documentation is maintained at
www.wiki.terascale.de/index.php/GeneralBrokenLines .
https://gitlab.desy.de/claus.kleinwort/general-broken-lines/-/wikis/home .
The previous location (www.wiki.terascale.de/index.php/GeneralBrokenLines)
is not maintained anymore and may disappear.
cpp/CMakeLists.txt
View file @
9c2c5893
...
...
@@ -6,8 +6,8 @@ PROJECT(GBL)
# project version
SET
(
${
PROJECT_NAME
}
_VERSION_MAJOR 2
)
SET
(
${
PROJECT_NAME
}
_VERSION_MINOR
3
)
SET
(
${
PROJECT_NAME
}
_VERSION_PATCH
1
)
SET
(
${
PROJECT_NAME
}
_VERSION_MINOR
4
)
SET
(
${
PROJECT_NAME
}
_VERSION_PATCH
0
)
# make life easier and simply use the ilcsoft default settings
# load default ilcsoft settings (install prefix, build type, rpath, etc.)
...
...
cpp/examples/example1.cpp
View file @
9c2c5893
...
...
@@ -11,7 +11,7 @@
* \author Claus Kleinwort, DESY, 2011 (Claus.Kleinwort@desy.de)
*
* \copyright
* Copyright (c) 2011 - 201
9
Deutsches Elektronen-Synchroton,
* Copyright (c) 2011 - 20
2
1 Deutsches Elektronen-Synchroton,
* Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY \n\n
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
...
...
@@ -59,7 +59,7 @@ void example1() {
//MP MilleBinary mille; // for producing MillePede-II binary file
unsigned
int
nTry
=
1000
;
//: number of tries
unsigned
int
nLayer
=
10
;
//: number of detector layers
std
::
cout
<<
" Gbltst-eigen $
Rev
$ "
<<
nTry
<<
", "
<<
nLayer
std
::
cout
<<
" Gbltst-eigen $
Id
$ "
<<
nTry
<<
", "
<<
nLayer
<<
std
::
endl
;
srand
(
4711
);
...
...
cpp/examples/example2.cpp
View file @
9c2c5893
...
...
@@ -11,7 +11,7 @@
* \author Claus Kleinwort, DESY, 2011 (Claus.Kleinwort@desy.de)
*
* \copyright
* Copyright (c) 2011 - 201
8
Deutsches Elektronen-Synchroton,
* Copyright (c) 2011 - 20
2
1 Deutsches Elektronen-Synchroton,
* Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY \n\n
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
...
...
@@ -60,7 +60,7 @@ void example2() {
//MP MilleBinary mille; // for producing MillePede-II binary file
unsigned
int
nTry
=
1000
;
//: number of tries
unsigned
int
nLayer
=
10
;
//: number of detector layers
std
::
cout
<<
" Gbltst-eigen $
Rev
$ "
<<
nTry
<<
", "
<<
nLayer
std
::
cout
<<
" Gbltst-eigen $
Id
$ "
<<
nTry
<<
", "
<<
nLayer
<<
std
::
endl
;
srand
(
4711
);
...
...
cpp/examples/example3.cpp
View file @
9c2c5893
...
...
@@ -11,7 +11,7 @@
* \author Claus Kleinwort, DESY, 2011 (Claus.Kleinwort@desy.de)
*
* \copyright
* Copyright (c) 2011 - 201
8
Deutsches Elektronen-Synchroton,
* Copyright (c) 2011 - 20
2
1 Deutsches Elektronen-Synchroton,
* Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY \n\n
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
...
...
@@ -61,7 +61,7 @@ void example3() {
unsigned
int
nTry
=
1000
;
//: number of tries
unsigned
int
nLayer
=
10
;
//: number of detector layers
std
::
cout
<<
" Gbltst-eigen $
Rev
$ "
<<
nTry
<<
", "
<<
nLayer
std
::
cout
<<
" Gbltst-eigen $
Id
$ "
<<
nTry
<<
", "
<<
nLayer
<<
std
::
endl
;
srand
(
4711
);
...
...
cpp/examples/exampleDc.cpp
View file @
9c2c5893
...
...
@@ -11,7 +11,7 @@
* \author Claus Kleinwort, DESY, 2018 (Claus.Kleinwort@desy.de)
*
* \copyright
* Copyright (c) 2018 Deutsches Elektronen-Synchroton,
* Copyright (c) 2018
-2021
Deutsches Elektronen-Synchroton,
* Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY \n\n
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
...
...
@@ -132,7 +132,7 @@ void exampleDc() {
} */
unsigned
int
nTry
=
10000
;
//: number of tries
std
::
cout
<<
" GblDc $
Rev
$ "
<<
nTry
<<
", "
<<
layers
.
size
()
std
::
cout
<<
" GblDc $
Id
$ "
<<
nTry
<<
", "
<<
layers
.
size
()
<<
std
::
endl
;
srand
(
4711
);
clock_t
startTime
=
clock
();
...
...
cpp/examples/exampleSit.cpp
View file @
9c2c5893
...
...
@@ -11,7 +11,7 @@
* \author Claus Kleinwort, DESY, 2018 (Claus.Kleinwort@desy.de)
*
* \copyright
* Copyright (c) 2018 Deutsches Elektronen-Synchroton,
* Copyright (c) 2018
-2021
Deutsches Elektronen-Synchroton,
* Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY \n\n
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
...
...
@@ -111,7 +111,7 @@ void exampleSit() {
} */
unsigned
int
nTry
=
10000
;
//: number of tries
std
::
cout
<<
" GblSit $
Rev
$ "
<<
nTry
<<
", "
<<
layers
.
size
()
std
::
cout
<<
" GblSit $
Id
$ "
<<
nTry
<<
", "
<<
layers
.
size
()
<<
std
::
endl
;
srand
(
4711
);
clock_t
startTime
=
clock
();
...
...
cpp/src/GblTrajectory.cpp
View file @
9c2c5893
...
...
@@ -83,8 +83,8 @@
* matrices of track parameters in homogeneous magnetic fields
* A. Strandlie, W. Wittek, NIM A, 566 (2006) 687-698.
*
* The source code is available at the DESY
SVN
server, see:
* https://
www.wiki.terascale.de/index.php/G
eneral
B
roken
L
ines
* The source code is available at the DESY
GitLab
server, see:
* https://
gitlab.desy.de/claus.kleinwort/g
eneral
-b
roken
-l
ines
/-/wikis/home
*
* \section call_sec Calling sequence
*
...
...
python/gblfit.py
View file @
9c2c5893
...
...
@@ -625,8 +625,8 @@ class GblData(object):
# matrices of track parameters in homogeneous magnetic fields
# A. Strandlie, W. Wittek, NIM A, 566 (2006) 687-698.
#
# The source code is available at the DESY
SVN
server, see:
# https://
www.wiki.terascale.de/index.php/G
eneral
B
roken
L
ines
# The source code is available at the DESY
GitLab
server, see:
# https://
gitlab.desy.de/claus.kleinwort/g
eneral
-b
roken
-l
ines
/-/wikis/home
#
# \section seq_sec Calling sequence:
# -# Create trajectory:\n
...
...
@@ -665,7 +665,7 @@ class GblData(object):
# \section example_sec Examples
# Technical examples are given in gbltst.py, an example silicon tracker in gblsit.py.
#
# \section ref_sec References:
# \section ref_sec References:
# - V. Blobel, C. Kleinwort, F. Meier,
# Fast alignment of a complex tracking detector using advanced track models,
# Computer Phys. Communications (2011), doi:10.1016/j.cpc.2011.03.017
...
...
python/gblsit.py
View file @
9c2c5893
...
...
@@ -10,7 +10,7 @@ Created on 28 Sep 2018
# \author Claus Kleinwort, DESY, 2018 (Claus.Kleinwort@desy.de)
#
# \copyright
# Copyright (c) 2018-202
0
Deutsches Elektronen-Synchroton,
# Copyright (c) 2018-202
1
Deutsches Elektronen-Synchroton,
# Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY \n\n
# This library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Library General Public License as
...
...
@@ -102,7 +102,7 @@ def exampleSit():
binaryFile
=
open
(
"milleBinary.dat"
,
"wb"
)
#binaryFile = None
#
print
" Gblsit $
Rev
$ "
,
nTry
print
" Gblsit $
Id
$ "
,
nTry
#
start
=
time
.
clock
()
Chi2Sum
=
0.
...
...
python/gbltst.py
View file @
9c2c5893
...
...
@@ -12,7 +12,7 @@ Created on Jul 27, 2011
# \author Claus Kleinwort, DESY, 2011 (Claus.Kleinwort@desy.de)
#
# \copyright
# Copyright (c) 2011 - 201
8
Deutsches Elektronen-Synchroton,
# Copyright (c) 2011 - 20
2
1 Deutsches Elektronen-Synchroton,
# Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY \n\n
# This library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Library General Public License as
...
...
@@ -59,7 +59,7 @@ def example1():
nTry
=
1000
#: number of tries
nLayer
=
5
#: number of detector layers
print
" Gbltst $
Rev
$ "
,
nTry
,
nLayer
print
" Gbltst $
Id
$ "
,
nTry
,
nLayer
start
=
time
.
clock
()
# track direction
sinLambda
=
0.3
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment