Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:26:12

0001 #ifndef RawDataCollectorByLabel_H
0002 #define RawDataCollectorByLabel_H
0003 
0004 /** \class RawDataCollectorByLabel
0005  *
0006  */
0007 
0008 #include "FWCore/Framework/interface/MakerMacros.h"
0009 #include "FWCore/Framework/interface/stream/EDProducer.h"
0010 #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h"
0011 #include "DataFormats/Common/interface/Handle.h"
0012 #include "FWCore/Utilities/interface/InputTag.h"
0013 
0014 class RawDataCollectorByLabel : public edm::stream::EDProducer<> {
0015 public:
0016   ///Constructor
0017   RawDataCollectorByLabel(const edm::ParameterSet& pset);
0018 
0019   ///Destructor
0020   ~RawDataCollectorByLabel() override;
0021 
0022   void produce(edm::Event& e, const edm::EventSetup& c) override;
0023 
0024 private:
0025   typedef std::vector<edm::InputTag>::const_iterator tag_iterator_t;
0026   typedef std::vector<edm::EDGetTokenT<FEDRawDataCollection> >::const_iterator tok_iterator_t;
0027 
0028   std::vector<edm::InputTag> inputTags_;
0029   std::vector<edm::EDGetTokenT<FEDRawDataCollection> > inputTokens_;
0030   int verbose_;
0031 };
0032 
0033 #endif