PandaRoot
PndAnaSelectorPar.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 // C++ Interface: PndAnaSelectorPar
15 //
16 #ifndef PNDANASELECTORPAR_H
17 #define PNDANASELECTORPAR_H
18 
19 #include <TVector2.h>
20 #include <TObjString.h>
21 #include "TArrayD.h"
22 
23 #include "FairParGenericSet.h"
24 #include "FairParamList.h"
25 
26 class PndAnaSelectorPar : public FairParGenericSet {
27  public:
28  PndAnaSelectorPar(const char *name = "PndAnaSelectorParName", const char *title = "Analysis pid Selectorr parameter", const char *context = "TestDefaultContext");
29  ~PndAnaSelectorPar(void) { clear(); };
30  void clear(void);
31  void putParams(FairParamList *list);
32  Bool_t getParams(FairParamList *list);
33 
34  void Print();
36  Double_t GetVeryLooseCrit(Int_t ptype) { return fVeryLoose.At(ptype); };
37  Double_t GetLooseCrit(Int_t ptype) { return fLoose.At(ptype); };
38  Double_t GetTightCrit(Int_t ptype) { return fTight.At(ptype); };
39  Double_t GetVeryTightCrit(Int_t ptype) { return fVeryTight.At(ptype); };
40  Double_t GetVariableCrit(Int_t ptype) { return fVariable.At(ptype); };
41 
42  private:
43  // Strip Parameters
44  TArrayD fVeryLoose; // "VeryLoose" pid selection criterion
45  TArrayD fLoose; // "Loose" pid selection criterion
46  TArrayD fTight; // "Tight" pid selection criterion
47  TArrayD fVeryTight; // "VeryTight" pid selection criterion
48  TArrayD fVariable; // "Variable" pid user selection criterion
49 
50  ClassDef(PndAnaSelectorPar, 1);
51 };
52 
53 #endif
Bool_t getParams(FairParamList *list)
Double_t GetTightCrit(Int_t ptype)
PndAnaSelectorPar(const char *name="PndAnaSelectorParName", const char *title="Analysis pid Selectorr parameter", const char *context="TestDefaultContext")
Double_t GetVeryTightCrit(Int_t ptype)
void putParams(FairParamList *list)
Double_t GetVeryLooseCrit(Int_t ptype)
Double_t GetVariableCrit(Int_t ptype)
void clear(void)
Double_t GetLooseCrit(Int_t ptype)