fmssim
|
00001 #ifndef _FMS_TRIGGER_REGION_H_ 00002 #define _FMS_TRIGGER_REGION_H_ 00003 00004 // 00005 // Region.h 00006 // 00007 // Created by TB on 9/16/11. 00008 // Copyright 2011 BNL. All rights reserved. 00009 // 00010 00011 #include <TObject.h> 00012 00013 class TVector3; 00014 00015 namespace fms { 00016 00017 namespace trigger { 00018 00019 #if 0 00020 00023 class Threshold { 00024 00025 }; 00026 #endif 00027 00032 class Region : public TObject { 00033 00034 public: 00035 00039 enum EThresholdType { 00040 E, // Total energy 00041 ET // Transverse energy 00042 }; 00043 00044 virtual ~Region() { } 00045 00051 virtual Bool_t Contains(const TVector3&) const = 0; 00052 00056 virtual Double_t GetThreshold() const = 0; 00057 00058 virtual void SetThreshold(Double_t) = 0; 00059 /* 00060 virtual Bool_t IsOverThreshold() const = 0; 00061 */ 00062 virtual void SetId(Int_t) = 0; 00063 00064 virtual Int_t GetId() const = 0; 00065 00066 ClassDef(fms::trigger::Region, 1) 00067 }; 00068 00069 } // namespace trigger 00070 00071 } // namespace fms 00072 00073 #endif