ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtApollo
AtApolloPoint.h
Go to the documentation of this file.
1
/********************************************************************************
2
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
* *
4
* This software is distributed under the terms of the *
5
* GNU Lesser General Public Licence version 3 (LGPL) version 3, *
6
* copied verbatim in the file "LICENSE" *
7
********************************************************************************/
8
#ifndef APOLLOPOINT_H
9
#define APOLLOPOINT_H 1
10
11
#include <FairMCPoint.h>
12
13
#include <Rtypes.h>
14
#include <TVector3.h>
15
16
class
TBuffer;
17
class
TClass;
18
class
TMemberInspector;
19
20
class
AtApolloPoint
:
public
FairMCPoint {
21
22
public
:
24
AtApolloPoint
();
25
36
AtApolloPoint
(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Int_t crystalID, Double_t tof, Double_t length,
37
Double_t eLoss);
38
40
virtual
~AtApolloPoint
();
41
43
Int_t
GetCrystalID
()
const
{
return
fCrystalID
; }
44
46
void
SetCrystalID
(Int_t
id
) {
fCrystalID
= id; };
// added by Marc
47
49
virtual
void
Print
(
const
Option_t *opt)
const
;
50
51
private
:
53
AtApolloPoint
(
const
AtApolloPoint
&point);
54
AtApolloPoint
operator=(
const
AtApolloPoint
&point);
55
56
protected
:
57
Int_t
fCrystalID
{};
58
59
ClassDef(
AtApolloPoint
, 1)
60
};
61
62
#endif
AtApolloPoint
Definition:
AtApolloPoint.h:20
AtApolloPoint::AtApolloPoint
AtApolloPoint()
Definition:
AtApolloPoint.cxx:20
AtApolloPoint::SetCrystalID
void SetCrystalID(Int_t id)
Definition:
AtApolloPoint.h:46
AtApolloPoint::GetCrystalID
Int_t GetCrystalID() const
Definition:
AtApolloPoint.h:43
AtApolloPoint::fCrystalID
Int_t fCrystalID
Definition:
AtApolloPoint.h:57
AtApolloPoint::~AtApolloPoint
virtual ~AtApolloPoint()
AtApolloPoint::Print
virtual void Print(const Option_t *opt) const
Definition:
AtApolloPoint.cxx:37
Generated on Sat Nov 11 2023 15:30:37 for ATTPCROOT by
1.8.18