CMS 3D CMS Logo

SiPixelRawToDigi.h
Go to the documentation of this file.
1 #ifndef SiPixelRawToDigi_H
2 #define SiPixelRawToDigi_H
3 
19 
21 class SiPixelFedCabling;
22 class SiPixelQuality;
23 class TH1D;
25 
27 public:
28 
30  explicit SiPixelRawToDigi( const edm::ParameterSet& );
31 
33  ~SiPixelRawToDigi() override;
34 
35  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
36 
38  void produce( edm::Event&, const edm::EventSetup& ) override;
39 
40 private:
41 
43  std::unique_ptr<SiPixelFedCablingTree> cabling_;
47 
48  TH1D *hCPU, *hDigi;
49  std::unique_ptr<edm::CPUTimer> theTimer;
51  bool useQuality;
52  bool debug;
53  std::vector<int> tkerrorlist;
54  std::vector<int> usererrorlist;
55  std::vector<unsigned int> fedIds;
59  int ndigis;
60  int nwords;
62  bool usePhase1;
64 };
65 #endif
std::unique_ptr< edm::CPUTimer > theTimer
std::vector< int > usererrorlist
std::string cablingMapLabel
edm::InputTag label
void produce(edm::Event &, const edm::EventSetup &) override
get data, convert to digis attach againe to Event
PixelUnpackingRegions * regions_
std::vector< unsigned int > fedIds
SiPixelRawToDigi(const edm::ParameterSet &)
ctor
std::unique_ptr< SiPixelFedCablingTree > cabling_
edm::EDGetTokenT< FEDRawDataCollection > tFEDRawDataCollection
~SiPixelRawToDigi() override
dtor
edm::ESWatcher< SiPixelFedCablingMapRcd > recordWatcher
std::vector< int > tkerrorlist
edm::ParameterSet config_
edm::ESWatcher< SiPixelQualityRcd > qualityWatcher
const SiPixelQuality * badPixelInfo_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)