PandaRoot
BSEmcPositionPar.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 BSEMCPOSITIONPAR_HH
14 #define BSEMCPOSITIONPAR_HH
15 #include <string>
16 
17 #include "Rtypes.h"
18 #include "RtypesCore.h"
19 
20 #include "FairParGenericSet.h"
21 #include "FairParamList.h"
22 
23 class FairParamList;
24 class TBuffer;
25 class TClass;
26 class TMemberInspector;
27 
35 class BSEmcPositionPar : public FairParGenericSet {
36  public:
37  static const std::string fgParameterName;
38  BSEmcPositionPar(const char *t_name = "EmcPositionPar", const char *t_title = "Position Values for emc detector", const char *t_context = "TestDefaultContext");
39 
40  virtual ~BSEmcPositionPar(void);
41 
42  void clear(void) /*override*/ {}
43 
44  void putParams(FairParamList *t_list) /*override*/;
45 
46  Bool_t getParams(FairParamList *t_list) /*override*/;
47 
48  Double_t GetDigiPositionDepth() const { return fEmcDigiPositionDepth; }
49  const Text_t *GetDigiPositionMethod() const { return fDigiPosMethod; }
50 
51  private:
52  Double_t fEmcDigiPositionDepth{6.2};
53  Text_t fDigiPosMethod[100]{"DEPTH"};
54  ClassDef(BSEmcPositionPar, 1)
55 };
56 
57 #endif /*BSEMCPOSITIONPAR_HH*/
Double_t GetDigiPositionDepth() const
static const std::string fgParameterName
virtual ~BSEmcPositionPar(void)
BSEmcPositionPar(const char *t_name="EmcPositionPar", const char *t_title="Position Values for emc detector", const char *t_context="TestDefaultContext")
Bool_t getParams(FairParamList *t_list)
const Text_t * GetDigiPositionMethod() const
void putParams(FairParamList *t_list)
Mini parameter set to contain position relevant parameter.