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 -------------------------------------------
13
strawtubesPoint::strawtubesPoint
() : DetectorPoint() {}
14
// -------------------------------------------------------------------------
15
16
// ----- Standard constructor ------------------------------------------
17
strawtubesPoint::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 ----------------------------------------------------
27
strawtubesPoint::~strawtubesPoint
() {}
28
// -------------------------------------------------------------------------
29
30
void
strawtubesPoint::extraPrintInfo
()
const
{
31
LOG(info) <<
" Position ("
<< fX <<
", "
<< fY <<
", "
<< fZ <<
", "
32
<<
fdist2Wire
<<
") cm"
;
33
}
strawtubesPoint::~strawtubesPoint
virtual ~strawtubesPoint()
Definition:
strawtubesPoint.cxx:27
strawtubesPoint::strawtubesPoint
strawtubesPoint()
Definition:
strawtubesPoint.cxx:13
strawtubesPoint::fdist2Wire
Double_t fdist2Wire
Definition:
strawtubesPoint.h:42
strawtubesPoint::extraPrintInfo
void extraPrintInfo() const override
Definition:
strawtubesPoint.cxx:30
strawtubesPoint.h
strawtubes
strawtubesPoint.cxx
Generated by
1.9.6