PandaRoot
PndSdsGeoPar.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 PNDSDSGEOPAR_H
14 #define PNDSDSGEOPAR_H
15 
16 #include "FairParGenericSet.h"
17 #include "TH1F.h"
18 
19 class PndSdsGeoPar : public FairParGenericSet {
20  public:
21  PndSdsGeoPar(const char *name = "PndSdsGeoPar", const char *title = "PndSds Geometry Parameters", const char *context = "TestDefaultContext");
22  PndSdsGeoPar(PndSdsGeoPar &other) : FairParGenericSet(other), fGeoSensNodes(other.fGeoSensNodes), fGeoPassNodes(other.fGeoPassNodes){};
23  ~PndSdsGeoPar(void);
25  {
26  fGeoSensNodes = other.fGeoSensNodes;
27  fGeoPassNodes = other.fGeoPassNodes;
28  return *this;
29  };
30  void clear(void);
31  void putParams(FairParamList *l);
32  Bool_t getParams(FairParamList *l);
33  TObjArray *GetGeoSensitiveNodes() { return fGeoSensNodes; }
34  TObjArray *GetGeoPassiveNodes() { return fGeoPassNodes; }
35 
36  private:
37  TObjArray *fGeoSensNodes; // List of FairGeoNodes for sensitive volumes
38  TObjArray *fGeoPassNodes; // List of FairGeoNodes for sensitive volumes
39 
40  ClassDef(PndSdsGeoPar, 2);
41 };
42 
43 #endif /* !PNDSDSGEOPAR_H */
Bool_t getParams(FairParamList *l)
PndSdsGeoPar & operator=(PndSdsGeoPar &other)
Definition: PndSdsGeoPar.h:24
PndSdsGeoPar(PndSdsGeoPar &other)
Definition: PndSdsGeoPar.h:22
PndSdsGeoPar(const char *name="PndSdsGeoPar", const char *title="PndSds Geometry Parameters", const char *context="TestDefaultContext")
void putParams(FairParamList *l)
void clear(void)
TObjArray * GetGeoPassiveNodes()
Definition: PndSdsGeoPar.h:34
TObjArray * GetGeoSensitiveNodes()
Definition: PndSdsGeoPar.h:33
~PndSdsGeoPar(void)