/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
FirstMuonTag Class Reference

#include <FirstMuonTag.h>

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

List of all members.

Public Member Functions

 FirstMuonTag (const std::string &name)
virtual ~FirstMuonTag ()
virtual bool tag (PhyEvent *event)
const std::string & name ()
bool setOption (const std::string &option, Type &var)

Protected Attributes

bool m_veto
std::string m_name

Private Attributes

bool m_active

Detailed Description

Definition at line 6 of file FirstMuonTag.h.


Constructor & Destructor Documentation

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

Definition at line 7 of file FirstMuonTag.cc.

    : ITagBase(name),
      m_active(true)
{
}
virtual FirstMuonTag::~FirstMuonTag ( ) [inline, virtual]

Definition at line 11 of file FirstMuonTag.h.

{}

Member Function Documentation

bool FirstMuonTag::tag ( PhyEvent event) [virtual]

Implements ITagBase.

Definition at line 13 of file FirstMuonTag.cc.

{
    if ( m_active ) {
        if ( ! event->isRPC() && event->isMuon() ) {
            m_active = false;
        }
    }

    return m_active;
}

Member Data Documentation

bool FirstMuonTag::m_active [private]

Definition at line 17 of file FirstMuonTag.h.

bool ITagBase::m_veto [protected, inherited]

Definition at line 17 of file ITagBase.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:56 for SelCycler by doxygen 1.7.4