FairRoot/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 {
16  public :
17  PndAnaSelectorPar (const char* name="PndAnaSelectorParName",
18  const char* title="Analysis pid Selectorr parameter",
19  const char* context="TestDefaultContext");
21  void clear(void);
22  void putParams(FairParamList* list);
23  Bool_t getParams(FairParamList* list);
24 
25  void Print();
27  Double_t GetVeryLooseCrit(Int_t ptype) {return fVeryLoose.At(ptype);};
28  Double_t GetLooseCrit(Int_t ptype) {return fLoose.At(ptype);};
29  Double_t GetTightCrit(Int_t ptype) {return fTight.At(ptype);};
30  Double_t GetVeryTightCrit(Int_t ptype) {return fVeryTight.At(ptype);};
31  Double_t GetVariableCrit(Int_t ptype) {return fVariable.At(ptype);};
32 
33  private:
34  // Strip Parameters
35  TArrayD fVeryLoose; // "VeryLoose" pid selection criterion
36  TArrayD fLoose; // "Loose" pid selection criterion
37  TArrayD fTight; // "Tight" pid selection criterion
38  TArrayD fVeryTight; // "VeryTight" pid selection criterion
39  TArrayD fVariable; // "Variable" pid user selection criterion
40 
42 };
43 
44 #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")
ClassDef(PndAnaSelectorPar, 1)
Double_t GetVeryTightCrit(Int_t ptype)
void putParams(FairParamList *list)
Double_t
Double_t GetVeryLooseCrit(Int_t ptype)
Double_t GetVariableCrit(Int_t ptype)
TString name
Double_t GetLooseCrit(Int_t ptype)