ARTEMIS-CRIB
 
Loading...
Searching...
No Matches
TTargetParameter.h
Go to the documentation of this file.
1/**
2 * @file TTargetParameter.h
3 * @brief
4 * @author Kodai Okawa <okawa@cns.s.u-tokyo.ac.jp>
5 * @date 2024-01-17 22:14:55
6 * @note last modified: 2025-01-08 10:40:44
7 * @details
8 */
9
10#ifndef _CRIB_TTARGETPARAMETER_H_
11#define _CRIB_TTARGETPARAMETER_H_
12
13#include <TParameterObject.h>
14
15namespace art::crib {
16class TTargetParameter;
17}
18
20 public:
22 ~TTargetParameter() override;
23
26
27 TString GetTargetName() const { return fName; }
28 void SetTargetName(TString val) { fName = val; }
29 Bool_t IsGas() const { return fIsGas; }
30 void SetIsGasState(Bool_t val) { fIsGas = val; }
31 Double_t GetZ() const { return fZ; }
32 void SetZ(Double_t val) { fZ = val; }
33 Double_t GetThickness() const { return fThickness; }
34 void SetThickness(Double_t val) { fThickness = val; }
35
36 protected:
37 TString fName; //! target name
38 Bool_t fIsGas; //! gas target or not
39 Double_t fZ; //! z position (not use in gas target, mm)
40 Double_t fThickness; //! thickness of the target (mm)
41
42 private:
43 ClassDefOverride(TTargetParameter, 0)
44};
45
46#endif // end of #ifndef _TTARGETPARAMETER_H_
void SetTargetName(TString val)
void SetThickness(Double_t val)
TTargetParameter & operator=(const TTargetParameter &rhs)
Double_t fThickness
z position (not use in gas target, mm)
Double_t fZ
gas target or not
return to the guide