PandaRoot
PndAnaSelectorPar.h
Go to the documentation of this file.
1 //
2 // C++ Interface: PndAnaSelectorPar
3 //
4 #ifndef PNDANASELECTORPAR_H
5 #define PNDANASELECTORPAR_H
6 
7 #include <TVector2.h>
8 #include <TObjString.h>
9 #include "TArrayD.h"
10 
11 #include "FairParGenericSet.h"
12 #include "FairParamList.h"
13 
14 class PndAnaSelectorPar : public FairParGenericSet {
15  public:
16  PndAnaSelectorPar(const char *name = "PndAnaSelectorParName", const char *title = "Analysis pid Selectorr parameter", const char *context = "TestDefaultContext");
17  ~PndAnaSelectorPar(void) { clear(); };
18  void clear(void);
19  void putParams(FairParamList *list);
20  Bool_t getParams(FairParamList *list);
21 
22  void Print();
24  Double_t GetVeryLooseCrit(Int_t ptype) { return fVeryLoose.At(ptype); };
25  Double_t GetLooseCrit(Int_t ptype) { return fLoose.At(ptype); };
26  Double_t GetTightCrit(Int_t ptype) { return fTight.At(ptype); };
27  Double_t GetVeryTightCrit(Int_t ptype) { return fVeryTight.At(ptype); };
28  Double_t GetVariableCrit(Int_t ptype) { return fVariable.At(ptype); };
29 
30  private:
31  // Strip Parameters
32  TArrayD fVeryLoose; // "VeryLoose" pid selection criterion
33  TArrayD fLoose; // "Loose" pid selection criterion
34  TArrayD fTight; // "Tight" pid selection criterion
35  TArrayD fVeryTight; // "VeryTight" pid selection criterion
36  TArrayD fVariable; // "Variable" pid user selection criterion
37 
38  ClassDef(PndAnaSelectorPar, 1);
39 };
40 
41 #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)