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
:
33
PndSmpFilt
()
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
PndSmpFilt::nmax
int nmax
Definition:
PndSmpFilt.h:48
PndSmpFilt::pzmin
double pzmin
Definition:
PndSmpFilt.h:51
PndSmpFilt::PndSmpFilt
PndSmpFilt()
Definition:
PndSmpFilt.h:33
PndSmpFilt::phimin
double phimin
Definition:
PndSmpFilt.h:53
PndSmpFilt::ndau
int ndau
Definition:
PndSmpFilt.h:55
PndSmpFilt::pzmax
double pzmax
Definition:
PndSmpFilt.h:51
PndSmpFilt
Simple container for filter definition (criteria) for PndFilteredPrimaryGenerator.
Definition:
PndSmpFilt.h:31
PndSmpFilt::ptmax
double ptmax
Definition:
PndSmpFilt.h:50
PndSmpFilt::pmin
double pmin
Definition:
PndSmpFilt.h:49
PndSmpFilt::Print
void Print()
PndSmpFilt::nocc
bool nocc
Definition:
PndSmpFilt.h:57
PndSmpFilt::pmax
double pmax
Definition:
PndSmpFilt.h:49
PndSmpFilt::nmin
int nmin
Definition:
PndSmpFilt.h:48
PndSmpFilt::mcntr
double mcntr
Definition:
PndSmpFilt.h:56
PndSmpFilt::thtmax
double thtmax
Definition:
PndSmpFilt.h:52
PndSmpFilt::ptmin
double ptmin
Definition:
PndSmpFilt.h:50
PndSmpFilt::name
TString name
Definition:
PndSmpFilt.h:42
PndSmpFilt::mwin
double mwin
Definition:
PndSmpFilt.h:56
PndSmpFilt::compo
bool compo
Definition:
PndSmpFilt.h:44
PndSmpFilt::pdg
int pdg[5]
Definition:
PndSmpFilt.h:47
PndSmpFilt::phimax
double phimax
Definition:
PndSmpFilt.h:53
PndSmpFilt::veto
bool veto
Definition:
PndSmpFilt.h:45
PndSmpFilt::thtmin
double thtmin
Definition:
PndSmpFilt.h:52
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
pgenerators
eventFilter
PndSmpFilt.h
Generated on Fri Nov 29 2024 06:04:44 for PandaRoot by
1.8.13