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
12class 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);
57
58 Int_t fPdgCode;
59
60 ClassDef(hcalPoint,1)
61
62};
63
64#endif
Int_t GetPdgCode() const
Definition hcalPoint.h:44
virtual void Print(const Option_t *opt) const
Definition hcalPoint.cxx:30
hcalPoint(const hcalPoint &point)
hcalPoint operator=(const hcalPoint &point)
Int_t PdgCode() const
Definition hcalPoint.h:45
virtual ~hcalPoint()
Definition hcalPoint.cxx:26
hcalPoint(Int_t trackID, Int_t detID, Double32_t tof, Double32_t eloss, UInt_t EventId=0)
Definition hcalPoint.h:40
Int_t fPdgCode
Definition hcalPoint.h:58
Definition hcal.h:32