eic-smear  1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
Smear::Acceptance::CustomCut Class Reference

#include <Acceptance.h>

Public Member Functions

 CustomCut (const TString &, double min, double max)
 
virtual bool Contains (const erhic::VirtualParticle &) const
 

Protected Attributes

TFormula mFormula
 
int dim
 
KinType Kin1
 
KinType Kin2
 
double Min
 
double Max
 

Detailed Description

A (min, max) range in some variable evaluated as an arbitrary function of theta, phi, E and p (up to two supported). For example, if you want to set the acceptance in pT to [0.,100.] CustomCut("P*sin(theta)", 0., 100.);

Definition at line 44 of file Acceptance.h.


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