IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 7e1ca43a authored by Felix Riehn's avatar Felix Riehn
Browse files

fixed rebase

parent f8a177e2
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,7 @@ public: ...@@ -121,7 +121,7 @@ public:
} }
template <typename Particle, typename Stack> template <typename Particle, typename Stack>
EProcessReturn DoContinuous(Particle&, Trajectory&, Stack&) const { EProcessReturn DoContinuous(Particle&, setup::Trajectory&, Stack&) const {
// corsika::utls::ignore(p); // corsika::utls::ignore(p);
return EProcessReturn::eOk; return EProcessReturn::eOk;
} }
...@@ -132,7 +132,7 @@ public: ...@@ -132,7 +132,7 @@ public:
if( process::sibyll::CanInteract( p.GetPID() ) ){ if( process::sibyll::CanInteract( p.GetPID() ) ){
cout << "defining coordinates" << endl; cout << "defining coordinates" << endl;
// coordinate system, get global frame of reference // coordinate system, get global frame of reference
CoordinateSystem rootCS = CoordinateSystem::CreateRootCS(); CoordinateSystem& rootCS = RootCoordinateSystem::GetInstance().GetRootCS();
QuantityVector<length_d> const coordinates{0_m, 0_m, 0_m}; QuantityVector<length_d> const coordinates{0_m, 0_m, 0_m};
Point pOrig(rootCS, coordinates); Point pOrig(rootCS, coordinates);
...@@ -336,12 +336,13 @@ double s_rndm_(int&) { ...@@ -336,12 +336,13 @@ double s_rndm_(int&) {
int main() { int main() {
// coordinate system, get global frame of reference // coordinate system, get global frame of reference
CoordinateSystem rootCS = CoordinateSystem::CreateRootCS(); CoordinateSystem& rootCS = RootCoordinateSystem::GetInstance().GetRootCS();
QuantityVector<length_d> const coordinates{0_m, 0_m, 0_m}; QuantityVector<length_d> const coordinates{0_m, 0_m, 0_m};
Point pOrig(rootCS, coordinates); Point pOrig(rootCS, coordinates);
stack_inspector::StackInspector<setup::Stack, setup::Trajectory> p0(true); tracking_line::TrackingLine<setup::Stack> tracking;
stack_inspector::StackInspector<setup::Stack> p0(true);
ProcessSplit p1; ProcessSplit p1;
const auto sequence = p0 + p1; const auto sequence = p0 + p1;
......
...@@ -40,7 +40,7 @@ public: ...@@ -40,7 +40,7 @@ public:
super_stupid::MomentumVector GetMomentum(const int i) const super_stupid::MomentumVector GetMomentum(const int i) const
{ {
CoordinateSystem rootCS = CoordinateSystem::CreateRootCS(); CoordinateSystem& rootCS = RootCoordinateSystem::GetInstance().GetRootCS();
corsika::geometry::QuantityVector<momentum_d> components{ s_plist_.p[0][i] * 1_GeV / si::constants::c , s_plist_.p[1][i] * 1_GeV / si::constants::c, s_plist_.p[2][i] * 1_GeV / si::constants::c}; corsika::geometry::QuantityVector<momentum_d> components{ s_plist_.p[0][i] * 1_GeV / si::constants::c , s_plist_.p[1][i] * 1_GeV / si::constants::c, s_plist_.p[2][i] * 1_GeV / si::constants::c};
super_stupid::MomentumVector v1(rootCS,components); super_stupid::MomentumVector v1(rootCS,components);
return v1; return v1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment