ARTEMIS-CRIB
 
Loading...
Searching...
No Matches
TReactionInfo.h
Go to the documentation of this file.
1/**
2 * @file TReactionInfo.h
3 * @brief
4 * @author Kodai Okawa <okawa@cns.s.u-tokyo.ac.jp>
5 * @date 2023-08-01 22:27:43
6 * @note last modified: 2025-01-08 10:34:08
7 * @details
8 */
9
10#ifndef _CRIB_TREACTIONINFO_H_
11#define _CRIB_TREACTIONINFO_H_
12
13#include <TDataObject.h>
14#include <constant.h>
15
16namespace art::crib {
17class TReactionInfo;
18}
19
21 public:
22 typedef enum { kID,
24 typedef enum { kASC,
26
28 ~TReactionInfo() override;
29
30 TReactionInfo(const TReactionInfo &rhs);
32
33 Double_t GetEnergy() const { return fEnergy; }
34 void SetEnergy(Double_t arg) { fEnergy = arg; }
35 Double_t GetTheta() const { return fTheta; }
36 void SetTheta(Double_t arg) { fTheta = arg; }
37 Double_t GetThetaL() const { return fThetaL; }
38 void SetThetaL(Double_t arg) { fThetaL = arg; }
39
40 Double_t GetBeamEnergy() const { return fBeamEnergy; }
41 void SetBeamEnergy(Double_t arg) { fBeamEnergy = arg; }
42
43 Double_t GetX() const { return fX; }
44 Double_t GetY() const { return fY; }
45 Double_t GetZ() const { return fZ; }
46 void SetXYZ(Double_t x, Double_t y, Double_t z) {
47 fX = x;
48 fY = y;
49 fZ = z;
50 }
51
52 Double_t GetExEnergy() const { return fExEnergy; }
53 void SetExEnergy(Double_t arg) { fExEnergy = arg; }
54
55 void Copy(TObject &dest) const override;
56 void Clear(Option_t *opt = "") override;
57
58 protected:
59 /// @brief Ecm of the reaction
60 Double_t fEnergy;
61 /// @brief Theta cm of the reaction
62 Double_t fTheta;
63 /// @brief Theta LAB of the reaction
64 Double_t fThetaL;
65
66 /// @brief reconst beam lab energy
67 Double_t fBeamEnergy;
68
69 /// @brief reaction position at LAB system, x
70 Double_t fX;
71 /// @brief reaction position at LAB system, y
72 Double_t fY;
73 /// @brief reaction position at LAB system, z
74 Double_t fZ;
75
76 /// @brief excited energy of residual nucleus
77 Double_t fExEnergy;
78
79 ClassDefOverride(TReactionInfo, 2)
80};
81
82#endif // end of #ifndef _TREACTIONINFO_H_
TReactionInfo & operator=(const TReactionInfo &rhs)
void SetEnergy(Double_t arg)
Double_t fThetaL
Theta LAB of the reaction.
Double_t GetZ() const
Double_t GetEnergy() const
void SetExEnergy(Double_t arg)
Double_t GetThetaL() const
void Copy(TObject &dest) const override
Double_t fX
reaction position at LAB system, x
void SetThetaL(Double_t arg)
Double_t fEnergy
Ecm of the reaction.
void Clear(Option_t *opt="") override
Double_t GetTheta() const
void SetTheta(Double_t arg)
Double_t fBeamEnergy
reconst beam lab energy
Double_t GetBeamEnergy() const
void SetBeamEnergy(Double_t arg)
Double_t GetX() const
Double_t fZ
reaction position at LAB system, z
Double_t GetY() const
Double_t GetExEnergy() const
void SetXYZ(Double_t x, Double_t y, Double_t z)
Double_t fY
reaction position at LAB system, y
Double_t fTheta
Theta cm of the reaction.
Double_t fExEnergy
excited energy of residual nucleus
return to the guide