test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
17 
19 
20 public:
21 
24 
26  virtual ~RawDataFEDSelector() {};
27 
28  inline void setRange(const std::pair<int,int> & range) {fedRange = range;};
29  inline void setRange(const std::vector<int> & list) {fedList = list;};
30 
31  std::unique_ptr<FEDRawDataCollection> select(const edm::Handle<FEDRawDataCollection> & rawData);
32  std::unique_ptr<FEDRawDataCollection> select(const edm::Handle<FEDRawDataCollection> & rawData, const std::pair<int,int> & range);
33  std::unique_ptr<FEDRawDataCollection> select(const edm::Handle<FEDRawDataCollection> & rawData, const std::vector<int> & list);
34 
35 
36 private:
37 
38  std::pair<int,int> fedRange;
39  std::vector<int> fedList;
40 
41 };
42 
43 #endif
std::unique_ptr< FEDRawDataCollection > select(const edm::Handle< FEDRawDataCollection > &rawData)
RawDataFEDSelector()
Constructor.
void setRange(const std::pair< int, int > &range)
std::pair< int, int > fedRange
std::vector< int > fedList
void setRange(const std::vector< int > &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
virtual ~RawDataFEDSelector()
Destructor.