Go to the documentation of this file.00001 #ifndef FORIA_L2DETATRIGGER_HH
00002 #define FORIA_L2DETATRIGGER_HH
00003
00004 #include "ForIA/L2J7Jet.hh"
00005
00006 #include <utility>
00007
00008 namespace ForIA{
00009
00010 class Event;
00011
00012 typedef std::pair<L2J7JetConstPtr, L2J7JetConstPtr> L2JetPair;
00013
00014 class L2DetaTrigger{
00015
00016 public:
00017
00018 L2DetaTrigger();
00019
00020 void setETThreshold(double ptThresh);
00021 void setGapSize(double gapSize);
00022
00023 bool passesTrigger()const;
00024
00025 const L2JetPair &passingJets()const;
00026
00027 void setEvent(const Event &evt);
00028
00029 double dEtaMax()const;
00030
00031 bool hasDiJets()const;
00032
00033 unsigned int nJets()const;
00034
00035 private:
00036
00037 double m_etCut;
00038 double m_gapSize;
00039
00040 bool m_canChangeSettings;
00041
00042 bool m_passes;
00043 bool m_hasDiJets;
00044
00045 L2JetPair m_jets;
00046
00047 double m_detaMax;
00048
00049 unsigned int m_nJets;
00050
00051 };
00052 }
00053
00054 #endif