PandaRoot
PndDrcDigiPar.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 //* $Id: */
14 
15 // -------------------------------------------------------------------------
16 // ----- PndDrcDigiPar header file -----
17 // ----- Created 09/11/2010 by M. Patsyuk -----
18 // -------------------------------------------------------------------------
19 
29 #ifndef PNDDRCDIGIPAR_H
30 #define PNDDRCDIGIPAR_H
31 
32 #include <TVector2.h>
33 #include <TArrayD.h>
34 #include <TMath.h>
35 
36 #include "FairParGenericSet.h"
37 #include "FairParamList.h"
38 
40 class PndDrcDigiPar : public FairParGenericSet {
41  public:
42  PndDrcDigiPar(const char *name = "PndDrcParTest", const char *title = "PndDrc digi parameter", const char *context = "TestDefaultContext");
43  ~PndDrcDigiPar(void);
44  void clear(void){};
45  void putParams(FairParamList *list);
46  Bool_t getParams(FairParamList *list);
47 
48  void Print();
49 
51  Int_t GetNHitPixels() { return fNOfHitPixels; };
52  Int_t GetNAmbiguities() { return fNOfAmbiguities; };
53  Int_t GetNPixelParam() { return fNOfParametersPerPixel; };
54  // get parameters of a given pixel, array should be the size of fNPixelParam
55  Bool_t GetParamsForPixel(Int_t, Double_t *);
56 
57  private:
58  TArrayD fDrcParameters;
59  Int_t fNOfHitPixels;
60  Int_t fNOfAmbiguities;
61  Int_t fNOfParametersPerPixel;
62 
63  ClassDef(PndDrcDigiPar, 2);
64 };
65 
66 #endif
Int_t GetNPixelParam()
Definition: PndDrcDigiPar.h:53
Bool_t GetParamsForPixel(Int_t, Double_t *)
void putParams(FairParamList *list)
Bool_t getParams(FairParamList *list)
void clear(void)
Definition: PndDrcDigiPar.h:44
PndDrcDigiPar(const char *name="PndDrcParTest", const char *title="PndDrc digi parameter", const char *context="TestDefaultContext")
Int_t GetNAmbiguities()
Definition: PndDrcDigiPar.h:52
Int_t GetNHitPixels()
Definition: PndDrcDigiPar.h:51
Digitization Parameter Class for DIRC barrel part.
Definition: PndDrcDigiPar.h:40
~PndDrcDigiPar(void)