CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
SiPixelRawToDigi Class Reference

#include <SiPixelRawToDigi.h>

Inheritance diagram for SiPixelRawToDigi:
edm::stream::EDProducer<>

Public Member Functions

void produce (edm::Event &, const edm::EventSetup &) override
 get data, convert to digis attach againe to Event More...
 
 SiPixelRawToDigi (const edm::ParameterSet &)
 ctor More...
 
 ~SiPixelRawToDigi () override
 dtor More...
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Attributes

const SiPixelQualitybadPixelInfo_
 
std::unique_ptr< SiPixelFedCablingTreecabling_
 
std::string cablingMapLabel
 
edm::ParameterSet config_
 
bool debug
 
std::vector< unsigned int > fedIds
 
TH1D * hCPU
 
TH1D * hDigi
 
bool includeErrors
 
edm::InputTag label
 
int ndigis
 
int nwords
 
edm::ESWatcher< SiPixelQualityRcdqualityWatcher
 
edm::ESWatcher< SiPixelFedCablingMapRcdrecordWatcher
 
PixelUnpackingRegionsregions_
 
edm::EDGetTokenT< FEDRawDataCollectiontFEDRawDataCollection
 
std::unique_ptr< edm::CPUTimertheTimer
 
std::vector< int > tkerrorlist
 
bool usePhase1
 
bool usePilotBlade
 
bool useQuality
 
std::vector< int > usererrorlist
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 

Detailed Description

Definition at line 26 of file SiPixelRawToDigi.h.

Constructor & Destructor Documentation

◆ SiPixelRawToDigi()

SiPixelRawToDigi::SiPixelRawToDigi ( const edm::ParameterSet conf)
explicit

ctor

Definition at line 45 of file SiPixelRawToDigi.cc.

46  : config_(conf), badPixelInfo_(nullptr), regions_(nullptr), hCPU(nullptr), hDigi(nullptr) {
47  includeErrors = config_.getParameter<bool>("IncludeErrors");
48  useQuality = config_.getParameter<bool>("UseQualityInfo");
49 
50  tkerrorlist = config_.getParameter<std::vector<int>>("ErrorList");
51  usererrorlist = config_.getParameter<std::vector<int>>("UserErrorList");
52 
53  tFEDRawDataCollection = consumes<FEDRawDataCollection>(config_.getParameter<edm::InputTag>("InputLabel"));
54 
55  //start counters
56  ndigis = 0;
57  nwords = 0;
58 
59  // Products
60  produces<edm::DetSetVector<PixelDigi>>();
61  if (includeErrors) {
62  produces<edm::DetSetVector<SiPixelRawDataError>>();
63  produces<DetIdCollection>();
64  produces<DetIdCollection>("UserErrorModules");
65  produces<edmNew::DetSetVector<PixelFEDChannel>>();
66  }
67 
68  // regions
69  if (!config_.getParameter<edm::ParameterSet>("Regions").getParameterNames().empty()) {
70  regions_ = new PixelUnpackingRegions(config_, consumesCollector());
71  }
72 
73  // Timing
74  bool timing = config_.getUntrackedParameter<bool>("Timing", false);
75  if (timing) {
76  theTimer.reset(new edm::CPUTimer);
77  hCPU = new TH1D("hCPU", "hCPU", 100, 0., 0.050);
78  hDigi = new TH1D("hDigi", "hDigi", 50, 0., 15000.);
79  }
80 
81  // Control the usage of pilot-blade data, FED=40
82  usePilotBlade = config_.getParameter<bool>("UsePilotBlade");
83  if (usePilotBlade)
84  edm::LogInfo("SiPixelRawToDigi") << " Use pilot blade data (FED 40)";
85 
86  // Control the usage of phase1
87  usePhase1 = config_.getParameter<bool>("UsePhase1");
88  if (usePhase1)
89  edm::LogInfo("SiPixelRawToDigi") << " Using phase1";
90 
91  //CablingMap could have a label //Tav
92  cablingMapLabel = config_.getParameter<std::string>("CablingMapLabel");
93 }

References cablingMapLabel, config_, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), edm::ParameterSet::getUntrackedParameter(), hCPU, hDigi, includeErrors, ndigis, nwords, regions_, AlCaHLTBitMon_QueryRunRegistry::string, tFEDRawDataCollection, theTimer, ecalMatacq_cfi::timing, tkerrorlist, usePhase1, usePilotBlade, useQuality, and usererrorlist.

◆ ~SiPixelRawToDigi()

SiPixelRawToDigi::~SiPixelRawToDigi ( )
override

dtor

Definition at line 96 of file SiPixelRawToDigi.cc.

96  {
97  edm::LogInfo("SiPixelRawToDigi") << " HERE ** SiPixelRawToDigi destructor!";
98 
99  if (regions_)
100  delete regions_;
101 
102  if (theTimer) {
103  TFile rootFile("analysis.root", "RECREATE", "my histograms");
104  hCPU->Write();
105  hDigi->Write();
106  }
107 }

References hCPU, hDigi, regions_, indexGen::rootFile, and theTimer.

Member Function Documentation

◆ fillDescriptions()

void SiPixelRawToDigi::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 109 of file SiPixelRawToDigi.cc.

109  {
111  desc.add<bool>("IncludeErrors", true);
112  desc.add<bool>("UseQualityInfo", false);
113  {
114  std::vector<int> temp1;
115  temp1.reserve(1);
116  temp1.push_back(29);
117  desc.add<std::vector<int>>("ErrorList", temp1)
118  ->setComment("## ErrorList: list of error codes used by tracking to invalidate modules");
119  }
120  {
121  std::vector<int> temp1;
122  temp1.reserve(1);
123  temp1.push_back(40);
124  desc.add<std::vector<int>>("UserErrorList", temp1)
125  ->setComment("## UserErrorList: list of error codes used by Pixel experts for investigation");
126  }
127  desc.add<edm::InputTag>("InputLabel", edm::InputTag("siPixelRawData"));
128  {
130  psd0.addOptional<std::vector<edm::InputTag>>("inputs");
131  psd0.addOptional<std::vector<double>>("deltaPhi");
132  psd0.addOptional<std::vector<double>>("maxZ");
133  psd0.addOptional<edm::InputTag>("beamSpot");
134  desc.add<edm::ParameterSetDescription>("Regions", psd0)
135  ->setComment("## Empty Regions PSet means complete unpacking");
136  }
137  desc.addUntracked<bool>("Timing", false);
138  desc.add<bool>("UsePilotBlade", false)->setComment("## Use pilot blades");
139  desc.add<bool>("UsePhase1", false)->setComment("## Use phase1");
140  desc.add<std::string>("CablingMapLabel", "")->setComment("CablingMap label"); //Tav
141  desc.addOptional<bool>("CheckPixelOrder"); // never used, kept for back-compatibility
142  descriptions.add("siPixelRawToDigi", desc);
143 }

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), edm::ParameterSetDescription::addUntracked(), HLT_2018_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ produce()

void SiPixelRawToDigi::produce ( edm::Event ev,
const edm::EventSetup es 
)
override

get data, convert to digis attach againe to Event

Definition at line 148 of file SiPixelRawToDigi.cc.

148  {
149  const uint32_t dummydetid = 0xffffffff;
151 
152  // initialize cabling map or update if necessary
153  if (recordWatcher.check(es)) {
154  // cabling map, which maps online address (fed->link->ROC->local pixel) to offline (DetId->global pixel)
156  es.get<SiPixelFedCablingMapRcd>().get(cablingMapLabel, cablingMap); //Tav
157  fedIds = cablingMap->fedIds();
158  cabling_ = cablingMap->cablingTree();
159  LogDebug("map version:") << cabling_->version();
160  }
161  // initialize quality record or update if necessary
162  if (qualityWatcher.check(es) && useQuality) {
163  // quality info for dead pixel modules or ROCs
164  edm::ESHandle<SiPixelQuality> qualityInfo;
165  es.get<SiPixelQualityRcd>().get(qualityInfo);
166  badPixelInfo_ = qualityInfo.product();
167  if (!badPixelInfo_) {
168  edm::LogError("SiPixelQualityNotPresent")
169  << " Configured to use SiPixelQuality, but SiPixelQuality not present" << endl;
170  }
171  }
172 
174  ev.getByToken(tFEDRawDataCollection, buffers);
175 
176  // create product (digis & errors)
177  auto collection = std::make_unique<edm::DetSetVector<PixelDigi>>();
178  // collection->reserve(8*1024);
179  auto errorcollection = std::make_unique<edm::DetSetVector<SiPixelRawDataError>>();
180  auto tkerror_detidcollection = std::make_unique<DetIdCollection>();
181  auto usererror_detidcollection = std::make_unique<DetIdCollection>();
182  auto disabled_channelcollection = std::make_unique<edmNew::DetSetVector<PixelFEDChannel>>();
183 
184  PixelDataFormatter formatter(cabling_.get(), usePhase1); // for phase 1 & 0
185 
186  formatter.setErrorStatus(includeErrors);
187 
188  if (useQuality)
189  formatter.setQualityStatus(useQuality, badPixelInfo_);
190 
191  if (theTimer)
192  theTimer->start();
193  bool errorsInEvent = false;
194  PixelDataFormatter::DetErrors nodeterrors;
195 
196  if (regions_) {
197  regions_->run(ev, es);
198  formatter.setModulesToUnpack(regions_->modulesToUnpack());
199  LogDebug("SiPixelRawToDigi") << "region2unpack #feds: " << regions_->nFEDs();
200  LogDebug("SiPixelRawToDigi") << "region2unpack #modules (BPIX,EPIX,total): " << regions_->nBarrelModules() << " "
201  << regions_->nForwardModules() << " " << regions_->nModules();
202  }
203 
204  for (auto aFed = fedIds.begin(); aFed != fedIds.end(); ++aFed) {
205  int fedId = *aFed;
206 
207  if (!usePilotBlade && (fedId == 40))
208  continue; // skip pilot blade data
209 
211  continue;
212 
213  if (debug)
214  LogDebug("SiPixelRawToDigi") << " PRODUCE DIGI FOR FED: " << fedId << endl;
215 
217 
218  //get event data for this fed
219  const FEDRawData& fedRawData = buffers->FEDData(fedId);
220 
221  //convert data to digi and strip off errors
222  formatter.interpretRawData(errorsInEvent, fedId, fedRawData, *collection, errors);
223 
224  //pack errors into collection
225  if (includeErrors) {
226  typedef PixelDataFormatter::Errors::iterator IE;
227  for (IE is = errors.begin(); is != errors.end(); is++) {
228  uint32_t errordetid = is->first;
229  if (errordetid == dummydetid) { // errors given dummy detId must be sorted by Fed
230  nodeterrors.insert(nodeterrors.end(), errors[errordetid].begin(), errors[errordetid].end());
231  } else {
232  edm::DetSet<SiPixelRawDataError>& errorDetSet = errorcollection->find_or_insert(errordetid);
233  errorDetSet.data.insert(errorDetSet.data.end(), is->second.begin(), is->second.end());
234  // Fill detid of the detectors where there is error AND the error number is listed
235  // in the configurable error list in the job option cfi.
236  // Code needs to be here, because there can be a set of errors for each
237  // entry in the for loop over PixelDataFormatter::Errors
238 
239  std::vector<PixelFEDChannel> disabledChannelsDetSet;
240 
241  for (auto const& aPixelError : errorDetSet) {
242  // For the time being, we extend the error handling functionality with ErrorType 25
243  // In the future, we should sort out how the usage of tkerrorlist can be generalized
244  if (usePhase1 && aPixelError.getType() == 25) {
245  assert(aPixelError.getFedId() == fedId);
247  if (fed) {
248  cms_uint32_t linkId = formatter.linkId(aPixelError.getWord32());
249  const sipixelobjects::PixelFEDLink* link = fed->link(linkId);
250  if (link) {
251  // The "offline" 0..15 numbering is fixed by definition, also, the FrameConversion depends on it
252  // in contrast, the ROC-in-channel numbering is determined by hardware --> better to use the "offline" scheme
253  PixelFEDChannel ch = {fed->id(), linkId, 25, 0};
254  for (unsigned int iRoc = 1; iRoc <= link->numberOfROCs(); iRoc++) {
255  const sipixelobjects::PixelROC* roc = link->roc(iRoc);
256  if (roc->idInDetUnit() < ch.roc_first)
257  ch.roc_first = roc->idInDetUnit();
258  if (roc->idInDetUnit() > ch.roc_last)
259  ch.roc_last = roc->idInDetUnit();
260  }
261  disabledChannelsDetSet.push_back(ch);
262  }
263  }
264  } else {
265  // fill list of detIds to be turned off by tracking
266  if (!tkerrorlist.empty()) {
267  std::vector<int>::iterator it_find =
268  find(tkerrorlist.begin(), tkerrorlist.end(), aPixelError.getType());
269  if (it_find != tkerrorlist.end()) {
270  tkerror_detidcollection->push_back(errordetid);
271  }
272  }
273  }
274 
275  // fill list of detIds with errors to be studied
276  if (!usererrorlist.empty()) {
277  std::vector<int>::iterator it_find =
278  find(usererrorlist.begin(), usererrorlist.end(), aPixelError.getType());
279  if (it_find != usererrorlist.end()) {
280  usererror_detidcollection->push_back(errordetid);
281  }
282  }
283 
284  } // loop on DetSet of errors
285 
286  if (!disabledChannelsDetSet.empty()) {
287  disabled_channelcollection->insert(
288  errordetid, disabledChannelsDetSet.data(), disabledChannelsDetSet.size());
289  }
290  } // if error assigned to a real DetId
291  } // loop on errors in event for this FED
292  } // if errors to be included in the event
293  } // loop on FED data to be unpacked
294 
295  if (includeErrors) {
296  edm::DetSet<SiPixelRawDataError>& errorDetSet = errorcollection->find_or_insert(dummydetid);
297  errorDetSet.data = nodeterrors;
298  }
299  if (errorsInEvent)
300  LogDebug("SiPixelRawToDigi") << "Error words were stored in this event";
301 
302  if (theTimer) {
303  theTimer->stop();
304  LogDebug("SiPixelRawToDigi") << "TIMING IS: (real)" << theTimer->realTime();
305  ndigis += formatter.nDigis();
306  nwords += formatter.nWords();
307  LogDebug("SiPixelRawToDigi") << " (Words/Digis) this ev: " << formatter.nWords() << "/" << formatter.nDigis()
308  << "--- all :" << nwords << "/" << ndigis;
309  hCPU->Fill(theTimer->realTime());
310  hDigi->Fill(formatter.nDigis());
311  }
312 
313  ev.put(std::move(collection));
314  if (includeErrors) {
315  ev.put(std::move(errorcollection));
316  ev.put(std::move(tkerror_detidcollection));
317  ev.put(std::move(usererror_detidcollection), "UserErrorModules");
318  ev.put(std::move(disabled_channelcollection));
319  }
320 }

References cms::cuda::assert(), badPixelInfo_, cabling_, cablingMapLabel, SiPixelFedCablingMap::cablingTree(), edm::ESWatcher< T >::check(), universalConfigTemplate::collection, edm::DetSet< T >::data, debug, edm::MessageDrop::debugEnabled, MessageLogger_cfi::errors, ev, FEDRawDataCollection::FEDData(), l1tstage2_dqm_sourceclient-live_cfg::fedId, SiPixelFedCablingMap::fedIds(), fedIds, l1t_dqm_sourceclient-live_cfg::fedRawData, spr::find(), edm::EventSetup::get(), get, hCPU, hDigi, includeErrors, edm::MessageDrop::instance(), MainPageGenerator::link, LogDebug, PixelUnpackingRegions::mayUnpackFED(), PixelUnpackingRegions::modulesToUnpack(), eostools::move(), PixelUnpackingRegions::nBarrelModules(), ndigis, PixelUnpackingRegions::nFEDs(), PixelUnpackingRegions::nForwardModules(), PixelUnpackingRegions::nModules(), nwords, edm::ESHandle< T >::product(), qualityWatcher, recordWatcher, regions_, PixelMapPlotter::roc, PixelFEDChannel::roc_first, PixelFEDChannel::roc_last, PixelUnpackingRegions::run(), PixelDataFormatter::setErrorStatus(), tFEDRawDataCollection, theTimer, tkerrorlist, usePhase1, usePilotBlade, useQuality, and usererrorlist.

Member Data Documentation

◆ badPixelInfo_

const SiPixelQuality* SiPixelRawToDigi::badPixelInfo_
private

Definition at line 42 of file SiPixelRawToDigi.h.

Referenced by produce().

◆ cabling_

std::unique_ptr<SiPixelFedCablingTree> SiPixelRawToDigi::cabling_
private

Definition at line 41 of file SiPixelRawToDigi.h.

Referenced by produce().

◆ cablingMapLabel

std::string SiPixelRawToDigi::cablingMapLabel
private

Definition at line 61 of file SiPixelRawToDigi.h.

Referenced by produce(), and SiPixelRawToDigi().

◆ config_

edm::ParameterSet SiPixelRawToDigi::config_
private

Definition at line 40 of file SiPixelRawToDigi.h.

Referenced by SiPixelRawToDigi().

◆ debug

bool SiPixelRawToDigi::debug
private

◆ fedIds

std::vector<unsigned int> SiPixelRawToDigi::fedIds
private

Definition at line 52 of file SiPixelRawToDigi.h.

Referenced by produce().

◆ hCPU

TH1D* SiPixelRawToDigi::hCPU
private

Definition at line 45 of file SiPixelRawToDigi.h.

Referenced by produce(), SiPixelRawToDigi(), and ~SiPixelRawToDigi().

◆ hDigi

TH1D * SiPixelRawToDigi::hDigi
private

Definition at line 45 of file SiPixelRawToDigi.h.

Referenced by produce(), SiPixelRawToDigi(), and ~SiPixelRawToDigi().

◆ includeErrors

bool SiPixelRawToDigi::includeErrors
private

Definition at line 47 of file SiPixelRawToDigi.h.

Referenced by produce(), and SiPixelRawToDigi().

◆ label

edm::InputTag SiPixelRawToDigi::label
private

◆ ndigis

int SiPixelRawToDigi::ndigis
private

Definition at line 57 of file SiPixelRawToDigi.h.

Referenced by produce(), and SiPixelRawToDigi().

◆ nwords

int SiPixelRawToDigi::nwords
private

Definition at line 58 of file SiPixelRawToDigi.h.

Referenced by produce(), and SiPixelRawToDigi().

◆ qualityWatcher

edm::ESWatcher<SiPixelQualityRcd> SiPixelRawToDigi::qualityWatcher
private

Definition at line 54 of file SiPixelRawToDigi.h.

Referenced by produce().

◆ recordWatcher

edm::ESWatcher<SiPixelFedCablingMapRcd> SiPixelRawToDigi::recordWatcher
private

Definition at line 53 of file SiPixelRawToDigi.h.

Referenced by produce().

◆ regions_

PixelUnpackingRegions* SiPixelRawToDigi::regions_
private

Definition at line 43 of file SiPixelRawToDigi.h.

Referenced by produce(), SiPixelRawToDigi(), and ~SiPixelRawToDigi().

◆ tFEDRawDataCollection

edm::EDGetTokenT<FEDRawDataCollection> SiPixelRawToDigi::tFEDRawDataCollection
private

Definition at line 44 of file SiPixelRawToDigi.h.

Referenced by produce(), and SiPixelRawToDigi().

◆ theTimer

std::unique_ptr<edm::CPUTimer> SiPixelRawToDigi::theTimer
private

Definition at line 46 of file SiPixelRawToDigi.h.

Referenced by produce(), SiPixelRawToDigi(), and ~SiPixelRawToDigi().

◆ tkerrorlist

std::vector<int> SiPixelRawToDigi::tkerrorlist
private

Definition at line 50 of file SiPixelRawToDigi.h.

Referenced by produce(), and SiPixelRawToDigi().

◆ usePhase1

bool SiPixelRawToDigi::usePhase1
private

Definition at line 60 of file SiPixelRawToDigi.h.

Referenced by produce(), and SiPixelRawToDigi().

◆ usePilotBlade

bool SiPixelRawToDigi::usePilotBlade
private

Definition at line 59 of file SiPixelRawToDigi.h.

Referenced by produce(), and SiPixelRawToDigi().

◆ useQuality

bool SiPixelRawToDigi::useQuality
private

Definition at line 48 of file SiPixelRawToDigi.h.

Referenced by produce(), and SiPixelRawToDigi().

◆ usererrorlist

std::vector<int> SiPixelRawToDigi::usererrorlist
private

Definition at line 51 of file SiPixelRawToDigi.h.

Referenced by produce(), and SiPixelRawToDigi().

edm::ESWatcher::check
bool check(const edm::EventSetup &iSetup)
Definition: ESWatcher.h:52
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
cms_uint32_t
unsigned int cms_uint32_t
Definition: typedefs.h:15
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
SiPixelRawToDigi::regions_
PixelUnpackingRegions * regions_
Definition: SiPixelRawToDigi.h:43
PixelFEDChannel
Definition: PixelFEDChannel.h:6
SiPixelQualityRcd
Definition: SiPixelQualityRcd.h:13
MainPageGenerator.link
link
Definition: MainPageGenerator.py:271
edm::DetSet
Definition: DetSet.h:23
PixelUnpackingRegions::nModules
unsigned int nModules() const
Definition: PixelUnpackingRegions.h:64
PixelUnpackingRegions::nFEDs
unsigned int nFEDs() const
various informational accessors:
Definition: PixelUnpackingRegions.h:63
edm::MessageDrop::debugEnabled
bool debugEnabled
Definition: MessageDrop.h:103
edm::CPUTimer
Definition: CPUTimer.h:37
edm::LogInfo
Definition: MessageLogger.h:254
sipixelobjects::PixelFEDCabling
Definition: PixelFEDCabling.h:16
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
PixelUnpackingRegions::mayUnpackFED
bool mayUnpackFED(unsigned int fed_n) const
check whether a FED has to be unpacked
Definition: PixelUnpackingRegions.cc:206
MessageLogger_cfi.errors
errors
Definition: MessageLogger_cfi.py:18
cms::cuda::assert
assert(be >=bs)
SiPixelRawToDigi::hDigi
TH1D * hDigi
Definition: SiPixelRawToDigi.h:45
SiPixelRawToDigi::badPixelInfo_
const SiPixelQuality * badPixelInfo_
Definition: SiPixelRawToDigi.h:42
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
edm::Handle
Definition: AssociativeIterator.h:50
edm::ParameterSetDescription::addOptional
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:105
SiPixelRawToDigi::usererrorlist
std::vector< int > usererrorlist
Definition: SiPixelRawToDigi.h:51
SiPixelRawToDigi::cabling_
std::unique_ptr< SiPixelFedCablingTree > cabling_
Definition: SiPixelRawToDigi.h:41
FEDRawData
Definition: FEDRawData.h:19
PixelDataFormatter
Definition: PixelDataFormatter.h:57
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
l1t_dqm_sourceclient-live_cfg.fedRawData
fedRawData
Definition: l1t_dqm_sourceclient-live_cfg.py:188
errors
Definition: errors.py:1
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
SiPixelRawToDigi::usePhase1
bool usePhase1
Definition: SiPixelRawToDigi.h:60
SiPixelRawToDigi::hCPU
TH1D * hCPU
Definition: SiPixelRawToDigi.h:45
SiPixelRawToDigi::usePilotBlade
bool usePilotBlade
Definition: SiPixelRawToDigi.h:59
indexGen.rootFile
rootFile
Definition: indexGen.py:92
edm::ESHandle< SiPixelQuality >
SiPixelRawToDigi::tFEDRawDataCollection
edm::EDGetTokenT< FEDRawDataCollection > tFEDRawDataCollection
Definition: SiPixelRawToDigi.h:44
FEDRawDataCollection::FEDData
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
Definition: FEDRawDataCollection.cc:19
SiPixelRawToDigi::fedIds
std::vector< unsigned int > fedIds
Definition: SiPixelRawToDigi.h:52
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelFedCablingMap::cablingTree
std::unique_ptr< SiPixelFedCablingTree > cablingTree() const
Definition: SiPixelFedCablingMap.cc:103
SiPixelRawToDigi::tkerrorlist
std::vector< int > tkerrorlist
Definition: SiPixelRawToDigi.h:50
SiPixelRawToDigi::useQuality
bool useQuality
Definition: SiPixelRawToDigi.h:48
SiPixelRawToDigi::includeErrors
bool includeErrors
Definition: SiPixelRawToDigi.h:47
edm::ParameterSetDescription::addUntracked
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:100
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:670
edm::ParameterSet
Definition: ParameterSet.h:36
edm::LogError
Definition: MessageLogger.h:183
PixelDataFormatter::DetErrors
std::vector< SiPixelRawDataError > DetErrors
Definition: PixelDataFormatter.h:65
edm::ParameterSet::getParameterNames
std::vector< std::string > getParameterNames() const
Definition: ParameterSet.cc:656
SiPixelRawToDigi::debug
bool debug
Definition: SiPixelRawToDigi.h:49
universalConfigTemplate.collection
collection
Definition: universalConfigTemplate.py:81
SiPixelRawToDigi::nwords
int nwords
Definition: SiPixelRawToDigi.h:58
l1tstage2_dqm_sourceclient-live_cfg.fedId
fedId
Definition: l1tstage2_dqm_sourceclient-live_cfg.py:88
get
#define get
PixelUnpackingRegions::modulesToUnpack
const std::set< unsigned int > * modulesToUnpack() const
full set of module ids to unpack
Definition: PixelUnpackingRegions.h:60
edm::ESTransientHandle
Definition: ESTransientHandle.h:41
SiPixelRawToDigi::recordWatcher
edm::ESWatcher< SiPixelFedCablingMapRcd > recordWatcher
Definition: SiPixelRawToDigi.h:53
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
SiPixelRawToDigi::config_
edm::ParameterSet config_
Definition: SiPixelRawToDigi.h:40
sipixelobjects::PixelROC
Definition: PixelROC.h:23
ecalMatacq_cfi.timing
timing
Definition: ecalMatacq_cfi.py:26
eostools.move
def move(src, dest)
Definition: eostools.py:511
SiPixelRawToDigi::qualityWatcher
edm::ESWatcher< SiPixelQualityRcd > qualityWatcher
Definition: SiPixelRawToDigi.h:54
PixelUnpackingRegions
Definition: PixelUnpackingRegions.h:29
PixelFEDChannel::roc_last
unsigned int roc_last
Definition: PixelFEDChannel.h:7
PixelDataFormatter::setErrorStatus
void setErrorStatus(bool ErrorStatus)
Definition: PixelDataFormatter.cc:111
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
edm::MessageDrop::instance
static MessageDrop * instance()
Definition: MessageDrop.cc:60
SiPixelRawToDigi::theTimer
std::unique_ptr< edm::CPUTimer > theTimer
Definition: SiPixelRawToDigi.h:46
PixelMapPlotter.roc
roc
Definition: PixelMapPlotter.py:498
edm::DetSet::data
collection_type data
Definition: DetSet.h:80
PixelUnpackingRegions::nForwardModules
unsigned int nForwardModules() const
Definition: PixelUnpackingRegions.cc:222
SiPixelRawToDigi::cablingMapLabel
std::string cablingMapLabel
Definition: SiPixelRawToDigi.h:61
SiPixelFedCablingMapRcd
Definition: SiPixelFedCablingMapRcd.h:5
edm::InputTag
Definition: InputTag.h:15
PixelUnpackingRegions::run
void run(const edm::Event &e, const edm::EventSetup &es)
has to be run during each event
Definition: PixelUnpackingRegions.cc:48
PixelFEDChannel::roc_first
unsigned int roc_first
Definition: PixelFEDChannel.h:7
SiPixelRawToDigi::ndigis
int ndigis
Definition: SiPixelRawToDigi.h:57
PixelDataFormatter::Errors
std::map< cms_uint32_t, DetErrors > Errors
Definition: PixelDataFormatter.h:66
SiPixelFedCablingMap::fedIds
std::vector< unsigned int > fedIds() const
Definition: SiPixelFedCablingMap.cc:114
PixelUnpackingRegions::nBarrelModules
unsigned int nBarrelModules() const
Definition: PixelUnpackingRegions.cc:218