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
const
TVector3& pos,
const
TVector3& mom,
19
Double_t tof, Double_t length, Double_t eLoss,
20
Int_t pdgcode, 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
() =
default
;
28
// -------------------------------------------------------------------------
29
30
void
strawtubesPoint::extraPrintInfo
()
const
{
31
LOG(info) <<
" Position ("
<< fX <<
", "
<< fY <<
", "
<< fZ <<
", "
32
<<
fdist2Wire
<<
") cm"
;
33
}
strawtubesPoint::strawtubesPoint
strawtubesPoint()
Definition
strawtubesPoint.cxx:13
strawtubesPoint::~strawtubesPoint
~strawtubesPoint() override
strawtubesPoint::fdist2Wire
Double_t fdist2Wire
Definition
strawtubesPoint.h:43
strawtubesPoint::DetectorPoint
DetectorPoint()=default
strawtubesPoint::extraPrintInfo
void extraPrintInfo() const override
Definition
strawtubesPoint.cxx:30
strawtubesPoint.h
strawtubes
strawtubesPoint.cxx
Generated by
Doxygen
1.15.0