fmssim
|
Abstract base class decribing an arbitrary trigger region with a threshold in some quantity. More...
#include <Region.h>
Public Types | |
enum | EThresholdType { E, ET } |
Valid threshold types. More... | |
Public Member Functions | |
virtual | ~Region () |
virtual Bool_t | Contains (const TVector3 &) const =0 |
Returns true if the point lies within the region. | |
virtual Double_t | GetThreshold () const =0 |
Returns the threshold of the region. | |
virtual void | SetThreshold (Double_t)=0 |
virtual void | SetId (Int_t)=0 |
virtual Int_t | GetId () const =0 |
Abstract base class decribing an arbitrary trigger region with a threshold in some quantity.
virtual fms::trigger::Region::~Region | ( | ) | [inline, virtual] |
virtual Bool_t fms::trigger::Region::Contains | ( | const TVector3 & | ) | const [pure 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.
Implemented in fms::trigger::PatchXY, and fms::trigger::QtBoard2011.
virtual Int_t fms::trigger::Region::GetId | ( | ) | const [pure virtual] |
Implemented in fms::trigger::PatchXY, and fms::trigger::QtBoard2011.
virtual Double_t fms::trigger::Region::GetThreshold | ( | ) | const [pure virtual] |
Returns the threshold of the region.
Implemented in fms::trigger::PatchXY, and fms::trigger::QtBoard2011.
virtual void fms::trigger::Region::SetId | ( | Int_t | ) | [pure virtual] |
Implemented in fms::trigger::PatchXY, and fms::trigger::QtBoard2011.
virtual void fms::trigger::Region::SetThreshold | ( | Double_t | ) | [pure virtual] |
Implemented in fms::trigger::PatchXY, and fms::trigger::QtBoard2011.