PandaRoot
PndGeoSttPar.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 PNDGEOSTTPAR_H
14 #define PNDGEOSTTPAR_H
15 
16 #include "FairParGenericSet.h"
17 #include "TH1F.h"
18 #include "TObjArray.h"
19 
20 class PndGeoSttPar : public FairParGenericSet {
21  public:
22  TObjArray *fTubeParams;
23  Int_t fGeoType;
25 
26  PndGeoSttPar(const char *name = "PndGeoSttPar", const char *title = "Stt Geometry Parameters", const char *context = "TestDefaultContext");
27  ~PndGeoSttPar(void);
28  void clear(void);
29  void putParams(FairParamList *);
30  Bool_t getParams(FairParamList *);
31  TObjArray *GetTubeParameters() { return fTubeParams; }
32 
33  // additional function for geometry
34  void SetGeometryType(Int_t geoType) { fGeoType = geoType; }
35  void SetTubeInRad(Double_t inrad) { fTubeInRad = inrad; }
36  void SetTubeOutRad(Double_t outrad) { fTubeOutRad = outrad; }
37  Int_t GetGeometryType() { return (Int_t)fGeoType; };
38  Double_t GetTubeInRad() { return (Double_t)fTubeInRad; };
39  Double_t GetTubeOutRad() { return (Double_t)fTubeOutRad; };
40 
42  PndGeoSttPar &operator=(const PndGeoSttPar &) { return *this; };
43 
44  ClassDef(PndGeoSttPar, 1)
45 };
46 
47 #endif /* !PNDGEOSTTPAR_H */
void clear(void)
Double_t fTubeOutRad
Definition: PndGeoSttPar.h:24
Bool_t getParams(FairParamList *)
void SetTubeInRad(Double_t inrad)
Definition: PndGeoSttPar.h:35
~PndGeoSttPar(void)
TObjArray * fTubeParams
Definition: PndGeoSttPar.h:22
Int_t GetGeometryType()
Definition: PndGeoSttPar.h:37
Int_t fGeoType
Definition: PndGeoSttPar.h:23
void putParams(FairParamList *)
Double_t fTubeInRad
Definition: PndGeoSttPar.h:24
PndGeoSttPar(const char *name="PndGeoSttPar", const char *title="Stt Geometry Parameters", const char *context="TestDefaultContext")
Double_t GetTubeOutRad()
Definition: PndGeoSttPar.h:39
void SetTubeOutRad(Double_t outrad)
Definition: PndGeoSttPar.h:36
PndGeoSttPar & operator=(const PndGeoSttPar &)
Definition: PndGeoSttPar.h:42
TObjArray * GetTubeParameters()
Definition: PndGeoSttPar.h:31
Double_t GetTubeInRad()
Definition: PndGeoSttPar.h:38
void SetGeometryType(Int_t geoType)
Definition: PndGeoSttPar.h:34