L1Trigger
L1TTwinMux
interface
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
15
#include "
DataFormats/RPCDigi/interface/RPCDigiCollection.h
"
16
17
class
RPCHitCleaner
{
18
public
:
19
RPCHitCleaner
(
RPCDigiCollection
const
& inrpcDigis);
20
21
void
run
();
22
24
RPCDigiCollection
const
&
getRPCCollection
() {
return
m_outrpcDigis
; }
25
26
struct
detId_Ext
{
27
RPCDetId
detid
;
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
:
38
RPCDigiCollection
const
&
m_inrpcDigis
;
40
RPCDigiCollection
m_outrpcDigis
;
41
};
42
#endif
RPCHitCleaner::detId_Ext::strip
int strip
Definition:
RPCHitCleaner.h:29
RPCHitCleaner::detId_Ext::bx
int bx
Definition:
RPCHitCleaner.h:28
RPCHitCleaner
Definition:
RPCHitCleaner.h:17
RPCDetId
Definition:
RPCDetId.h:16
RPCHitCleaner::detId_Ext::detid
RPCDetId detid
Definition:
RPCHitCleaner.h:27
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:42
RPCDigiCollection
RPCHitCleaner::detId_Ext
Definition:
RPCHitCleaner.h:26
RPCHitCleaner::m_outrpcDigis
RPCDigiCollection m_outrpcDigis
Output.
Definition:
RPCHitCleaner.h:40
RPCHitCleaner::RPCHitCleaner
RPCHitCleaner(RPCDigiCollection const &inrpcDigis)
Definition:
RPCHitCleaner.cc:28
RPCHitCleaner::m_inrpcDigis
RPCDigiCollection const & m_inrpcDigis
Input.
Definition:
RPCHitCleaner.h:38
RPCHitCleaner::detId_Ext::operator<
const bool operator<(const detId_Ext &o) const
Definition:
RPCHitCleaner.h:30
RPCHitCleaner::run
void run()
Definition:
RPCHitCleaner.cc:51
RPCDigiCollection.h
RPCHitCleaner::getRPCCollection
RPCDigiCollection const & getRPCCollection()
Return Output RPCCollection.
Definition:
RPCHitCleaner.h:24
Generated for CMSSW Reference Manual by
1.8.16