A single contiguous region of acceptance.
More...
#include <Acceptance.h>
|
virtual | ~Zone () |
| Destructor. More...
|
|
| Zone (double theta=0., double=TMath::Pi(), double phi=0., double=TMath::TwoPi(), double E=0., double=TMath::Infinity(), double p=0., double=TMath::Infinity(), double pt=0., double=TMath::Infinity(), double pz=-TMath::Infinity(), double=TMath::Infinity()) |
| Constructor. More...
|
|
virtual void | Add (const CustomCut &) |
| Add a CustomCut to the list of acceptance tests. More...
|
|
virtual Bool_t | Contains (const erhic::VirtualParticle &) const |
| Returns true if the particle lies in this zone, false if not. More...
|
|
A single contiguous region of acceptance.
Definition at line 62 of file Acceptance.h.
◆ ~Zone()
Smear::Acceptance::Zone::~Zone |
( |
| ) |
|
|
virtual |
◆ Zone()
Smear::Acceptance::Zone::Zone |
( |
double |
theta = 0. , |
|
|
double |
thMax = TMath::Pi() , |
|
|
double |
phi = 0. , |
|
|
double |
phMax = TMath::TwoPi() , |
|
|
double |
E = 0. , |
|
|
double |
eMax = TMath::Infinity() , |
|
|
double |
p = 0. , |
|
|
double |
pMax = TMath::Infinity() , |
|
|
double |
pt = 0. , |
|
|
double |
ptmax = TMath::Infinity() , |
|
|
double |
pz = -TMath::Infinity() , |
|
|
double |
pzmax = TMath::Infinity() |
|
) |
| |
Constructor.
Define accepted ranges in theta, phi, E, p, pT and pz. Ranges in each variable are combined via boolean AND. By default accepts all particles.
Definition at line 145 of file Acceptance.cxx.
◆ Add()
void Smear::Acceptance::Zone::Add |
( |
const CustomCut & |
cut | ) |
|
|
virtual |
◆ Contains()
Returns true if the particle lies in this zone, false if not.
Definition at line 169 of file Acceptance.cxx.
◆ CustomCuts
◆ EMax
double Smear::Acceptance::Zone::EMax |
|
protected |
◆ EMin
double Smear::Acceptance::Zone::EMin |
|
protected |
◆ phiMax
double Smear::Acceptance::Zone::phiMax |
|
protected |
◆ phiMin
double Smear::Acceptance::Zone::phiMin |
|
protected |
◆ PMax
double Smear::Acceptance::Zone::PMax |
|
protected |
◆ PMin
double Smear::Acceptance::Zone::PMin |
|
protected |
◆ pTMax
double Smear::Acceptance::Zone::pTMax |
|
protected |
◆ pTMin
double Smear::Acceptance::Zone::pTMin |
|
protected |
◆ pZMax
double Smear::Acceptance::Zone::pZMax |
|
protected |
◆ pZMin
double Smear::Acceptance::Zone::pZMin |
|
protected |
◆ thetaMax
double Smear::Acceptance::Zone::thetaMax |
|
protected |
◆ thetaMin
double Smear::Acceptance::Zone::thetaMin |
|
protected |
The documentation for this class was generated from the following files: