EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Smear::Acceptance::Zone Class Reference

#include <eic-smear/blob/master/include/eicsmear/smear/Acceptance.h>

+ Collaboration diagram for Smear::Acceptance::Zone:

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
 

Detailed Description

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

Constructor & Destructor Documentation

Smear::Acceptance::Zone::~Zone ( )
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

Member Function Documentation

void Smear::Acceptance::Zone::Add ( const CustomCut cut)
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

Bool_t Smear::Acceptance::Zone::Contains ( const erhic::VirtualParticle prt) const
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().

+ Here is the call graph for this function:

Member Data Documentation

std::vector<Smear::Acceptance::CustomCut> Smear::Acceptance::Zone::CustomCuts
protected

Definition at line 118 of file Acceptance.h.

View newest version in sPHENIX GitHub at line 118 of file Acceptance.h

double Smear::Acceptance::Zone::EMax
protected

Definition at line 111 of file Acceptance.h.

View newest version in sPHENIX GitHub at line 111 of file Acceptance.h

double Smear::Acceptance::Zone::EMin
protected

Definition at line 110 of file Acceptance.h.

View newest version in sPHENIX GitHub at line 110 of file Acceptance.h

double Smear::Acceptance::Zone::phiMax
protected

Definition at line 109 of file Acceptance.h.

View newest version in sPHENIX GitHub at line 109 of file Acceptance.h

double Smear::Acceptance::Zone::phiMin
protected

Definition at line 108 of file Acceptance.h.

View newest version in sPHENIX GitHub at line 108 of file Acceptance.h

double Smear::Acceptance::Zone::PMax
protected

Definition at line 113 of file Acceptance.h.

View newest version in sPHENIX GitHub at line 113 of file Acceptance.h

double Smear::Acceptance::Zone::PMin
protected

Definition at line 112 of file Acceptance.h.

View newest version in sPHENIX GitHub at line 112 of file Acceptance.h

double Smear::Acceptance::Zone::pTMax
protected

Definition at line 115 of file Acceptance.h.

View newest version in sPHENIX GitHub at line 115 of file Acceptance.h

double Smear::Acceptance::Zone::pTMin
protected

Definition at line 114 of file Acceptance.h.

View newest version in sPHENIX GitHub at line 114 of file Acceptance.h

double Smear::Acceptance::Zone::pZMax
protected

Definition at line 117 of file Acceptance.h.

View newest version in sPHENIX GitHub at line 117 of file Acceptance.h

double Smear::Acceptance::Zone::pZMin
protected

Definition at line 116 of file Acceptance.h.

View newest version in sPHENIX GitHub at line 116 of file Acceptance.h

double Smear::Acceptance::Zone::thetaMax
protected

Definition at line 107 of file Acceptance.h.

View newest version in sPHENIX GitHub at line 107 of file Acceptance.h

double Smear::Acceptance::Zone::thetaMin
protected

Definition at line 106 of file Acceptance.h.

View newest version in sPHENIX GitHub at line 106 of file Acceptance.h


The documentation for this class was generated from the following files: