CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RPCHitCleaner.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
3 // Class: RPCHitCleaner
4 //
5 // RPCHitCleaner
6 //
7 //
8 // Author :
9 // G. Flouris U Ioannina Feb. 2015
10 //--------------------------------------------------
11 
12 #ifndef L1T_TwinMuxRPC_HITCLEANER_H
13 #define L1T_TwinMuxRPC_HITCLEANER_H
14 
16 
18 public:
19  RPCHitCleaner(RPCDigiCollection const& inrpcDigis);
20 
21  void run();
22 
25 
26  struct detId_Ext {
28  int bx;
29  int strip;
30  bool const operator<(const detId_Ext& o) const {
31  return strip < o.strip || (strip == o.strip && detid < o.detid) ||
32  (bx < o.bx && strip == o.strip && detid == o.detid);
33  }
34  };
35 
36 private:
41 };
42 #endif
bool const operator<(const detId_Ext &o) const
Definition: RPCHitCleaner.h:30
RPCHitCleaner(RPCDigiCollection const &inrpcDigis)
RPCDigiCollection const & getRPCCollection()
Return Output RPCCollection.
Definition: RPCHitCleaner.h:24
RPCDigiCollection m_outrpcDigis
Output.
Definition: RPCHitCleaner.h:40
RPCDigiCollection const & m_inrpcDigis
Input.
Definition: RPCHitCleaner.h:38