er  dev
ERTelescopeParticle.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 #ifndef ERTelescopeParticle_H
9 #define ERTelescopeParticle_H
10 
11 #include "TNamed.h"
12 #include "TLorentzVector.h"
13 
14 #include "ERSupport.h"
15 
22 class ERTelescopeParticle : public TNamed {
23 public:
24  ERTelescopeParticle() = default;
29  ERTelescopeParticle(TLorentzVector lvinteraction, Double_t deadEloss,
30  Double_t kineticEnergy, Double_t edepInThickStation = -1.,
31  Double_t edepInThinStation = -1., Double_t correctedEdepInThickStation = -1.,
32  Double_t correctedEdepInThinStation = -1.,
33  ERChannel channelOfThinStation = consts::undefined_channel,
34  ERChannel channelOfThickStation = consts::undefined_channel);
35  Double_t GetDeadEloss() const {return fDeadEloss;}
36  Double_t GetKineticEnergy() const {return fKineticEnergy;}
37  TLorentzVector GetLVInteraction() const {return fLVInteraction;}
38  Double_t GetEdepInThickStation() const {return fEdepInThickStation;}
39  Double_t GetEdepInThinStation() const {return fEdepInThinStation;}
40  Double_t GetCorrectedEdepInThickStation() const {return fCorrectedEdepInThickStation;}
41  Double_t GetCorrectedEdepInThinStation() const {return fCorrectedEdepInThinStation;}
42  ERChannel ChannelOfThinStation() const {return fChannelOfThinStation;}
43  ERChannel ChannelOfThickStation() const {return fChannelOfThickStation;}
44 private:
45  TLorentzVector fLVInteraction;
46  Double_t fKineticEnergy = 0.;
47  Double_t fDeadEloss = 0.;
48  Double_t fEdepInThickStation = -1.;
49  Double_t fEdepInThinStation = -1.;
50  ERChannel fChannelOfThinStation = consts::undefined_channel;
51  ERChannel fChannelOfThickStation = consts::undefined_channel;
52  Double_t fCorrectedEdepInThickStation = -1.;
53  Double_t fCorrectedEdepInThinStation = -1.;
54  ClassDef(ERTelescopeParticle, 1)
55 };
56 
57 #endif