test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelDigiToRaw.h
Go to the documentation of this file.
1 #ifndef SiPixelDigiToRaw_H
2 #define SiPixelDigiToRaw_H
3 
17 
20 class TH1D;
21 class R2DTimerObserver;
22 
23 class SiPixelDigiToRaw final : public edm::EDProducer {
24 public:
25 
27  explicit SiPixelDigiToRaw( const edm::ParameterSet& );
28 
30  virtual ~SiPixelDigiToRaw();
31 
32 
34  virtual void endJob() {}
35 
37  virtual void produce( edm::Event&, const edm::EventSetup& ) override;
38 
39 private:
40 
41  std::unique_ptr<SiPixelFedCablingTree> cablingTree_;
44  TH1D *hCPU, *hDigi;
46  unsigned long eventCounter;
47  edm::InputTag label; //label of input digi data
50  std::vector<unsigned int> fedIds;
52  bool debug;
54 };
55 #endif
SiPixelDigiToRaw(const edm::ParameterSet &)
ctor
virtual void produce(edm::Event &, const edm::EventSetup &) override
get data, convert to raw event, attach again to Event
unsigned long eventCounter
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > tPixelDigi
std::unique_ptr< SiPixelFedCablingTree > cablingTree_
std::vector< unsigned int > fedIds
virtual ~SiPixelDigiToRaw()
dtor
virtual void endJob()
dummy end of job
R2DTimerObserver * theTimer
edm::ESWatcher< SiPixelFedCablingMapRcd > recordWatcher
edm::ParameterSet config_
SiPixelFrameReverter * frameReverter_
edm::InputTag label