er  dev
ERNDParticle.h
1 /********************************************************************************
2  * Copyright (C) Joint Institute for Nuclear Research *
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 
9 #ifndef ERNDParticle_H
10 #define ERNDParticle_H
11 
12 #include "TLorentzVector.h"
13 
14 class ERNDParticle: public TObject {
15  public:
16  ERNDParticle() = default;
17  ERNDParticle(const TLorentzVector& lv, float tof);
18  TLorentzVector LV() const { return fLV; }
19  float ToF() const { return fToF; }
20  protected:
21  TLorentzVector fLV;
22  float fToF = -1.;
23  ClassDef(ERNDParticle,1);
24 };
25 
26 #endif