PandaRoot
PndSmpFilt.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 
21 #ifndef PndSmpFilt_H
22 #define PndSmpFilt_H
23 
24 #include "TString.h"
25 #include <vector>
26 
27 using std::vector;
28 
29 // --------------------------------------------------------------------
30 
31 class PndSmpFilt {
32  public:
34  : 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),
35  phimax(1e8), ndau(0), mcntr(0.0), mwin(0.0), nocc(false)
36  {
37  pdg[0] = pdg[1] = pdg[2] = pdg[3] = pdg[4] = 0;
38  }
39 
40  void Print();
41 
42  TString name;
43 
44  bool compo; // composites
45  bool veto; // negate filter
46 
47  int pdg[5]; // pdg code(s of daughters for composites)
48  int nmin, nmax; // range particle mulitplicity
49  double pmin, pmax; // range momentum p
50  double ptmin, ptmax; // range transverse momentum pt
51  double pzmin, pzmax; // range longitudinal momentum pz
52  double thtmin, thtmax; // range polar angle theta
53  double phimin, phimax; // range angle phi
54 
55  int ndau; // for composites: number of daughters
56  double mcntr, mwin; // range angle phi
57  bool nocc; // include charged conjugates? true = no
58 };
59 
60 // --------------------------------------------------------------------
61 
62 #endif
double pzmin
Definition: PndSmpFilt.h:51
double phimin
Definition: PndSmpFilt.h:53
double pzmax
Definition: PndSmpFilt.h:51
Simple container for filter definition (criteria) for PndFilteredPrimaryGenerator.
Definition: PndSmpFilt.h:31
double ptmax
Definition: PndSmpFilt.h:50
double pmin
Definition: PndSmpFilt.h:49
void Print()
bool nocc
Definition: PndSmpFilt.h:57
double pmax
Definition: PndSmpFilt.h:49
double mcntr
Definition: PndSmpFilt.h:56
double thtmax
Definition: PndSmpFilt.h:52
double ptmin
Definition: PndSmpFilt.h:50
TString name
Definition: PndSmpFilt.h:42
double mwin
Definition: PndSmpFilt.h:56
bool compo
Definition: PndSmpFilt.h:44
int pdg[5]
Definition: PndSmpFilt.h:47
double phimax
Definition: PndSmpFilt.h:53
bool veto
Definition: PndSmpFilt.h:45
double thtmin
Definition: PndSmpFilt.h:52