CMS 3D CMS Logo

RawDataFEDSelector.h
Go to the documentation of this file.
1 #ifndef RawDataFEDSelector_h
2 #define RawDataFEDSelector_h
3 
10 
11 #include <memory>
12 #include <utility>
13 #include <vector>
14 
16 
18 public:
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
list
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*", "!HLTx*" if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL. It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of "!*" before the partial wildcard feature was incorporated). Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
RawDataFEDSelector::select
std::unique_ptr< FEDRawDataCollection > select(const edm::Handle< FEDRawDataCollection > &rawData)
Definition: RawDataFEDSelector.cc:17