PandaRoot
BSEmcMCPar.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef BSMCPAR_HH
14 #define BSMCPAR_HH
15 #include <string>
16 
17 #include "Rtypes.h"
18 #include "RtypesCore.h"
19 
20 #include "FairParGenericSet.h"
21 
22 class FairParamList;
23 class TBuffer;
24 class TClass;
25 class TMemberInspector;
26 
36 class BSEmcMCPar : public FairParGenericSet {
37  public:
38  static const std::string fgParameterName;
39  BSEmcMCPar(const char *t_name = "EmcMCPar", const char *t_title = "Emc Geometry Version Flag", const char *t_context = "TestDefaultContext");
40  ~BSEmcMCPar(void);
41  void clear(void) /*override*/;
42 
43  Double_t GetEnergyDepositThreshold() const { return fEnergyDepositThreshold; }
44  Double_t GetCutMotherParticle() const { return fCutMotherParticle; }
45  Double_t GetCutSameTrack() const { return fCutSameTrack; }
46  const Text_t *GetNonUniformityFile() const { return fNonUniformityFile; }
47 
48  void putParams(FairParamList * /*unused*/) /*override*/;
49  Bool_t getParams(FairParamList * /*unused*/) /*override*/;
50 
51  private:
52  Double_t fEnergyDepositThreshold{-1};
53  Double_t fCutMotherParticle{-1};
54  Double_t fCutSameTrack{-1};
55 
56  Text_t fNonUniformityFile[100]{};
57 
58  ClassDef(BSEmcMCPar, 2)
59 };
60 
61 #endif /*BSMCPAR_HH*/
void clear(void)
Container for runtime parameters that are required for the transformation from BSEmcMCPoints to BSEmc...
Definition: BSEmcMCPar.h:36
Double_t GetCutSameTrack() const
Definition: BSEmcMCPar.h:45
BSEmcMCPar(const char *t_name="EmcMCPar", const char *t_title="Emc Geometry Version Flag", const char *t_context="TestDefaultContext")
const Text_t * GetNonUniformityFile() const
Definition: BSEmcMCPar.h:46
void putParams(FairParamList *)
Bool_t getParams(FairParamList *)
Double_t GetEnergyDepositThreshold() const
Definition: BSEmcMCPar.h:43
static const std::string fgParameterName
Definition: BSEmcMCPar.h:38
~BSEmcMCPar(void)
Double_t GetCutMotherParticle() const
Definition: BSEmcMCPar.h:44