SND@LHC Software
Loading...
Searching...
No Matches
hcalPoint.h
Go to the documentation of this file.
1
#ifndef HCALPOINT_H
2
#define HCALPOINT_H 1
3
4
5
#include "FairMCPoint.h"
6
7
#include "TObject.h"
8
#include "TVector3.h"
9
10
#include "TClonesArray.h"
11
12
class
hcalPoint
:
public
FairMCPoint
13
{
14
friend
class
hcal
;
15
16
public
:
17
19
hcalPoint
();
20
21
31
hcalPoint
(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom,
32
Double_t tof, Double_t length, Double_t eLoss, Int_t pdgcode=0);
33
40
hcalPoint
(Int_t trackID, Int_t detID, Double32_t tof, Double32_t eloss, UInt_t EventId=0)
41
: FairMCPoint(trackID, detID, TVector3(-1111, -1111, -1111), TVector3(-1111, -1111, -1111), tof, -1111, eloss, EventId),
fPdgCode
(0)
42
{};
43
44
Int_t
GetPdgCode
()
const
{
return
fPdgCode
;}
45
Int_t
PdgCode
()
const
{
return
fPdgCode
;}
46
48
virtual
~hcalPoint
();
49
51
virtual
void
Print
(
const
Option_t* opt)
const
;
52
53
private
:
55
hcalPoint
(
const
hcalPoint
& point);
56
hcalPoint
operator=
(
const
hcalPoint
& point);
57
58
Int_t
fPdgCode
;
59
60
ClassDef(
hcalPoint
,1)
61
62
};
63
64
#endif
hcalPoint
Definition
hcalPoint.h:13
hcalPoint::GetPdgCode
Int_t GetPdgCode() const
Definition
hcalPoint.h:44
hcalPoint::Print
virtual void Print(const Option_t *opt) const
Definition
hcalPoint.cxx:30
hcalPoint::hcalPoint
hcalPoint(const hcalPoint &point)
hcalPoint::operator=
hcalPoint operator=(const hcalPoint &point)
hcalPoint::PdgCode
Int_t PdgCode() const
Definition
hcalPoint.h:45
hcalPoint::~hcalPoint
virtual ~hcalPoint()
Definition
hcalPoint.cxx:26
hcalPoint::hcalPoint
hcalPoint()
Definition
hcalPoint.cxx:9
hcalPoint::hcalPoint
hcalPoint(Int_t trackID, Int_t detID, Double32_t tof, Double32_t eloss, UInt_t EventId=0)
Definition
hcalPoint.h:40
hcalPoint::fPdgCode
Int_t fPdgCode
Definition
hcalPoint.h:58
hcal
Definition
hcal.h:32
hcal
hcalPoint.h
Generated by
1.9.8