fmssim
|
A trigger patch in the XY plane. More...
#include <PatchXY.h>
Public Member Functions | |
PatchXY (Double_t xMin=0., Double_t yMin=0., Double_t xMax=0., Double_t yMax=0.) | |
virtual | ~PatchXY () |
virtual void | SetId (Int_t) |
virtual Int_t | GetId () const |
virtual Bool_t | Contains (const TVector3 &) const |
Returns true if the point lies within the region. | |
virtual Double_t | GetThreshold () const |
Returns the threshold of the region. | |
virtual void | SetThreshold (Double_t) |
virtual void | Draw (Option_t *="") |
virtual Double_t | XMin () const |
The x coordinate of the lower-x edge. | |
virtual Double_t | XMax () const |
The x coordinate of the upper-x edge. | |
virtual Double_t | YMin () const |
The y coordinate of the bottom edge. | |
virtual Double_t | YMax () const |
The y coordinate of the top edge. | |
virtual void | SetXMin (Double_t) |
virtual void | SetXMax (Double_t) |
virtual void | SetYMin (Double_t) |
virtual void | SetYMax (Double_t) |
Protected Attributes | |
Int_t | mId |
Unique identifer for this region. | |
Double_t | mXMin |
x coordinate of the lower-x edge | |
Double_t | mXMax |
x coordinate of the upper-x edge | |
Double_t | mYMin |
y coordinate of the lower-y edge | |
Double_t | mYMax |
y coordinate of the upper-y edge | |
Double_t | mThreshold |
Threshold level of this region. |
A trigger patch in the XY plane.
fms::trigger::PatchXY::PatchXY | ( | Double_t | xMin = 0. , |
Double_t | yMin = 0. , |
||
Double_t | xMax = 0. , |
||
Double_t | yMax = 0. |
||
) |
fms::trigger::PatchXY::~PatchXY | ( | ) | [virtual] |
Bool_t fms::trigger::PatchXY::Contains | ( | const TVector3 & | ) | const [virtual] |
Returns true if the point lies within the region.
Take 3D point so we can derive arbitrary regions in e.g (x, y) or (eta, phi) space.
Implements fms::trigger::Region.
void fms::trigger::PatchXY::Draw | ( | Option_t * | o = "" | ) | [virtual] |
Int_t fms::trigger::PatchXY::GetId | ( | ) | const [inline, virtual] |
Implements fms::trigger::Region.
Double_t fms::trigger::PatchXY::GetThreshold | ( | ) | const [inline, virtual] |
Returns the threshold of the region.
Implements fms::trigger::Region.
void fms::trigger::PatchXY::SetId | ( | Int_t | i | ) | [inline, virtual] |
Implements fms::trigger::Region.
void fms::trigger::PatchXY::SetThreshold | ( | Double_t | t | ) | [inline, virtual] |
Implements fms::trigger::Region.
void fms::trigger::PatchXY::SetXMax | ( | Double_t | x | ) | [inline, virtual] |
void fms::trigger::PatchXY::SetXMin | ( | Double_t | x | ) | [inline, virtual] |
void fms::trigger::PatchXY::SetYMax | ( | Double_t | y | ) | [inline, virtual] |
void fms::trigger::PatchXY::SetYMin | ( | Double_t | y | ) | [inline, virtual] |
Double_t fms::trigger::PatchXY::XMax | ( | ) | const [inline, virtual] |
The x coordinate of the upper-x edge.
Double_t fms::trigger::PatchXY::XMin | ( | ) | const [inline, virtual] |
The x coordinate of the lower-x edge.
Double_t fms::trigger::PatchXY::YMax | ( | ) | const [inline, virtual] |
The y coordinate of the top edge.
Double_t fms::trigger::PatchXY::YMin | ( | ) | const [inline, virtual] |
The y coordinate of the bottom edge.
Int_t fms::trigger::PatchXY::mId [protected] |
Unique identifer for this region.
Double_t fms::trigger::PatchXY::mThreshold [protected] |
Threshold level of this region.
Double_t fms::trigger::PatchXY::mXMax [protected] |
x coordinate of the upper-x edge
Double_t fms::trigger::PatchXY::mXMin [protected] |
x coordinate of the lower-x edge
Double_t fms::trigger::PatchXY::mYMax [protected] |
y coordinate of the upper-y edge
Double_t fms::trigger::PatchXY::mYMin [protected] |
y coordinate of the lower-y edge