SND@LHC Software
Loading...
Searching...
No Matches
ecalPoint.h
Go to the documentation of this file.
1
#ifndef ECALPOINT_H
2
#define ECALPOINT_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
ecalPoint
:
public
FairMCPoint
13
{
14
friend
class
ecal
;
15
16
public
:
17
19
ecalPoint
();
20
21
31
ecalPoint
(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
ecalPoint
(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
~ecalPoint
();
49
51
virtual
void
Print
(
const
Option_t* opt)
const
;
52
53
private
:
55
ecalPoint
(
const
ecalPoint
& point);
56
ecalPoint
operator=
(
const
ecalPoint
& point);
57
58
Int_t
fPdgCode
;
59
60
ClassDef(
ecalPoint
,1)
61
62
};
63
64
#endif
ecalPoint
Definition
ecalPoint.h:13
ecalPoint::ecalPoint
ecalPoint(Int_t trackID, Int_t detID, Double32_t tof, Double32_t eloss, UInt_t EventId=0)
Definition
ecalPoint.h:40
ecalPoint::GetPdgCode
Int_t GetPdgCode() const
Definition
ecalPoint.h:44
ecalPoint::fPdgCode
Int_t fPdgCode
Definition
ecalPoint.h:58
ecalPoint::ecalPoint
ecalPoint()
Definition
ecalPoint.cxx:9
ecalPoint::~ecalPoint
virtual ~ecalPoint()
Definition
ecalPoint.cxx:26
ecalPoint::operator=
ecalPoint operator=(const ecalPoint &point)
ecalPoint::PdgCode
Int_t PdgCode() const
Definition
ecalPoint.h:45
ecalPoint::ecalPoint
ecalPoint(const ecalPoint &point)
ecalPoint::Print
virtual void Print(const Option_t *opt) const
Definition
ecalPoint.cxx:30
ecal
Definition
ecal.h:33
ecal
ecalPoint.h
Generated by
1.9.8