CMS 3D CMS Logo

SiPixelRawToDigi.h
Go to the documentation of this file.
1 #ifndef SiPixelRawToDigi_H
2 #define SiPixelRawToDigi_H
3 
22 
24 class SiPixelFedCabling;
25 class SiPixelQuality;
26 class TH1D;
28 
30 public:
32  explicit SiPixelRawToDigi(const edm::ParameterSet&);
33 
35  ~SiPixelRawToDigi() override;
36 
37  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
38 
40  void produce(edm::Event&, const edm::EventSetup&) override;
41 
42 private:
44  std::unique_ptr<SiPixelFedCablingTree> cabling_;
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;
61  int ndigis;
62  int nwords;
64  bool usePhase1;
66 };
67 #endif
SiPixelRawToDigi::SiPixelRawToDigi
SiPixelRawToDigi(const edm::ParameterSet &)
ctor
Definition: SiPixelRawToDigi.cc:44
SiPixelRawToDigi::regions_
PixelUnpackingRegions * regions_
Definition: SiPixelRawToDigi.h:46
edm::ESWatcher< SiPixelFedCablingMapRcd >
SiPixelRawToDigi::produce
void produce(edm::Event &, const edm::EventSetup &) override
get data, convert to digis attach againe to Event
Definition: SiPixelRawToDigi.cc:151
edm::EDGetTokenT< FEDRawDataCollection >
SiPixelRawToDigi::hDigi
TH1D * hDigi
Definition: SiPixelRawToDigi.h:48
SiPixelRawToDigi::label
edm::InputTag label
Definition: SiPixelRawToDigi.h:58
EDProducer.h
SiPixelFedCablingMap.h
SiPixelRawToDigi::badPixelInfo_
const SiPixelQuality * badPixelInfo_
Definition: SiPixelRawToDigi.h:45
SiPixelFedCabling
Definition: SiPixelFedCabling.h:10
SiPixelRawToDigi::usererrorlist
std::vector< int > usererrorlist
Definition: SiPixelRawToDigi.h:54
ESGetToken.h
SiPixelRawToDigi::cabling_
std::unique_ptr< SiPixelFedCablingTree > cabling_
Definition: SiPixelRawToDigi.h:44
SiPixelRawToDigi::tSiPixelQuality
edm::ESGetToken< SiPixelQuality, SiPixelQualityRcd > tSiPixelQuality
Definition: SiPixelRawToDigi.h:59
SiPixelRawToDigi::usePhase1
bool usePhase1
Definition: SiPixelRawToDigi.h:64
SiPixelQualityRcd.h
SiPixelRawToDigi::hCPU
TH1D * hCPU
Definition: SiPixelRawToDigi.h:48
SiPixelRawToDigi::usePilotBlade
bool usePilotBlade
Definition: SiPixelRawToDigi.h:63
SiPixelRawToDigi::tFEDRawDataCollection
edm::EDGetTokenT< FEDRawDataCollection > tFEDRawDataCollection
Definition: SiPixelRawToDigi.h:47
SiPixelRawToDigi::fedIds
std::vector< unsigned int > fedIds
Definition: SiPixelRawToDigi.h:55
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelRawToDigi::tkerrorlist
std::vector< int > tkerrorlist
Definition: SiPixelRawToDigi.h:53
SiPixelRawToDigi::useQuality
bool useQuality
Definition: SiPixelRawToDigi.h:51
SiPixelRawToDigi::~SiPixelRawToDigi
~SiPixelRawToDigi() override
dtor
Definition: SiPixelRawToDigi.cc:99
SiPixelRawToDigi::includeErrors
bool includeErrors
Definition: SiPixelRawToDigi.h:50
edm::ParameterSet
Definition: ParameterSet.h:47
SiPixelQuality
Definition: SiPixelQuality.h:27
Event.h
SiPixelFedCablingMapRcd.h
SiPixelRawToDigi::debug
bool debug
Definition: SiPixelRawToDigi.h:52
SiPixelRawToDigi
Definition: SiPixelRawToDigi.h:29
FEDRawDataCollection.h
SiPixelRawToDigi::tCablingMap
edm::ESGetToken< SiPixelFedCablingMap, SiPixelFedCablingMapRcd > tCablingMap
Definition: SiPixelRawToDigi.h:60
edm::stream::EDProducer
Definition: EDProducer.h:38
SiPixelRawToDigi::nwords
int nwords
Definition: SiPixelRawToDigi.h:62
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< SiPixelQuality, SiPixelQualityRcd >
SiPixelRawToDigi::recordWatcher
edm::ESWatcher< SiPixelFedCablingMapRcd > recordWatcher
Definition: SiPixelRawToDigi.h:56
SiPixelRawToDigi::config_
edm::ParameterSet config_
Definition: SiPixelRawToDigi.h:43
SiPixelRawToDigi::qualityWatcher
edm::ESWatcher< SiPixelQualityRcd > qualityWatcher
Definition: SiPixelRawToDigi.h:57
PixelUnpackingRegions
Definition: PixelUnpackingRegions.h:32
ESWatcher.h
SiPixelRawToDigi::theTimer
std::unique_ptr< edm::CPUTimer > theTimer
Definition: SiPixelRawToDigi.h:49
EventSetup.h
SiPixelQuality.h
ConsumesCollector.h
CPUTimer.h
ParameterSet.h
SiPixelRawToDigi::cablingMapLabel
std::string cablingMapLabel
Definition: SiPixelRawToDigi.h:65
edm::Event
Definition: Event.h:73
SiPixelFedCablingTree
Definition: SiPixelFedCablingTree.h:13
edm::InputTag
Definition: InputTag.h:15
SiPixelRawToDigi::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: SiPixelRawToDigi.cc:112
SiPixelRawToDigi::ndigis
int ndigis
Definition: SiPixelRawToDigi.h:61