Main Page
Namespaces
Classes
Package Documentation
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
#include "
CondFormats/L1TObjects/interface/L1TTwinMuxParams.h
"
18
#include "
CondFormats/DataRecord/interface/L1TTwinMuxParamsRcd.h
"
19
20
21
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
22
#include "
FWCore/Framework/interface/EDProducer.h
"
23
#include "
FWCore/Framework/interface/Event.h
"
24
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
25
#include "
FWCore/Framework/interface/ESHandle.h
"
26
#include "
FWCore/Framework/interface/EventSetup.h
"
27
28
#include <iostream>
29
30
class
RPCHitCleaner
{
31
public
:
32
RPCHitCleaner
(
RPCDigiCollection
inrpcDigis);
33
~RPCHitCleaner
() {};
34
35
void
run
(
const
edm::EventSetup
&
c
);
36
38
RPCDigiCollection
getRPCCollection
(){
return
m_outrpcDigis
;}
39
40
struct
detId_Ext
{
41
RPCDetId
detid
;
42
int
bx
;
43
int
strip
;
44
bool
const
operator<
(
const
detId_Ext
&
o
)
const
{
45
return
strip < o.
strip
|| (strip == o.
strip
&& detid < o.
detid
)|| ( bx < o.
bx
&& strip == o.
strip
&& detid == o.
detid
);
46
}
47
};
48
49
private
:
50
52
RPCDigiCollection
m_inrpcDigis
;
54
RPCDigiCollection
m_outrpcDigis
;
55
56
57
};
58
#endif
RPCHitCleaner
Definition:
RPCHitCleaner.h:30
RPCHitCleaner::run
void run(const edm::EventSetup &c)
Definition:
RPCHitCleaner.cc:57
RPCHitCleaner::detId_Ext::strip
int strip
Definition:
RPCHitCleaner.h:43
RPCHitCleaner::detId_Ext::operator<
bool const operator<(const detId_Ext &o) const
Definition:
RPCHitCleaner.h:44
Event.h
RPCHitCleaner::detId_Ext::detid
RPCDetId detid
Definition:
RPCHitCleaner.h:41
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:43
EventSetup.h
RPCHitCleaner::~RPCHitCleaner
~RPCHitCleaner()
Definition:
RPCHitCleaner.h:33
Frameworkfwd.h
L1TTwinMuxParamsRcd.h
ParameterSet.h
RPCHitCleaner::detId_Ext::bx
int bx
Definition:
RPCHitCleaner.h:42
L1TTwinMuxParams.h
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:47
RPCDetId
Definition:
RPCDetId.h:16
RPCDigiCollection
RPCHitCleaner::detId_Ext
Definition:
RPCHitCleaner.h:40
EDProducer.h
connectstrParser.o
o
Definition:
connectstrParser.py:70
RPCHitCleaner::getRPCCollection
RPCDigiCollection getRPCCollection()
Return Output RPCCollection.
Definition:
RPCHitCleaner.h:38
RPCHitCleaner::RPCHitCleaner
RPCHitCleaner(RPCDigiCollection inrpcDigis)
Definition:
RPCHitCleaner.cc:29
RPCDigiCollection.h
RPCHitCleaner::m_outrpcDigis
RPCDigiCollection m_outrpcDigis
Output.
Definition:
RPCHitCleaner.h:54
RPCHitCleaner::m_inrpcDigis
RPCDigiCollection m_inrpcDigis
Input.
Definition:
RPCHitCleaner.h:52
Generated for CMSSW Reference Manual by
1.8.11