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:
29  explicit SiPixelRawToDigi(const edm::ParameterSet&);
30 
32  ~SiPixelRawToDigi() override;
33 
34  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
35 
37  void produce(edm::Event&, const edm::EventSetup&) override;
38 
39 private:
41  std::unique_ptr<SiPixelFedCablingTree> cabling_;
45  TH1D *hCPU, *hDigi;
46  std::unique_ptr<edm::CPUTimer> theTimer;
48  bool useQuality;
49  bool debug;
50  std::vector<int> tkerrorlist;
51  std::vector<int> usererrorlist;
52  std::vector<unsigned int> fedIds;
56 
57  int ndigis;
58  int nwords;
60  bool usePhase1;
62 };
63 #endif
SiPixelRawToDigi::SiPixelRawToDigi
SiPixelRawToDigi(const edm::ParameterSet &)
ctor
Definition: SiPixelRawToDigi.cc:45
SiPixelRawToDigi::regions_
PixelUnpackingRegions * regions_
Definition: SiPixelRawToDigi.h:43
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:148
edm::EDGetTokenT< FEDRawDataCollection >
SiPixelRawToDigi::hDigi
TH1D * hDigi
Definition: SiPixelRawToDigi.h:45
SiPixelRawToDigi::label
edm::InputTag label
Definition: SiPixelRawToDigi.h:55
EDProducer.h
SiPixelRawToDigi::badPixelInfo_
const SiPixelQuality * badPixelInfo_
Definition: SiPixelRawToDigi.h:42
SiPixelFedCabling
Definition: SiPixelFedCabling.h:10
SiPixelRawToDigi::usererrorlist
std::vector< int > usererrorlist
Definition: SiPixelRawToDigi.h:51
SiPixelRawToDigi::cabling_
std::unique_ptr< SiPixelFedCablingTree > cabling_
Definition: SiPixelRawToDigi.h:41
SiPixelRawToDigi::usePhase1
bool usePhase1
Definition: SiPixelRawToDigi.h:60
SiPixelQualityRcd.h
SiPixelRawToDigi::hCPU
TH1D * hCPU
Definition: SiPixelRawToDigi.h:45
SiPixelRawToDigi::usePilotBlade
bool usePilotBlade
Definition: SiPixelRawToDigi.h:59
SiPixelRawToDigi::tFEDRawDataCollection
edm::EDGetTokenT< FEDRawDataCollection > tFEDRawDataCollection
Definition: SiPixelRawToDigi.h:44
SiPixelRawToDigi::fedIds
std::vector< unsigned int > fedIds
Definition: SiPixelRawToDigi.h:52
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelRawToDigi::tkerrorlist
std::vector< int > tkerrorlist
Definition: SiPixelRawToDigi.h:50
SiPixelRawToDigi::useQuality
bool useQuality
Definition: SiPixelRawToDigi.h:48
SiPixelRawToDigi::~SiPixelRawToDigi
~SiPixelRawToDigi() override
dtor
Definition: SiPixelRawToDigi.cc:96
SiPixelRawToDigi::includeErrors
bool includeErrors
Definition: SiPixelRawToDigi.h:47
edm::ParameterSet
Definition: ParameterSet.h:36
SiPixelQuality
Definition: SiPixelQuality.h:27
Event.h
SiPixelFedCablingMapRcd.h
SiPixelRawToDigi::debug
bool debug
Definition: SiPixelRawToDigi.h:49
SiPixelRawToDigi
Definition: SiPixelRawToDigi.h:26
FEDRawDataCollection.h
edm::stream::EDProducer
Definition: EDProducer.h:38
SiPixelRawToDigi::nwords
int nwords
Definition: SiPixelRawToDigi.h:58
edm::EventSetup
Definition: EventSetup.h:57
SiPixelRawToDigi::recordWatcher
edm::ESWatcher< SiPixelFedCablingMapRcd > recordWatcher
Definition: SiPixelRawToDigi.h:53
SiPixelRawToDigi::config_
edm::ParameterSet config_
Definition: SiPixelRawToDigi.h:40
SiPixelRawToDigi::qualityWatcher
edm::ESWatcher< SiPixelQualityRcd > qualityWatcher
Definition: SiPixelRawToDigi.h:54
PixelUnpackingRegions
Definition: PixelUnpackingRegions.h:29
ESWatcher.h
SiPixelRawToDigi::theTimer
std::unique_ptr< edm::CPUTimer > theTimer
Definition: SiPixelRawToDigi.h:46
EventSetup.h
ConsumesCollector.h
CPUTimer.h
ParameterSet.h
SiPixelRawToDigi::cablingMapLabel
std::string cablingMapLabel
Definition: SiPixelRawToDigi.h:61
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:109
SiPixelRawToDigi::ndigis
int ndigis
Definition: SiPixelRawToDigi.h:57