FairShip
Loading...
Searching...
No Matches
strawtubesPoint.cxx
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// SPDX-FileCopyrightText: Copyright CERN for the benefit of the SHiP
3// Collaboration
4
5#include "strawtubesPoint.h"
6
7#include <cmath>
8#include <iostream>
9
10#include "FairLogger.h"
11
12// ----- Default constructor -------------------------------------------
14// -------------------------------------------------------------------------
15
16// ----- Standard constructor ------------------------------------------
17strawtubesPoint::strawtubesPoint(Int_t eventID, Int_t trackID, Int_t detID,
18 TVector3 pos, TVector3 mom, Double_t tof,
19 Double_t length, Double_t eLoss, Int_t pdgcode,
20 Double_t dist)
21 : DetectorPoint(eventID, trackID, detID, pos, mom, tof, length, eLoss,
22 pdgcode, pos, mom),
23 fdist2Wire(dist) {}
24// -------------------------------------------------------------------------
25
26// ----- Destructor ----------------------------------------------------
28// -------------------------------------------------------------------------
29
31 LOG(info) << " Position (" << fX << ", " << fY << ", " << fZ << ", "
32 << fdist2Wire << ") cm";
33}
virtual ~strawtubesPoint()
void extraPrintInfo() const override