CMS 3D CMS Logo

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

EDAnalyzer for the online monitoring of the FED using STT spy channel data. More...

Inheritance diagram for SiStripSpyDisplayModule:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 SiStripSpyDisplayModule (const edm::ParameterSet &)
 
 ~SiStripSpyDisplayModule () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void beginRun (const edm::Run &, const edm::EventSetup &) override
 
void endJob () override
 
Bool_t MakeDigiHist_ (const edm::Handle< edm::DetSetVector< SiStripDigi > > &digi_handle, uint32_t detID, const TFileDirectory &dir, FEDSpyHistogramType type)
 
Bool_t MakeProcessedRawDigiHist_ (const edm::Handle< edm::DetSetVector< SiStripProcessedRawDigi > > &digi_handle, uint32_t specifier, const TFileDirectory &dir, FEDSpyHistogramType type)
 
Bool_t MakeRawDigiHist_ (const edm::Handle< edm::DetSetVector< SiStripRawDigi > > &digi_handle, uint32_t specifier, const TFileDirectory &dir, FEDSpyHistogramType type)
 
void updateDetCabling (const SiStripDetCablingRcd &rcd)
 

Private Attributes

edm::ESWatcher< SiStripDetCablingRcdcablingWatcher_
 
const SiStripDetCablingdetCabling_
 
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcddetCablingToken_
 
std::vector< uint32_t > detIDs_
 Vector of detIDs that are of interest (config-specified). More...
 
edm::InputTag inputCompVirginRawDigiLabel_
 VR RawDigis to compare (from mainline) More...
 
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputCompVirginRawDigiToken_
 VR RawDigis to compare (from mainline) More...
 
edm::InputTag inputCompZeroSuppressedDigiLabel_
 Zero-suppressed digis to compare (from mainline) More...
 
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > inputCompZeroSuppressedDigiToken_
 Zero-suppressed digis to compare (from mainline) More...
 
edm::InputTag inputNoisesLabel_
 Label for the noises. More...
 
edm::EDGetTokenT< edm::DetSetVector< SiStripProcessedRawDigi > > inputNoisesToken_
 Token for the noises. More...
 
edm::InputTag inputPayloadRawDigiLabel_
 Label for the virgin raw RawDigi collection input tag. More...
 
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputPayloadRawDigiToken_
 Token for the virgin raw RawDigi collection input tag. More...
 
edm::InputTag inputPedestalsLabel_
 Label for the pedestals. More...
 
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputPedestalsToken_
 Token for the pedestals. More...
 
edm::InputTag inputPostCMRawDigiLabel_
 Label for the post-common mode subtraction RawDigi module input tag. More...
 
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputPostCMRawDigiToken_
 Token for the post-common mode subtraction RawDigi module input tag. More...
 
edm::InputTag inputPostPedestalRawDigiLabel_
 Label for the post-pedestal subtraction RawDigi module input tag. More...
 
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputPostPedestalRawDigiToken_
 Token for the post-pedestal subtraction RawDigi module input tag. More...
 
edm::InputTag inputReorderedModuleRawDigiLabel_
 Label for the re-ordered RawDigi module input tag. More...
 
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputReorderedModuleRawDigiToken_
 Token for the re-ordered RawDigi module input tag. More...
 
edm::InputTag inputReorderedPayloadRawDigiLabel_
 Label for the re-ordered RawDigi module input tag. More...
 
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputReorderedPayloadRawDigiToken_
 Token for the re-ordered RawDigi module input tag. More...
 
edm::InputTag inputScopeModeRawDigiLabel_
 Label for the scope-mode RawDigi collection input tag. More...
 
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputScopeModeRawDigiToken_
 Token for the scope-mode RawDigi collection input tag. More...
 
edm::InputTag inputZeroSuppressedDigiLabel_
 Guess what? It's the input label for the zero-suppressed digi. More...
 
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > inputZeroSuppressedDigiToken_
 Guess what? It's the input label for the zero-suppressed digi. More...
 
edm::InputTag inputZeroSuppressedRawDigiLabel_
 Label for the zero-suppressed, zero-padded RawDigi module input tag. More...
 
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputZeroSuppressedRawDigiToken_
 Token for the zero-suppressed, zero-padded RawDigi module input tag. More...
 
std::string outputFolderName_
 Name for the folder in the TFileService file output. More...
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

EDAnalyzer for the online monitoring of the FED using STT spy channel data.

Author
Tom Whyntie
Date
Autumn 2009

See https://twiki.cern.ch/twiki/bin/view/CMS/SiStripSpyDisplayModule for further code documentation, and https://twiki.cern.ch/twiki/bin/view/CMS/FEDSpyChannelMonitoring for more information about the spy channel monitoring project.

Definition at line 96 of file SiStripSpyDisplayModule.cc.

Constructor & Destructor Documentation

◆ SiStripSpyDisplayModule()

SiStripSpyDisplayModule::SiStripSpyDisplayModule ( const edm::ParameterSet iConfig)
explicit

Definition at line 186 of file SiStripSpyDisplayModule.cc.

187  : detIDs_(iConfig.getParameter<std::vector<uint32_t> >("detIDs")),
188  detCablingToken_(esConsumes<>()),
190  inputScopeModeRawDigiLabel_(iConfig.getParameter<edm::InputTag>("InputScopeModeRawDigiLabel")),
191  inputPayloadRawDigiLabel_(iConfig.getParameter<edm::InputTag>("InputPayloadRawDigiLabel")),
192  inputReorderedPayloadRawDigiLabel_(iConfig.getParameter<edm::InputTag>("InputReorderedPayloadRawDigiLabel")),
193  inputReorderedModuleRawDigiLabel_(iConfig.getParameter<edm::InputTag>("InputReorderedModuleRawDigiLabel")),
194  inputPedestalsLabel_(iConfig.getParameter<edm::InputTag>("InputPedestalsLabel")),
195  inputNoisesLabel_(iConfig.getParameter<edm::InputTag>("InputNoisesLabel")),
196  inputPostPedestalRawDigiLabel_(iConfig.getParameter<edm::InputTag>("InputPostPedestalRawDigiLabel")),
197  inputPostCMRawDigiLabel_(iConfig.getParameter<edm::InputTag>("InputPostCMRawDigiLabel")),
198  inputZeroSuppressedRawDigiLabel_(iConfig.getParameter<edm::InputTag>("InputZeroSuppressedRawDigiLabel")),
199  inputZeroSuppressedDigiLabel_(iConfig.getParameter<edm::InputTag>("InputZeroSuppressedDigiLabel")),
200  inputCompVirginRawDigiLabel_(iConfig.getParameter<edm::InputTag>("InputCompVirginRawDigiLabel")),
201  inputCompZeroSuppressedDigiLabel_(iConfig.getParameter<edm::InputTag>("InputCompZeroSuppressedDigiLabel")),
202  outputFolderName_(iConfig.getParameter<std::string>("OutputFolderName")) {
203  //now do what ever initialization is needed
204  inputScopeModeRawDigiToken_ = consumes<edm::DetSetVector<SiStripRawDigi> >(inputScopeModeRawDigiLabel_);
205  inputPayloadRawDigiToken_ = consumes<edm::DetSetVector<SiStripRawDigi> >(inputPayloadRawDigiLabel_);
206  inputReorderedPayloadRawDigiToken_ = consumes<edm::DetSetVector<SiStripRawDigi> >(inputReorderedPayloadRawDigiLabel_);
207  inputReorderedModuleRawDigiToken_ = consumes<edm::DetSetVector<SiStripRawDigi> >(inputReorderedModuleRawDigiLabel_);
208  inputPedestalsToken_ = consumes<edm::DetSetVector<SiStripRawDigi> >(inputPedestalsLabel_);
209  inputNoisesToken_ = consumes<edm::DetSetVector<SiStripProcessedRawDigi> >(inputNoisesLabel_);
210  inputPostPedestalRawDigiToken_ = consumes<edm::DetSetVector<SiStripRawDigi> >(inputPostPedestalRawDigiLabel_);
211  inputPostCMRawDigiToken_ = consumes<edm::DetSetVector<SiStripRawDigi> >(inputPostCMRawDigiLabel_);
212  inputZeroSuppressedRawDigiToken_ = consumes<edm::DetSetVector<SiStripRawDigi> >(inputZeroSuppressedRawDigiLabel_);
213  inputZeroSuppressedDigiToken_ = consumes<edm::DetSetVector<SiStripDigi> >(inputZeroSuppressedDigiLabel_);
214  inputCompVirginRawDigiToken_ = consumes<edm::DetSetVector<SiStripRawDigi> >(inputCompVirginRawDigiLabel_);
215  inputCompZeroSuppressedDigiToken_ = consumes<edm::DetSetVector<SiStripDigi> >(inputCompZeroSuppressedDigiLabel_);
216 }

References inputCompVirginRawDigiLabel_, inputCompVirginRawDigiToken_, inputCompZeroSuppressedDigiLabel_, inputCompZeroSuppressedDigiToken_, inputNoisesLabel_, inputNoisesToken_, inputPayloadRawDigiLabel_, inputPayloadRawDigiToken_, inputPedestalsLabel_, inputPedestalsToken_, inputPostCMRawDigiLabel_, inputPostCMRawDigiToken_, inputPostPedestalRawDigiLabel_, inputPostPedestalRawDigiToken_, inputReorderedModuleRawDigiLabel_, inputReorderedModuleRawDigiToken_, inputReorderedPayloadRawDigiLabel_, inputReorderedPayloadRawDigiToken_, inputScopeModeRawDigiLabel_, inputScopeModeRawDigiToken_, inputZeroSuppressedDigiLabel_, inputZeroSuppressedDigiToken_, inputZeroSuppressedRawDigiLabel_, and inputZeroSuppressedRawDigiToken_.

◆ ~SiStripSpyDisplayModule()

SiStripSpyDisplayModule::~SiStripSpyDisplayModule ( )
override

Definition at line 218 of file SiStripSpyDisplayModule.cc.

218  {
219  // do anything here that needs to be done at desctruction time
220  // (e.g. close files, deallocate resources etc.)
221 }

Member Function Documentation

◆ analyze()

void SiStripSpyDisplayModule::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

< detID folder filename

Implements edm::EDAnalyzer.

Definition at line 255 of file SiStripSpyDisplayModule.cc.

255  {
256  using namespace edm;
257  using namespace std;
258 
259  cablingWatcher_.check(iSetup);
260 
261  // Set up the event-level histogram folder
262  //-----------------------------------------
263  // register to the TFileService
265 
266  // Make the EDAnalyzer instance name directory
267  TFileDirectory an_dir = fs->mkdir(outputFolderName_);
268 
269  // Make the event directory filename
270  stringstream ev_dir_name;
271  ev_dir_name << "run" << iEvent.id().run() << "_event" << iEvent.id().event();
272  TFileDirectory evdir = an_dir.mkdir(ev_dir_name.str());
273 
274  //if there are no detIds, get them from the comparison digis...
275  if (detIDs_.empty()) {
276  //get the detIds of the modules in the zero-suppressed comparison
277  if (!((inputCompZeroSuppressedDigiLabel_.label().empty()) &&
280  // iEvent.getByLabel( inputCompZeroSuppressedDigiLabel_, czs_digis );
281  iEvent.getByToken(inputCompZeroSuppressedDigiToken_, czs_digis);
282  std::vector<edm::DetSet<SiStripDigi> >::const_iterator digis_it = czs_digis->begin();
283  for (; digis_it != czs_digis->end(); ++digis_it) {
284  detIDs_.push_back(digis_it->detId());
285  }
286  } else if (!((inputCompVirginRawDigiLabel_.label().empty()) && (inputCompVirginRawDigiLabel_.instance().empty()))) {
288  // iEvent.getByLabel( inputCompVirginRawDigiLabel_, cvr_digis );
289  iEvent.getByToken(inputCompVirginRawDigiToken_, cvr_digis);
290  std::vector<edm::DetSet<SiStripRawDigi> >::const_iterator digis_it = cvr_digis->begin();
291  for (; digis_it != cvr_digis->end(); ++digis_it) {
292  detIDs_.push_back(digis_it->detId());
293  }
294  }
295  }
296 
297  // Loop over detIDs as obtained from the SpyChannelMonitor config file.
298  for (std::vector<uint32_t>::iterator d = detIDs_.begin(); d != detIDs_.end(); ++d) {
299  // TODO: Need some error checking here, probably...
300  const std::vector<const FedChannelConnection*>& conns = detCabling_->getConnections(*d);
301  //cout << "________________________________________________" << endl;
302  //cout << "FED channels found in detId " << *d << " is " << conns.size() << endl;
303  if (!(conns.size())) {
304  // TODO: Properly DEBUG/warning this...
305  //cout << "Skipping detID " << uint32_t(*d) << endl;
306  continue;
307  }
308 
309  // Create a histogram directory for each specified and available detID
310  stringstream sss;
311  sss << "detID_" << *d;
312  TFileDirectory detID_dir = evdir.mkdir(sss.str());
313 
314  // Loop over the channels found with the detID and add directories.
315  for (uint32_t ch = 0; ch < conns.size(); ch++) {
316  if (conns[ch] && conns[ch]->isConnected()) {
317  // Name of channel histogram directory
318  stringstream ssss;
319  ssss << sss.str() << "_APVpair_" << ch;
320  TFileDirectory chan_dir = detID_dir.mkdir(ssss.str());
321 
322  // Get the fed key from the detID and the channel
323  uint32_t fedkey = SiStripFedKey::fedIndex(conns[ch]->fedId(), conns[ch]->fedCh());
324 
325  // (Spy) Scope Mode (SM)
326  //=======================
327  // Get the fed key from the FED ID and the FED channel (from conns)
328  // This is because scope mode always stores in the collection by FED ID
329  if (!((inputScopeModeRawDigiLabel_.label().empty()) && (inputScopeModeRawDigiLabel_.instance().empty()))) {
330  // Use the SiStripFedKey object to return the FED key
331  //cout << "detID=" << *d << ", FED key looking for is " << fedkey << endl;
332  //cout << "Attempting to find scope mode raw digis" << endl;
333  //
335  // iEvent.getByLabel( inputScopeModeRawDigiLabel_, sm_rawdigis );
336  iEvent.getByToken(inputScopeModeRawDigiToken_, sm_rawdigis);
337  //
338  // Note that the fed key (also a uint32_t) is passed in this case.
339  // The method itself doesn't actually care, but it assumes whatever collection
340  // is stored in sm_rawdigis is indexed by FED key ;-)
341  // TODO: Make this, um, better.
342  if (!(MakeRawDigiHist_(sm_rawdigis, fedkey, chan_dir, SCOPE_MODE))) {
343  ;
344  }
345  }
346 
347  // Payload Unordered Raw (UR)
348  //============================
349  if (!((inputPayloadRawDigiLabel_.label().empty()) && (inputPayloadRawDigiLabel_.instance().empty()))) {
350  uint32_t fedindex = SiStripFedKey::fedIndex(conns[ch]->fedId(), conns[ch]->fedCh());
351  //cout << "Attempting to find payload mode raw digis" << endl;
353  // iEvent.getByLabel( inputPayloadRawDigiLabel_, ur_rawdigis );
354  iEvent.getByToken(inputPayloadRawDigiToken_, ur_rawdigis);
355  if (!(MakeRawDigiHist_(ur_rawdigis, fedindex, chan_dir, PAYLOAD_RAW))) {
356  ;
357  }
358  }
359  // Payload Reordered Raw
360  //=======================
361  if (!((inputReorderedPayloadRawDigiLabel_.label().empty()) &&
363  uint32_t fedkey = SiStripFedKey::fedIndex(conns[ch]->fedId(), conns[ch]->fedCh());
365  // iEvent.getByLabel( inputReorderedPayloadRawDigiLabel_, rrp_rawdigis );
366  iEvent.getByToken(inputReorderedPayloadRawDigiToken_, rrp_rawdigis);
367  if (!(MakeRawDigiHist_(rrp_rawdigis, fedkey, chan_dir, REORDERED_PAYLOAD_RAW))) {
368  ;
369  }
370  }
371  }
372  } // end of loop over channels
373  //
374  // Module Reordered Raw (RR)
375  //====================
376  if (!((inputReorderedModuleRawDigiLabel_.label().empty()) &&
379  // iEvent.getByLabel( inputReorderedModuleRawDigiLabel_, rr_rawdigis );
380  iEvent.getByToken(inputReorderedModuleRawDigiToken_, rr_rawdigis);
381  //cout << "Making Reordered module histogram for detID " << *d << endl;
382  if (!(MakeRawDigiHist_(rr_rawdigis, *d, detID_dir, REORDERED_MODULE_RAW))) {
383  ;
384  }
385  } // end of ReorderedModuleRaw check
386 
387  //
388  // Pedestal values
389  //========================
390  if (!((inputPedestalsLabel_.label().empty()) && (inputPedestalsLabel_.instance().empty()))) {
392  // iEvent.getByLabel( inputPedestalsLabel_, pd_rawdigis );
393  iEvent.getByToken(inputPedestalsToken_, pd_rawdigis);
394  //cout << "Making pedestal values module histogram for detID " << *d << endl;
395  if (!(MakeRawDigiHist_(pd_rawdigis, *d, detID_dir, PEDESTAL_VALUES))) {
396  ;
397  }
398  }
399  //
400  // Noise values
401  //========================
402  if (!((inputNoisesLabel_.label().empty()) && (inputNoisesLabel_.instance().empty()))) {
404  // iEvent.getByLabel( inputNoisesLabel_, pd_rawdigis );
405  iEvent.getByToken(inputNoisesToken_, pd_rawdigis);
406  //cout << "Making noise values module histogram for detID " << *d << endl;
407  if (!(MakeProcessedRawDigiHist_(pd_rawdigis, *d, detID_dir, NOISE_VALUES))) {
408  ;
409  }
410  }
411  //
412  // Post-Pedestal Raw (PP)
413  //========================
416  // iEvent.getByLabel( inputPostPedestalRawDigiLabel_, pp_rawdigis );
417  iEvent.getByToken(inputPostPedestalRawDigiToken_, pp_rawdigis);
418  //cout << "Making post-pedestal module histogram for detID " << *d << endl;
419  if (!(MakeRawDigiHist_(pp_rawdigis, *d, detID_dir, POST_PEDESTAL))) {
420  ;
421  }
422  }
423  //
424  // Post-Common Mode Subtraction Raw (PC)
425  //=======================================
426  if (!((inputPostCMRawDigiLabel_.label().empty()) && (inputPostCMRawDigiLabel_.instance().empty()))) {
428  // iEvent.getByLabel( inputPostCMRawDigiLabel_, pc_rawdigis );
429  iEvent.getByToken(inputPostCMRawDigiToken_, pc_rawdigis);
430  //cout << "Making post-CM module histogram for detID " << *d << endl;
431  if (!(MakeRawDigiHist_(pc_rawdigis, *d, detID_dir, POST_COMMON_MODE))) {
432  ;
433  }
434  }
435 
436  //
437  // Zero-Suppressed Digis
438  //=======================
439  //bool founddigispy = false, founddigimain = false;
441  //cout << "Making ZeroSuppressed histogram!" << endl;
443  // iEvent.getByLabel( inputZeroSuppressedDigiLabel_, zs_digis );
444  iEvent.getByToken(inputZeroSuppressedDigiToken_, zs_digis);
445  //founddigispy =
446  MakeDigiHist_(zs_digis, *d, detID_dir, ZERO_SUPPRESSED);
447  }
448  //comparison to mainline data
449  if (!((inputCompVirginRawDigiLabel_.label().empty()) && (inputCompVirginRawDigiLabel_.instance().empty()))) {
450  //cout << "Making Mainline VirginRaw histogram!" << endl;
452  // iEvent.getByLabel( inputCompVirginRawDigiLabel_, cvr_digis );
453  iEvent.getByToken(inputCompVirginRawDigiToken_, cvr_digis);
454  //founddigimain =
455  MakeRawDigiHist_(cvr_digis, *d, detID_dir, VR_COMP);
456  }
457  if (!((inputCompZeroSuppressedDigiLabel_.label().empty()) &&
459  //cout << "Making ZeroSuppressed histogram!" << endl;
461  // iEvent.getByLabel( inputCompZeroSuppressedDigiLabel_, czs_digis );
462  iEvent.getByToken(inputCompZeroSuppressedDigiToken_, czs_digis);
463  //founddigimain =
464  MakeDigiHist_(czs_digis, *d, detID_dir, ZERO_SUPPRESSED_COMP);
465  }
466  //if (founddigimain && founddigispy) cout << "Found digis for both in detid=" << *d << endl;
467 
468  } // end of loop over detIDs specified in the config.
469 
470 } // end of Analyze method.

References cablingWatcher_, edm::ESWatcher< T >::check(), ztail::d, detCabling_, detIDs_, l1tstage2_dqm_sourceclient-live_cfg::fedId, SiStripFedKey::fedIndex(), SiStripDetCabling::getConnections(), iEvent, inputCompVirginRawDigiLabel_, inputCompVirginRawDigiToken_, inputCompZeroSuppressedDigiLabel_, inputCompZeroSuppressedDigiToken_, inputNoisesLabel_, inputNoisesToken_, inputPayloadRawDigiLabel_, inputPayloadRawDigiToken_, inputPedestalsLabel_, inputPedestalsToken_, inputPostCMRawDigiLabel_, inputPostCMRawDigiToken_, inputPostPedestalRawDigiLabel_, inputPostPedestalRawDigiToken_, inputReorderedModuleRawDigiLabel_, inputReorderedModuleRawDigiToken_, inputReorderedPayloadRawDigiLabel_, inputReorderedPayloadRawDigiToken_, inputScopeModeRawDigiLabel_, inputScopeModeRawDigiToken_, inputZeroSuppressedDigiLabel_, inputZeroSuppressedDigiToken_, edm::InputTag::instance(), edm::InputTag::label(), MakeDigiHist_(), MakeProcessedRawDigiHist_(), MakeRawDigiHist_(), TFileDirectory::mkdir(), TFileService::mkdir(), NOISE_VALUES, outputFolderName_, PAYLOAD_RAW, PEDESTAL_VALUES, POST_COMMON_MODE, POST_PEDESTAL, REORDERED_MODULE_RAW, REORDERED_PAYLOAD_RAW, SCOPE_MODE, VR_COMP, ZERO_SUPPRESSED, and ZERO_SUPPRESSED_COMP.

◆ beginJob()

void SiStripSpyDisplayModule::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 242 of file SiStripSpyDisplayModule.cc.

242  {
243  // register to the TFileService
245  // Check that the TFileService has been configured
246  if (!fs.isAvailable()) {
247  throw cms::Exception("Configuration") << "TFileService not available: did you configure it ?";
248  }
249 } // end of beginJob method.

References Exception, and edm::Service< T >::isAvailable().

◆ beginRun()

void SiStripSpyDisplayModule::beginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 232 of file SiStripSpyDisplayModule.cc.

232  {
233  // Retrieve FED cabling object
234  //iSetup.get<SiStripDetCablingRcd>().get( cabling_ );
235  //std::stringstream ss;
236  //cabling_->print(ss);
237  //std::cout << ss.str() << std::endl;
238 
239 } // end of beginRun method.

◆ endJob()

void SiStripSpyDisplayModule::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 252 of file SiStripSpyDisplayModule.cc.

252 {}

◆ MakeDigiHist_()

Bool_t SiStripSpyDisplayModule::MakeDigiHist_ ( const edm::Handle< edm::DetSetVector< SiStripDigi > > &  digi_handle,
uint32_t  detID,
const TFileDirectory dir,
FEDSpyHistogramType  type 
)
private

Definition at line 557 of file SiStripSpyDisplayModule.cc.

563 {
564  // TODO: Remove the hard-coded numbers.
565  TH1S* hist;
566  if (type == ZERO_SUPPRESSED)
567  hist = dir.make<TH1S>("ZeroSuppressedDigi", ";Strip number;ADC counts / strip", 768, 0, 768);
568  else if (type == ZERO_SUPPRESSED_COMP)
569  hist = dir.make<TH1S>("ZeroSuppressedDigiComp", ";Strip number;ADC counts / strip", 768, 0, 768);
570  else {
571  hist = nullptr;
572  return false;
573  }
574 
575  // TODO: May need to make this error checking independent when refactoring...
576  std::vector<edm::DetSet<SiStripDigi> >::const_iterator digis_it = digi_handle->find(detID);
577  if (digis_it == digi_handle->end()) {
578  return false;
579  } else {
580  //cout << "--* ZS digis found for detID " << detID << endl;
581  }
582 
583  // Loop over the digis for the detID and APV pair.
584  edm::DetSet<SiStripDigi>::const_iterator idigi = digis_it->data.begin();
585  bool founddigi = false;
586  for (; idigi != digis_it->data.end(); ++idigi) {
587  // Check strip number is within the channel limits
588  //if ( static_cast<uint16_t>( (*idigi).strip()/256. ) == channel ) {
589  // hist->SetBinContent( ((*idigi).strip())%256 + 1,(*idigi).adc());
590  //}
591  hist->SetBinContent(static_cast<int>(((*idigi).strip())) + 1, static_cast<int>((*idigi).adc()));
592  if ((*idigi).adc() > 0)
593  founddigi = true;
594  //cout << "----* ZS digi found at " << static_cast<int>(((*idigi).strip()))
595  // << ", " << static_cast<int>((*idigi).adc()) << endl;
596  } // end of loop over the digis
597 
598  return founddigi;
599 }

References edm::DetSet< T >::data, DeadROC_duringRun::dir, gpuVertexFinder::hist, ZERO_SUPPRESSED, and ZERO_SUPPRESSED_COMP.

Referenced by analyze().

◆ MakeProcessedRawDigiHist_()

Bool_t SiStripSpyDisplayModule::MakeProcessedRawDigiHist_ ( const edm::Handle< edm::DetSetVector< SiStripProcessedRawDigi > > &  digi_handle,
uint32_t  specifier,
const TFileDirectory dir,
FEDSpyHistogramType  type 
)
private

Definition at line 522 of file SiStripSpyDisplayModule.cc.

528 {
529  // TODO: Remove the hard-coded numbers(!).
530  TH1F* hist;
531  if (type == NOISE_VALUES)
532  hist = dir.make<TH1F>("NoiseValues", ";Strip number;Noise / strip", 768, 0, 768);
533  else {
534  hist = nullptr;
535  return false;
536  }
537 
538  // TODO: May need to make this error checking independent when refactoring...
539  //std::cout << "| * digis for " << type << " and detID " << specifier;
540  std::vector<edm::DetSet<SiStripProcessedRawDigi> >::const_iterator digis_it = digi_handle->find(specifier);
541  if (digis_it == digi_handle->end()) {
542  //std::cout << " not found :( ";
543  return false;
544  }
545  //std::cout << std::endl;
546 
547  // Loop over the digis for the detID and APV pair.
548  edm::DetSet<SiStripProcessedRawDigi>::const_iterator idigi = digis_it->data.begin();
549  uint32_t count = 0;
550  for (; idigi != digis_it->data.end(); ++idigi) {
551  count++;
552  hist->SetBinContent(count, static_cast<float>((*idigi).adc()));
553  } // end of loop over the digis
554  return true; // Success! (Probably.)
555 }

References submitPVResolutionJobs::count, edm::DetSet< T >::data, DeadROC_duringRun::dir, gpuVertexFinder::hist, and NOISE_VALUES.

Referenced by analyze().

◆ MakeRawDigiHist_()

Bool_t SiStripSpyDisplayModule::MakeRawDigiHist_ ( const edm::Handle< edm::DetSetVector< SiStripRawDigi > > &  digi_handle,
uint32_t  specifier,
const TFileDirectory dir,
FEDSpyHistogramType  type 
)
private

Definition at line 472 of file SiStripSpyDisplayModule.cc.

477 {
478  // TODO: Remove the hard-coded numbers(!).
479  TH1S* hist;
480  if (type == SCOPE_MODE)
481  hist = dir.make<TH1S>("ScopeMode", ";Sample number;ADC counts / strip", 298, 0, 298);
482  else if (type == PAYLOAD_RAW)
483  hist = dir.make<TH1S>("PayloadRaw", ";Sample number;ADC counts / strip", 256, 0, 256);
484  else if (type == REORDERED_PAYLOAD_RAW)
485  hist = dir.make<TH1S>("ReorderedPayloadRaw", ";Sample number;ADC counts / strip", 256, 0, 256);
486  else if (type == REORDERED_MODULE_RAW)
487  hist = dir.make<TH1S>("ReorderedModuleRaw", ";Sample number;ADC counts / strip", 768, 0, 768);
488  else if (type == PEDESTAL_VALUES)
489  hist = dir.make<TH1S>("PedestalValues", ";Strip number;Pedestal / strip", 768, 0, 768);
490  else if (type == POST_PEDESTAL)
491  hist = dir.make<TH1S>("PostPedestal", ";Strip number;ADC counts / strip", 768, 0, 768);
492  else if (type == POST_COMMON_MODE)
493  hist = dir.make<TH1S>("PostCommonMode", ";Strip number;ADC counts / strip", 768, 0, 768);
494  else if (type == ZERO_SUPPRESSED_PADDED)
495  hist = dir.make<TH1S>("ZeroSuppressedRaw", ";Strip number;ADC counts / strip", 768, 0, 768);
496  else if (type == VR_COMP)
497  hist = dir.make<TH1S>("VirginRawCom", ";Strip number;ADC counts / strip", 768, 0, 768);
498  else {
499  hist = nullptr;
500  return false;
501  }
502 
503  // TODO: May need to make this error checking independent when refactoring...
504  //std::cout << "| * digis for " << type << " and detID " << specifier;
505  std::vector<edm::DetSet<SiStripRawDigi> >::const_iterator digis_it = digi_handle->find(specifier);
506  if (digis_it == digi_handle->end()) {
507  //std::cout << " not found :( ";
508  return false;
509  }
510  //std::cout << std::endl;
511 
512  // Loop over the digis for the detID and APV pair.
513  edm::DetSet<SiStripRawDigi>::const_iterator idigi = digis_it->data.begin();
514  uint32_t count = 0;
515  for (; idigi != digis_it->data.end(); ++idigi) {
516  count++;
517  hist->SetBinContent(count, static_cast<int>((*idigi).adc()));
518  } // end of loop over the digis
519  return true; // Success! (Probably.)
520 }

References submitPVResolutionJobs::count, edm::DetSet< T >::data, DeadROC_duringRun::dir, gpuVertexFinder::hist, PAYLOAD_RAW, PEDESTAL_VALUES, POST_COMMON_MODE, POST_PEDESTAL, REORDERED_MODULE_RAW, REORDERED_PAYLOAD_RAW, SCOPE_MODE, VR_COMP, and ZERO_SUPPRESSED_PADDED.

Referenced by analyze().

◆ updateDetCabling()

void SiStripSpyDisplayModule::updateDetCabling ( const SiStripDetCablingRcd rcd)
private

Member Data Documentation

◆ cablingWatcher_

edm::ESWatcher<SiStripDetCablingRcd> SiStripSpyDisplayModule::cablingWatcher_
private

Definition at line 128 of file SiStripSpyDisplayModule.cc.

Referenced by analyze().

◆ detCabling_

const SiStripDetCabling* SiStripSpyDisplayModule::detCabling_
private

Definition at line 127 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and updateDetCabling().

◆ detCablingToken_

edm::ESGetToken<SiStripDetCabling, SiStripDetCablingRcd> SiStripSpyDisplayModule::detCablingToken_
private

Definition at line 126 of file SiStripSpyDisplayModule.cc.

Referenced by updateDetCabling().

◆ detIDs_

std::vector<uint32_t> SiStripSpyDisplayModule::detIDs_
private

Vector of detIDs that are of interest (config-specified).

Definition at line 123 of file SiStripSpyDisplayModule.cc.

Referenced by analyze().

◆ inputCompVirginRawDigiLabel_

edm::InputTag SiStripSpyDisplayModule::inputCompVirginRawDigiLabel_
private

VR RawDigis to compare (from mainline)

Definition at line 144 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputCompVirginRawDigiToken_

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > SiStripSpyDisplayModule::inputCompVirginRawDigiToken_
private

VR RawDigis to compare (from mainline)

Definition at line 166 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputCompZeroSuppressedDigiLabel_

edm::InputTag SiStripSpyDisplayModule::inputCompZeroSuppressedDigiLabel_
private

Zero-suppressed digis to compare (from mainline)

Definition at line 145 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputCompZeroSuppressedDigiToken_

edm::EDGetTokenT<edm::DetSetVector<SiStripDigi> > SiStripSpyDisplayModule::inputCompZeroSuppressedDigiToken_
private

Zero-suppressed digis to compare (from mainline)

Definition at line 168 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputNoisesLabel_

edm::InputTag SiStripSpyDisplayModule::inputNoisesLabel_
private

Label for the noises.

Definition at line 138 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputNoisesToken_

edm::EDGetTokenT<edm::DetSetVector<SiStripProcessedRawDigi> > SiStripSpyDisplayModule::inputNoisesToken_
private

Token for the noises.

Definition at line 156 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputPayloadRawDigiLabel_

edm::InputTag SiStripSpyDisplayModule::inputPayloadRawDigiLabel_
private

Label for the virgin raw RawDigi collection input tag.

Definition at line 134 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputPayloadRawDigiToken_

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > SiStripSpyDisplayModule::inputPayloadRawDigiToken_
private

Token for the virgin raw RawDigi collection input tag.

Definition at line 150 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputPedestalsLabel_

edm::InputTag SiStripSpyDisplayModule::inputPedestalsLabel_
private

Label for the pedestals.

Definition at line 137 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputPedestalsToken_

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > SiStripSpyDisplayModule::inputPedestalsToken_
private

Token for the pedestals.

Definition at line 155 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputPostCMRawDigiLabel_

edm::InputTag SiStripSpyDisplayModule::inputPostCMRawDigiLabel_
private

Label for the post-common mode subtraction RawDigi module input tag.

Definition at line 140 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputPostCMRawDigiToken_

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > SiStripSpyDisplayModule::inputPostCMRawDigiToken_
private

Token for the post-common mode subtraction RawDigi module input tag.

Definition at line 160 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputPostPedestalRawDigiLabel_

edm::InputTag SiStripSpyDisplayModule::inputPostPedestalRawDigiLabel_
private

Label for the post-pedestal subtraction RawDigi module input tag.

Definition at line 139 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputPostPedestalRawDigiToken_

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > SiStripSpyDisplayModule::inputPostPedestalRawDigiToken_
private

Token for the post-pedestal subtraction RawDigi module input tag.

Definition at line 158 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputReorderedModuleRawDigiLabel_

edm::InputTag SiStripSpyDisplayModule::inputReorderedModuleRawDigiLabel_
private

Label for the re-ordered RawDigi module input tag.

Definition at line 136 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputReorderedModuleRawDigiToken_

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > SiStripSpyDisplayModule::inputReorderedModuleRawDigiToken_
private

Token for the re-ordered RawDigi module input tag.

Definition at line 154 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputReorderedPayloadRawDigiLabel_

edm::InputTag SiStripSpyDisplayModule::inputReorderedPayloadRawDigiLabel_
private

Label for the re-ordered RawDigi module input tag.

Definition at line 135 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputReorderedPayloadRawDigiToken_

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > SiStripSpyDisplayModule::inputReorderedPayloadRawDigiToken_
private

Token for the re-ordered RawDigi module input tag.

Definition at line 152 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputScopeModeRawDigiLabel_

edm::InputTag SiStripSpyDisplayModule::inputScopeModeRawDigiLabel_
private

Label for the scope-mode RawDigi collection input tag.

Definition at line 133 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputScopeModeRawDigiToken_

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > SiStripSpyDisplayModule::inputScopeModeRawDigiToken_
private

Token for the scope-mode RawDigi collection input tag.

Definition at line 148 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputZeroSuppressedDigiLabel_

edm::InputTag SiStripSpyDisplayModule::inputZeroSuppressedDigiLabel_
private

Guess what? It's the input label for the zero-suppressed digi.

Definition at line 143 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputZeroSuppressedDigiToken_

edm::EDGetTokenT<edm::DetSetVector<SiStripDigi> > SiStripSpyDisplayModule::inputZeroSuppressedDigiToken_
private

Guess what? It's the input label for the zero-suppressed digi.

Definition at line 164 of file SiStripSpyDisplayModule.cc.

Referenced by analyze(), and SiStripSpyDisplayModule().

◆ inputZeroSuppressedRawDigiLabel_

edm::InputTag SiStripSpyDisplayModule::inputZeroSuppressedRawDigiLabel_
private

Label for the zero-suppressed, zero-padded RawDigi module input tag.

Definition at line 142 of file SiStripSpyDisplayModule.cc.

Referenced by SiStripSpyDisplayModule().

◆ inputZeroSuppressedRawDigiToken_

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > SiStripSpyDisplayModule::inputZeroSuppressedRawDigiToken_
private

Token for the zero-suppressed, zero-padded RawDigi module input tag.

Definition at line 162 of file SiStripSpyDisplayModule.cc.

Referenced by SiStripSpyDisplayModule().

◆ outputFolderName_

std::string SiStripSpyDisplayModule::outputFolderName_
private

Name for the folder in the TFileService file output.

Definition at line 172 of file SiStripSpyDisplayModule.cc.

Referenced by analyze().

edm::ESWatcher::check
bool check(const edm::EventSetup &iSetup)
Definition: ESWatcher.h:52
TFileDirectory::mkdir
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
Definition: TFileDirectory.cc:112
SiStripSpyDisplayModule::inputScopeModeRawDigiToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputScopeModeRawDigiToken_
Token for the scope-mode RawDigi collection input tag.
Definition: SiStripSpyDisplayModule.cc:148
SiStripSpyDisplayModule::detIDs_
std::vector< uint32_t > detIDs_
Vector of detIDs that are of interest (config-specified).
Definition: SiStripSpyDisplayModule.cc:123
SiStripSpyDisplayModule::inputNoisesToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripProcessedRawDigi > > inputNoisesToken_
Token for the noises.
Definition: SiStripSpyDisplayModule.cc:156
SiStripSpyDisplayModule::inputPayloadRawDigiLabel_
edm::InputTag inputPayloadRawDigiLabel_
Label for the virgin raw RawDigi collection input tag.
Definition: SiStripSpyDisplayModule.cc:134
PEDESTAL_VALUES
Definition: SiStripSpyDisplayModule.cc:71
SiStripSpyDisplayModule::detCablingToken_
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd > detCablingToken_
Definition: SiStripSpyDisplayModule.cc:126
POST_COMMON_MODE
Definition: SiStripSpyDisplayModule.cc:74
SiStripSpyDisplayModule::inputPayloadRawDigiToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputPayloadRawDigiToken_
Token for the virgin raw RawDigi collection input tag.
Definition: SiStripSpyDisplayModule.cc:150
edm::InputTag::instance
std::string const & instance() const
Definition: InputTag.h:37
edm::DetSetVector::end
iterator end()
Return the off-the-end iterator.
Definition: DetSetVector.h:325
SiStripSpyDisplayModule::detCabling_
const SiStripDetCabling * detCabling_
Definition: SiStripSpyDisplayModule.cc:127
SiStripSpyDisplayModule::inputCompZeroSuppressedDigiLabel_
edm::InputTag inputCompZeroSuppressedDigiLabel_
Zero-suppressed digis to compare (from mainline)
Definition: SiStripSpyDisplayModule.cc:145
POST_PEDESTAL
Definition: SiStripSpyDisplayModule.cc:73
edm
HLT enums.
Definition: AlignableModifier.h:19
SiStripSpyDisplayModule::inputZeroSuppressedRawDigiToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputZeroSuppressedRawDigiToken_
Token for the zero-suppressed, zero-padded RawDigi module input tag.
Definition: SiStripSpyDisplayModule.cc:162
NOISE_VALUES
Definition: SiStripSpyDisplayModule.cc:72
SiStripSpyDisplayModule::MakeDigiHist_
Bool_t MakeDigiHist_(const edm::Handle< edm::DetSetVector< SiStripDigi > > &digi_handle, uint32_t detID, const TFileDirectory &dir, FEDSpyHistogramType type)
Definition: SiStripSpyDisplayModule.cc:557
SiStripSpyDisplayModule::inputReorderedPayloadRawDigiLabel_
edm::InputTag inputReorderedPayloadRawDigiLabel_
Label for the re-ordered RawDigi module input tag.
Definition: SiStripSpyDisplayModule.cc:135
ZERO_SUPPRESSED_PADDED
Definition: SiStripSpyDisplayModule.cc:75
TFileDirectory
Definition: TFileDirectory.h:24
SCOPE_MODE
Definition: SiStripSpyDisplayModule.cc:67
edm::Handle
Definition: AssociativeIterator.h:50
edm::Service::isAvailable
bool isAvailable() const
Definition: Service.h:40
SiStripSpyDisplayModule::cablingWatcher_
edm::ESWatcher< SiStripDetCablingRcd > cablingWatcher_
Definition: SiStripSpyDisplayModule.cc:128
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
ZERO_SUPPRESSED_COMP
Definition: SiStripSpyDisplayModule.cc:78
PAYLOAD_RAW
Definition: SiStripSpyDisplayModule.cc:68
SiStripSpyDisplayModule::outputFolderName_
std::string outputFolderName_
Name for the folder in the TFileService file output.
Definition: SiStripSpyDisplayModule.cc:172
SiStripSpyDisplayModule::inputPostCMRawDigiLabel_
edm::InputTag inputPostCMRawDigiLabel_
Label for the post-common mode subtraction RawDigi module input tag.
Definition: SiStripSpyDisplayModule.cc:140
submitPVResolutionJobs.count
count
Definition: submitPVResolutionJobs.py:352
SiStripSpyDisplayModule::inputPostCMRawDigiToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputPostCMRawDigiToken_
Token for the post-common mode subtraction RawDigi module input tag.
Definition: SiStripSpyDisplayModule.cc:160
edm::eventsetup::DependentRecordImplementation::get
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
Definition: DependentRecordImplementation.h:109
ZERO_SUPPRESSED
Definition: SiStripSpyDisplayModule.cc:76
SiStripSpyDisplayModule::inputCompVirginRawDigiLabel_
edm::InputTag inputCompVirginRawDigiLabel_
VR RawDigis to compare (from mainline)
Definition: SiStripSpyDisplayModule.cc:144
REORDERED_MODULE_RAW
Definition: SiStripSpyDisplayModule.cc:70
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TFileService::mkdir
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
Definition: TFileService.h:69
REORDERED_PAYLOAD_RAW
Definition: SiStripSpyDisplayModule.cc:69
SiStripSpyDisplayModule::inputReorderedPayloadRawDigiToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputReorderedPayloadRawDigiToken_
Token for the re-ordered RawDigi module input tag.
Definition: SiStripSpyDisplayModule.cc:152
SiStripSpyDisplayModule::inputPostPedestalRawDigiLabel_
edm::InputTag inputPostPedestalRawDigiLabel_
Label for the post-pedestal subtraction RawDigi module input tag.
Definition: SiStripSpyDisplayModule.cc:139
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
gpuVertexFinder::hist
__shared__ Hist hist
Definition: gpuClusterTracksDBSCAN.h:48
SiStripSpyDisplayModule::inputPedestalsToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputPedestalsToken_
Token for the pedestals.
Definition: SiStripSpyDisplayModule.cc:155
SiStripSpyDisplayModule::inputCompZeroSuppressedDigiToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > inputCompZeroSuppressedDigiToken_
Zero-suppressed digis to compare (from mainline)
Definition: SiStripSpyDisplayModule.cc:168
edm::DetSetVector::find
iterator find(det_id_type id)
Definition: DetSetVector.h:264
edm::Service< TFileService >
iEvent
int iEvent
Definition: GenABIO.cc:224
SiStripFedKey::fedIndex
static uint32_t fedIndex(const uint16_t &fed_id, const uint16_t &fed_ch)
Definition: SiStripFedKey.cc:123
VR_COMP
Definition: SiStripSpyDisplayModule.cc:77
l1tstage2_dqm_sourceclient-live_cfg.fedId
fedId
Definition: l1tstage2_dqm_sourceclient-live_cfg.py:88
SiStripSpyDisplayModule::inputNoisesLabel_
edm::InputTag inputNoisesLabel_
Label for the noises.
Definition: SiStripSpyDisplayModule.cc:138
SiStripSpyDisplayModule::updateDetCabling
void updateDetCabling(const SiStripDetCablingRcd &rcd)
Definition: SiStripSpyDisplayModule.cc:228
SiStripSpyDisplayModule::inputZeroSuppressedDigiToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > inputZeroSuppressedDigiToken_
Guess what? It's the input label for the zero-suppressed digi.
Definition: SiStripSpyDisplayModule.cc:164
std
Definition: JetResolutionObject.h:76
SiStripSpyDisplayModule::inputScopeModeRawDigiLabel_
edm::InputTag inputScopeModeRawDigiLabel_
Label for the scope-mode RawDigi collection input tag.
Definition: SiStripSpyDisplayModule.cc:133
SiStripSpyDisplayModule::MakeRawDigiHist_
Bool_t MakeRawDigiHist_(const edm::Handle< edm::DetSetVector< SiStripRawDigi > > &digi_handle, uint32_t specifier, const TFileDirectory &dir, FEDSpyHistogramType type)
Definition: SiStripSpyDisplayModule.cc:472
Exception
Definition: hltDiff.cc:245
SiStripSpyDisplayModule::inputPedestalsLabel_
edm::InputTag inputPedestalsLabel_
Label for the pedestals.
Definition: SiStripSpyDisplayModule.cc:137
SiStripSpyDisplayModule::inputReorderedModuleRawDigiLabel_
edm::InputTag inputReorderedModuleRawDigiLabel_
Label for the re-ordered RawDigi module input tag.
Definition: SiStripSpyDisplayModule.cc:136
edm::DetSet::data
collection_type data
Definition: DetSet.h:80
SiStripSpyDisplayModule::inputReorderedModuleRawDigiToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputReorderedModuleRawDigiToken_
Token for the re-ordered RawDigi module input tag.
Definition: SiStripSpyDisplayModule.cc:154
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
ztail.d
d
Definition: ztail.py:151
SiStripSpyDisplayModule::MakeProcessedRawDigiHist_
Bool_t MakeProcessedRawDigiHist_(const edm::Handle< edm::DetSetVector< SiStripProcessedRawDigi > > &digi_handle, uint32_t specifier, const TFileDirectory &dir, FEDSpyHistogramType type)
Definition: SiStripSpyDisplayModule.cc:522
SiStripSpyDisplayModule::inputZeroSuppressedDigiLabel_
edm::InputTag inputZeroSuppressedDigiLabel_
Guess what? It's the input label for the zero-suppressed digi.
Definition: SiStripSpyDisplayModule.cc:143
SiStripSpyDisplayModule::inputPostPedestalRawDigiToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputPostPedestalRawDigiToken_
Token for the post-pedestal subtraction RawDigi module input tag.
Definition: SiStripSpyDisplayModule.cc:158
edm::InputTag
Definition: InputTag.h:15
SiStripDetCabling::getConnections
const std::vector< const FedChannelConnection * > & getConnections(uint32_t det_id) const
Definition: SiStripDetCabling.cc:161
SiStripSpyDisplayModule::inputZeroSuppressedRawDigiLabel_
edm::InputTag inputZeroSuppressedRawDigiLabel_
Label for the zero-suppressed, zero-padded RawDigi module input tag.
Definition: SiStripSpyDisplayModule.cc:142
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23
SiStripSpyDisplayModule::inputCompVirginRawDigiToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > inputCompVirginRawDigiToken_
VR RawDigis to compare (from mainline)
Definition: SiStripSpyDisplayModule.cc:166
edm::DetSet::const_iterator
collection_type::const_iterator const_iterator
Definition: DetSet.h:31