| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

MpTriggerStat.h

Go to the documentation of this file.
00001 //
00002 // See MuonProphet for explanation
00003 //
00004 // Zhe Wang, 2 Oct 2009 at BNL
00005 
00006 #ifndef _MP_TRIGGER_STAT_H_
00007 #define _MP_TRIGGER_STAT_H_
00008 
00009 #include <iostream>
00010 
00011 class MpTriggerStat {
00012  public:
00013   // See MpTrigger.cc for most resent definitions
00014   enum {
00015     kUnknown  =0x000,       // error status
00016     kTriggered=0x002,       // This muon will be triggered
00017     kIneffi   =0x004,       // This muon pass the detector, however will miss trigger due to inefficiency
00018     kFarAway  =0x008,       // This muon is far away from the detector, so it missed trigger
00019     kNeedSim  =0x001        // Can't tell the trigger status of it. Need full simulation
00020   };
00021 
00022   MpTriggerStat() {
00023     m_code = kUnknown;
00024   };
00025   
00026   MpTriggerStat( unsigned long code) {
00027     m_code = code;
00028   };
00029   
00030   unsigned long getCode() const {
00031     return m_code; 
00032   };
00033   
00034   MpTriggerStat& operator=(const MpTriggerStat& rh) {
00035     m_code=rh.getCode();
00036     return *this;
00037   };
00038   
00039  private:
00040   unsigned long   m_code;
00041   
00042 };
00043 
00044 std::ostream & operator<<(std::ostream & os, const MpTriggerStat & f);
00045 
00046 
00047 #endif // _MP_TRIGGER_STAT_H_
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 21:01:51 2011 for MuonProphet by doxygen 1.4.7