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

#include <RpcNoiseTag.h>

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

List of all members.

Public Member Functions

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


Constructor & Destructor Documentation

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

Definition at line 7 of file RpcNoiseTag.cc.

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

Definition at line 10 of file RpcNoiseTag.h.

{}

Member Function Documentation

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

Implements ITagBase.

Definition at line 13 of file RpcNoiseTag.cc.

{
  //LogDebug << "in RpcNoiseTag::tag()" << std::endl;
  // Tag pure 2/4 RPC event as noise
  if(event->m_trigType == 0x10020000) {
    event->m_rpcNoiseTag = 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