PandaRoot
PndSmpFilt.h
Go to the documentation of this file.
1 
9 #ifndef PndSmpFilt_H
10 #define PndSmpFilt_H
11 
12 #include "TString.h"
13 #include <vector>
14 
15 using std::vector;
16 
17 // --------------------------------------------------------------------
18 
19 class PndSmpFilt {
20  public:
22  : name(""), compo(false), veto(false), nmin(1), nmax(10000), pmin(0.0), pmax(1e8), ptmin(0.0), ptmax(1e8), pzmin(-1e8), pzmax(1e8), thtmin(0.0), thtmax(180.0), phimin(-1e8),
23  phimax(1e8), ndau(0), mcntr(0.0), mwin(0.0), nocc(false)
24  {
25  pdg[0] = pdg[1] = pdg[2] = pdg[3] = pdg[4] = 0;
26  }
27 
28  void Print();
29 
30  TString name;
31 
32  bool compo; // composites
33  bool veto; // negate filter
34 
35  int pdg[5]; // pdg code(s of daughters for composites)
36  int nmin, nmax; // range particle mulitplicity
37  double pmin, pmax; // range momentum p
38  double ptmin, ptmax; // range transverse momentum pt
39  double pzmin, pzmax; // range longitudinal momentum pz
40  double thtmin, thtmax; // range polar angle theta
41  double phimin, phimax; // range angle phi
42 
43  int ndau; // for composites: number of daughters
44  double mcntr, mwin; // range angle phi
45  bool nocc; // include charged conjugates? true = no
46 };
47 
48 // --------------------------------------------------------------------
49 
50 #endif
double pzmin
Definition: PndSmpFilt.h:39
double phimin
Definition: PndSmpFilt.h:41
double pzmax
Definition: PndSmpFilt.h:39
Simple container for filter definition (criteria) for PndFilteredPrimaryGenerator.
Definition: PndSmpFilt.h:19
double ptmax
Definition: PndSmpFilt.h:38
double pmin
Definition: PndSmpFilt.h:37
void Print()
bool nocc
Definition: PndSmpFilt.h:45
double pmax
Definition: PndSmpFilt.h:37
double mcntr
Definition: PndSmpFilt.h:44
double thtmax
Definition: PndSmpFilt.h:40
double ptmin
Definition: PndSmpFilt.h:38
TString name
Definition: PndSmpFilt.h:30
double mwin
Definition: PndSmpFilt.h:44
bool compo
Definition: PndSmpFilt.h:32
int pdg[5]
Definition: PndSmpFilt.h:35
double phimax
Definition: PndSmpFilt.h:41
bool veto
Definition: PndSmpFilt.h:33
double thtmin
Definition: PndSmpFilt.h:40