EventFilter
RawDataCollector
interface
RawDataFEDSelector.h
Go to the documentation of this file.
1
#ifndef RawDataFEDSelector_h
2
#define RawDataFEDSelector_h
3
9
#include "
DataFormats/Common/interface/Handle.h
"
10
11
#include <memory>
12
#include <utility>
13
#include <vector>
14
15
class
FEDRawDataCollection
;
16
17
class
RawDataFEDSelector
{
18
public
:
20
RawDataFEDSelector
(){};
21
23
virtual
~RawDataFEDSelector
(){};
24
25
inline
void
setRange
(
const
std::pair<int, int>&
range
) {
fedRange
=
range
; };
26
inline
void
setRange
(
const
std::vector<int>& list) {
fedList
= list; };
27
28
std::unique_ptr<FEDRawDataCollection>
select
(
const
edm::Handle<FEDRawDataCollection>
&
rawData
);
29
std::unique_ptr<FEDRawDataCollection>
select
(
const
edm::Handle<FEDRawDataCollection>
&
rawData
,
30
const
std::pair<int, int>&
range
);
31
std::unique_ptr<FEDRawDataCollection>
select
(
const
edm::Handle<FEDRawDataCollection>
&
rawData
,
32
const
std::vector<int>& list);
33
34
private
:
35
std::pair<int, int>
fedRange
;
36
std::vector<int>
fedList
;
37
};
38
39
#endif
FastTimerService_cff.range
range
Definition:
FastTimerService_cff.py:34
Handle.h
RawDataFEDSelector::setRange
void setRange(const std::vector< int > &list)
Definition:
RawDataFEDSelector.h:26
FEDRawDataCollection
Definition:
FEDRawDataCollection.h:18
l1tstage2_dqm_sourceclient-live_cfg.rawData
rawData
Definition:
l1tstage2_dqm_sourceclient-live_cfg.py:162
RawDataFEDSelector::fedList
std::vector< int > fedList
Definition:
RawDataFEDSelector.h:36
edm::Handle
Definition:
AssociativeIterator.h:50
RawDataFEDSelector::~RawDataFEDSelector
virtual ~RawDataFEDSelector()
Destructor.
Definition:
RawDataFEDSelector.h:23
RawDataFEDSelector::fedRange
std::pair< int, int > fedRange
Definition:
RawDataFEDSelector.h:35
RawDataFEDSelector::RawDataFEDSelector
RawDataFEDSelector()
Constructor.
Definition:
RawDataFEDSelector.h:20
RawDataFEDSelector::setRange
void setRange(const std::pair< int, int > &range)
Definition:
RawDataFEDSelector.h:25
RawDataFEDSelector
Definition:
RawDataFEDSelector.h:17
RawDataFEDSelector::select
std::unique_ptr< FEDRawDataCollection > select(const edm::Handle< FEDRawDataCollection > &rawData)
Definition:
RawDataFEDSelector.cc:17
Generated for CMSSW Reference Manual by
1.8.16