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

In This Package:

RpcNoiseTag.cc
Go to the documentation of this file.
00001 #include "RpcNoiseTag.h"
00002 #include "LafKernel/PhyEvent.h"
00003 #include "LafKernel/ToolFactory.h"
00004 
00005 DECLARE_TOOL(RpcNoiseTag);
00006 
00007 RpcNoiseTag::RpcNoiseTag(const std::string& name)
00008     : ITagBase(name)
00009 {
00010   setOption("ApplyVeto", m_veto=false);
00011 }
00012 
00013 bool RpcNoiseTag::tag(PhyEvent *event)
00014 {
00015   //LogDebug << "in RpcNoiseTag::tag()" << std::endl;
00016   // Tag pure 2/4 RPC event as noise
00017   if(event->m_trigType == 0x10020000) {
00018     event->m_rpcNoiseTag = true;
00019     event->m_good = false;
00020     return m_veto;
00021   }
00022   return false;
00023 }
| 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