PandaRoot
BSEmcClusterPropertiesPar.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 // -------------------------------------------------------------------------
14 // ----- BSEmcClusterPropertiesPar
15 // -----
16 // ----- Created 29/04/2019 by B. Salisbury <salisbury@hiskp.uni-bonn.de>
17 // -------------------------------------------------------------------------
18 
19 #ifndef BSEMCCLUSTERPROPERTIESPAR_HH
20 #define BSEMCCLUSTERPROPERTIESPAR_HH
21 
22 #include <string>
23 
24 #include "Rtypes.h"
25 #include "RtypesCore.h"
26 #include "TObject.h"
27 
28 #include "FairParGenericSet.h"
29 
30 class FairParamList;
31 class TBuffer;
32 class TClass;
33 class TMemberInspector;
34 
42 class BSEmcClusterPropertiesPar : public FairParGenericSet {
43  public:
44  static const std::string fgParameterName;
45  BSEmcClusterPropertiesPar(const char *t_name = "EmcClusterPropertiesPar", const char *t_title = "Emc Geometry Version Flag", const char *t_context = "TestDefaultContext");
47  void clear(void) /*override*/;
48 
49  const Text_t *GetEmcClusterPosMethod() const { return fEmcClusterPosMethod; }
50  Double_t GetOffsetParmA() const { return fOffsetParmA; };
51  Double_t GetOffsetParmB() const { return fOffsetParmB; };
52  Double_t GetOffsetParmC() const { return fOffsetParmC; };
53 
54  void putParams(FairParamList * /*unused*/) /*override*/;
55  Bool_t getParams(FairParamList * /*unused*/) /*override*/;
56 
57  private:
58  Double_t fOffsetParmA{-1};
59  Double_t fOffsetParmB{-1};
60  Double_t fOffsetParmC{-1};
61 
62  Text_t fEmcClusterPosMethod[10]{}; // lilo, linear
63 
64  ClassDef(BSEmcClusterPropertiesPar, 2)
65 };
66 
67 #endif /*BSEMCCLUSTERPROPERTIESPAR_HH*/
static const std::string fgParameterName
Container for clusterproperties such as Position.
BSEmcClusterPropertiesPar(const char *t_name="EmcClusterPropertiesPar", const char *t_title="Emc Geometry Version Flag", const char *t_context="TestDefaultContext")
const Text_t * GetEmcClusterPosMethod() const
void putParams(FairParamList *)
Bool_t getParams(FairParamList *)