PandaRoot
PndMdtRecoPar.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 PNDMDTRECOPAR_H
14 #define PNDMDTRECOPAR_H
15 
16 #include "FairParGenericSet.h"
17 #include "FairParamList.h"
18 
19 class PndMdtRecoPar : public FairParGenericSet {
20  public:
21  // Double_t GetEnergyThresholdBarrel() {return fEnergyThresholdBarrel;};
22 
23  Float_t GetLayerPos(Int_t mod, Int_t lay) const { return fLayerPos[mod][lay]; };
24  Float_t GetAngleCut(Int_t mod) const { return fAngleCut[mod]; };
25 
26  PndMdtRecoPar(const char *name = "PndMdtRecoPar", const char *title = "Mdt reconstruction parameter", const char *context = "TestDefaultContext");
27 
28  ~PndMdtRecoPar(void){};
29 
30  void Clear(void);
31 
32  void putParams(FairParamList *list);
33  Bool_t getParams(FairParamList *list);
34 
35  private:
36  // Double_t fEnergyThresholdBarrel; // Single crystal energy threshold for barrel EMC
37 
38  Float_t fLayerPos[2][10]; // Position of the MDT layers [cm]
39  Float_t fAngleCut[2]; // Cut selection for correlation [degrees]
40 
41  ClassDef(PndMdtRecoPar, 1);
42 };
43 
44 #endif
~PndMdtRecoPar(void)
Definition: PndMdtRecoPar.h:28
PndMdtRecoPar(const char *name="PndMdtRecoPar", const char *title="Mdt reconstruction parameter", const char *context="TestDefaultContext")
void putParams(FairParamList *list)
Float_t GetLayerPos(Int_t mod, Int_t lay) const
Definition: PndMdtRecoPar.h:23
void Clear(void)
Float_t GetAngleCut(Int_t mod) const
Definition: PndMdtRecoPar.h:24
Bool_t getParams(FairParamList *list)