00001
00002
00003
00004 #ifndef STJTRGRAISETHRESHOLDETHT_H
00005 #define STJTRGRAISETHRESHOLDETHT_H
00006
00007 #include "StjTrgRaiseThreshold.h"
00008
00009 class StjTrgRaiseThresholdEtHT : public StjTrgRaiseThreshold {
00010
00011 public:
00012 StjTrgRaiseThresholdEtHT(StjTrg* src, double minEt)
00013 : StjTrgRaiseThreshold(src), _minEt(minEt) { }
00014 virtual ~StjTrgRaiseThresholdEtHT() { }
00015
00016 bool soft() const;
00017
00018 std::vector<int> towers();
00019 std::vector<int> towerDsmAdc();
00020 std::vector<unsigned int> towerAdc();
00021 std::vector<double> towerEnergy();
00022 std::vector<double> towerEt();
00023
00024 private:
00025
00026 void read() const;
00027
00028 double _minEt;
00029
00030 mutable bool _passed;
00031 mutable std::vector<int> _towers;
00032 mutable std::vector<int> _towerDsmAdc;
00033 mutable std::vector<unsigned int> _towerAdc;
00034 mutable std::vector<double> _towerEnergy;
00035 mutable std::vector<double> _towerEt;
00036
00037 ClassDef(StjTrgRaiseThresholdEtHT, 1)
00038
00039 };
00040
00041 #endif // STJTRGRAISETHRESHOLDETHT_H