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

#include <ForceTrigTag.h>

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

List of all members.

Public Member Functions

 ForceTrigTag (const std::string &name)
virtual ~ForceTrigTag ()
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

Detailed Description

Definition at line 6 of file ForceTrigTag.h.


Constructor & Destructor Documentation

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

Definition at line 7 of file ForceTrigTag.cc.

    : ITagBase(name)
{
    setOption("ApplyVeto", m_veto=false);
}
virtual ForceTrigTag::~ForceTrigTag ( ) [inline, virtual]

Definition at line 10 of file ForceTrigTag.h.

{}

Member Function Documentation

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

Implements ITagBase.

Definition at line 13 of file ForceTrigTag.cc.

{
  //LogDebug << "in ForceTrigTag::tag()" << std::endl;
  // Tag force trigger as bad event
  if(event->m_trigType == 0x10000020) {
    event->m_forceTrigTag = true;
    event->m_good = false;
    return m_veto;
  }
  return false;
}

Member Data Documentation

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