fmssim
Public Types | Public Member Functions
fms::trigger::Region Class Reference

Abstract base class decribing an arbitrary trigger region with a threshold in some quantity. More...

#include <Region.h>

List of all members.

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

Detailed Description

Abstract base class decribing an arbitrary trigger region with a threshold in some quantity.


Member Enumeration Documentation

Valid threshold types.

Enumerator:
E 
ET 

Constructor & Destructor Documentation

virtual fms::trigger::Region::~Region ( ) [inline, virtual]

Member Function Documentation

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]
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]
virtual void fms::trigger::Region::SetThreshold ( Double_t  ) [pure virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines