/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Protected Attributes | Private Attributes
MuonSelector Class Reference

#include <MuonSelector.h>

Inheritance diagram for MuonSelector:
Inheritance graph
[legend]
Collaboration diagram for MuonSelector:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MuonSelector (const std::string &name)
virtual ~MuonSelector ()
virtual bool select (PhyEvent *evt)
const std::string & name ()
bool setOption (const std::string &option, Type &var)

Protected Attributes

std::string m_name

Private Attributes

bool m_vetoRetrig

Detailed Description

Definition at line 6 of file MuonSelector.h.


Constructor & Destructor Documentation

MuonSelector::MuonSelector ( const std::string &  name)

Definition at line 7 of file MuonSelector.cc.

    : EvtSelector(name)
{
    setOption("VetoRetrigger", m_vetoRetrig = false);
}
MuonSelector::~MuonSelector ( ) [virtual]

Definition at line 13 of file MuonSelector.cc.

{
}

Member Function Documentation

bool MuonSelector::select ( PhyEvent evt) [virtual]

Implements EvtSelector.

Definition at line 17 of file MuonSelector.cc.

{
    if ( evt->isMuon() ) {
        if ( evt->m_det > 4 || ! m_vetoRetrig || evt->m_MiddleTimeRMS < 50 ) {
            return true;
        }
    }
    return false;
}

Member Data Documentation

Definition at line 17 of file MuonSelector.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:50:30 for EvtSelectors by doxygen 1.7.4