FairShip
Loading...
Searching...
No Matches
DetectorHit.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 "DetectorHit.h"
6
7namespace SHiP {
8
9// ----- Default constructor -------------------------------------------
10DetectorHit::DetectorHit() : TObject(), fdigi(0), fDetectorID(-1) {}
11// -------------------------------------------------------------------------
12
13// ----- Standard constructor ------------------------------------------
14DetectorHit::DetectorHit(Int_t detID, Float_t digi)
15 : TObject(), fdigi(digi), fDetectorID(detID) {}
16
17} // namespace SHiP
Definition: Detector.h:18