Skip to content

Commit 0d00925

Browse files
authored
Refactor Hit class by removing unused code
Removed unnecessary includes and simplified the Print method.
1 parent 47e748d commit 0d00925

File tree

1 file changed

+0
-19
lines changed
  • Detectors/Upgrades/ALICE3/TRK/simulation/src

1 file changed

+0
-19
lines changed

Detectors/Upgrades/ALICE3/TRK/simulation/src/Hit.cxx

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,3 @@
1313
/// \brief Implementation of the Hit class
1414

1515
#include "TRKSimulation/Hit.h"
16-
17-
#include <iostream>
18-
#include <iostream>
19-
20-
ClassImp(o2::trk::Hit);
21-
22-
using std::cout;
23-
using std::endl;
24-
using namespace o2::trk;
25-
using namespace o2; //::base;
26-
27-
void Hit::Print(const Option_t* opt) const
28-
{
29-
printf(
30-
"Det: %5d Track: %6d E.loss: %.3e P: %+.3e %+.3e %+.3e\n"
31-
"PosIn: %+.3e %+.3e %+.3e PosOut: %+.3e %+.3e %+.3e\n",
32-
GetDetectorID(), GetTrackID(), GetEnergyLoss(), GetPx(), GetPy(), GetPz(),
33-
GetStartX(), GetStartY(), GetStartZ(), GetX(), GetY(), GetZ());
34-
}

0 commit comments

Comments
 (0)