PandaRoot
PndPidListMaker.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 PNDPIDLISTMAKER_H
14 #define PNDPIDLISTMAKER_H 1
15 
16 #include <string>
17 #include <vector>
18 
19 #include "RhoCandList.h"
23 #include "RhoSimpleKaonSelector.h"
24 #include "RhoSimpleMuonSelector.h"
25 #include "RhoSimplePionSelector.h"
27 
29  public:
32  virtual ~PndPidListMaker();
33 
34  void SetBaseList(RhoCandList &l);
35  bool FillList(RhoCandList &l, std::string listkey = "All");
36 
37  private:
38  void Init();
39 
40  // Private Member Variables
41 
42  RhoCandList fBaseList;
43 
44  // **** the basic selectors
45  //
46  RhoPlusParticleSelector *plusSel;
47  RhoMinusParticleSelector *minusSel;
48 
50  RhoSimpleMuonSelector *muSel;
51  RhoSimplePionSelector *piSel;
54 
55  std::vector<std::string> fListNames;
56 
57  ClassDef(PndPidListMaker, 1);
58 };
59 
60 #endif
virtual ~PndPidListMaker()
void SetBaseList(RhoCandList &l)
bool FillList(RhoCandList &l, std::string listkey="All")