SND@LHC Software
Loading...
Searching...
No Matches
vetoPoint.h
Go to the documentation of this file.
1#ifndef VETOPOINT_H
2#define VETOPOINT_H 1
3
4
5#include "FairMCPoint.h"
6
7#include "TObject.h"
8#include "TVector3.h"
9
10class vetoPoint : public FairMCPoint
11{
12
13 public:
14
16 vetoPoint();
17
18
30 vetoPoint(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom,
31 Double_t tof, Double_t length, Double_t eLoss, Int_t pdgCode, TVector3 Lpos, TVector3 Lmom);
32
34 virtual ~vetoPoint();
35
37 virtual void Print() const;
38 Int_t PdgCode() const {return fPdgCode;}
39 TVector3 LastPoint() const {return fLpos;}
40 TVector3 LastMom() const {return fLmom;}
41
42 private:
44 Int_t fPdgCode;
45 TVector3 fLpos,fLmom;
46 vetoPoint(const vetoPoint& point);
48
49 ClassDef(vetoPoint,3)
50
51};
52
53#endif
TVector3 LastPoint() const
Definition vetoPoint.h:39
TVector3 fLmom
Definition vetoPoint.h:45
vetoPoint(const vetoPoint &point)
Int_t PdgCode() const
Definition vetoPoint.h:38
Int_t fPdgCode
Definition vetoPoint.h:44
TVector3 fLpos
Definition vetoPoint.h:45
virtual ~vetoPoint()
Definition vetoPoint.cxx:26
vetoPoint operator=(const vetoPoint &point)
TVector3 LastMom() const
Definition vetoPoint.h:40
virtual void Print() const
Definition vetoPoint.cxx:30