CMS 3D CMS Logo

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 
19 
20 
27 
28 #include <iostream>
29 
31 public:
32  RPCHitCleaner(RPCDigiCollection const& inrpcDigis);
33 
34  void run(const edm::EventSetup& c);
35 
38 
39  struct detId_Ext{
41  int bx;
42  int strip;
43  bool const operator<(const detId_Ext &o) const {
44  return strip < o.strip || (strip == o.strip && detid < o.detid)|| ( bx < o.bx && strip == o.strip && detid == o.detid);
45  }
46  };
47 
48 private:
49 
54 
55 
56 };
57 #endif
void run(const edm::EventSetup &c)
bool const operator<(const detId_Ext &o) const
Definition: RPCHitCleaner.h:43
RPCHitCleaner(RPCDigiCollection const &inrpcDigis)
RPCDigiCollection const & getRPCCollection()
Return Output RPCCollection.
Definition: RPCHitCleaner.h:37
RPCDigiCollection m_outrpcDigis
Output.
Definition: RPCHitCleaner.h:53
RPCDigiCollection const & m_inrpcDigis
Input.
Definition: RPCHitCleaner.h:51