EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <eic-smear/blob/master/include/eicsmear/smear/Acceptance.h>
Public Member Functions | |
virtual | ~Zone () |
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()) | |
virtual void | Add (const CustomCut &) |
virtual Bool_t | Contains (const erhic::VirtualParticle &) const |
Protected Attributes | |
double | thetaMin |
double | thetaMax |
double | phiMin |
double | phiMax |
double | EMin |
double | EMax |
double | PMin |
double | PMax |
double | pTMin |
double | pTMax |
double | pZMin |
double | pZMax |
std::vector < Smear::Acceptance::CustomCut > | CustomCuts |
A single contiguous region of acceptance.
Definition at line 77 of file Acceptance.h.
View newest version in sPHENIX GitHub at line 77 of file Acceptance.h
|
virtual |
Destructor
Definition at line 157 of file Acceptance.cxx.
View newest version in sPHENIX GitHub at line 157 of file Acceptance.cxx
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 160 of file Acceptance.cxx.
View newest version in sPHENIX GitHub at line 160 of file Acceptance.cxx
|
virtual |
Add a CustomCut to the list of acceptance tests.
Definition at line 180 of file Acceptance.cxx.
View newest version in sPHENIX GitHub at line 180 of file Acceptance.cxx
|
virtual |
Returns true if the particle lies in this zone, false if not.
Definition at line 184 of file Acceptance.cxx.
View newest version in sPHENIX GitHub at line 184 of file Acceptance.cxx
References Smear::FixPhi(), Smear::FixTheta(), erhic::VirtualParticle::GetE(), erhic::VirtualParticle::GetP(), erhic::VirtualParticle::GetPhi(), erhic::VirtualParticle::GetPt(), erhic::VirtualParticle::GetPz(), erhic::VirtualParticle::GetTheta(), phi, and theta().
|
protected |
Definition at line 118 of file Acceptance.h.
View newest version in sPHENIX GitHub at line 118 of file Acceptance.h
|
protected |
Definition at line 111 of file Acceptance.h.
View newest version in sPHENIX GitHub at line 111 of file Acceptance.h
|
protected |
Definition at line 110 of file Acceptance.h.
View newest version in sPHENIX GitHub at line 110 of file Acceptance.h
|
protected |
Definition at line 109 of file Acceptance.h.
View newest version in sPHENIX GitHub at line 109 of file Acceptance.h
|
protected |
Definition at line 108 of file Acceptance.h.
View newest version in sPHENIX GitHub at line 108 of file Acceptance.h
|
protected |
Definition at line 113 of file Acceptance.h.
View newest version in sPHENIX GitHub at line 113 of file Acceptance.h
|
protected |
Definition at line 112 of file Acceptance.h.
View newest version in sPHENIX GitHub at line 112 of file Acceptance.h
|
protected |
Definition at line 115 of file Acceptance.h.
View newest version in sPHENIX GitHub at line 115 of file Acceptance.h
|
protected |
Definition at line 114 of file Acceptance.h.
View newest version in sPHENIX GitHub at line 114 of file Acceptance.h
|
protected |
Definition at line 117 of file Acceptance.h.
View newest version in sPHENIX GitHub at line 117 of file Acceptance.h
|
protected |
Definition at line 116 of file Acceptance.h.
View newest version in sPHENIX GitHub at line 116 of file Acceptance.h
|
protected |
Definition at line 107 of file Acceptance.h.
View newest version in sPHENIX GitHub at line 107 of file Acceptance.h
|
protected |
Definition at line 106 of file Acceptance.h.
View newest version in sPHENIX GitHub at line 106 of file Acceptance.h