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

#include <CrossTrigTag.h>

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

List of all members.

Public Member Functions

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


Constructor & Destructor Documentation

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

Definition at line 9 of file CrossTrigTag.cc.

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

Definition at line 10 of file CrossTrigTag.h.

{}

Member Function Documentation

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

Implements ITagBase.

Definition at line 15 of file CrossTrigTag.cc.

{
  //LogDebug << "in CrossTrigTag::tag()" << std::endl;
  // Tag cross trigger as bad event
  //LogDebug << event->m_trigType << "," << (event->m_trigType & 0x2) << std::endl;
  //if((event->m_trigType & 0x2) > 0) {
  if(event->m_trigType == 0x10000002) {
    event->m_crossTrigTag = 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