EDAnalyzer for the online monitoring of the FED using STT spy channel data. More...
Public Member Functions | |
SiStripSpyDisplayModule (const edm::ParameterSet &) | |
~SiStripSpyDisplayModule () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) |
virtual void | endJob () |
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) |
Private Attributes | |
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::InputTag | inputCompZeroSuppressedDigiLabel_ |
Zero-suppressed digis to compare (from mainline) More... | |
edm::InputTag | inputNoisesLabel_ |
Label for the noises. More... | |
edm::InputTag | inputPayloadRawDigiLabel_ |
Label for the virgin raw RawDigi collection input tag. More... | |
edm::InputTag | inputPedestalsLabel_ |
Label for the pedestals. More... | |
edm::InputTag | inputPostCMRawDigiLabel_ |
Label 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::InputTag | inputReorderedModuleRawDigiLabel_ |
Label for the re-ordered RawDigi module input tag. More... | |
edm::InputTag | inputReorderedPayloadRawDigiLabel_ |
Label for the re-ordered RawDigi module input tag. More... | |
edm::InputTag | inputScopeModeRawDigiLabel_ |
Label 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::InputTag | inputZeroSuppressedRawDigiLabel_ |
Label for the zero-suppressed, zero-padded RawDigi module input tag. More... | |
std::string | outputFolderName_ |
Name for the folder in the TFileService file output. More... | |
sistrip::SpyUtilities | utility_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
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 ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
EDAnalyzer for the online monitoring of the FED using STT spy channel data.
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 93 of file SiStripSpyDisplayModule.cc.
|
explicit |
Definition at line 158 of file SiStripSpyDisplayModule.cc.
SiStripSpyDisplayModule::~SiStripSpyDisplayModule | ( | ) |
Definition at line 178 of file SiStripSpyDisplayModule.cc.
|
privatevirtual |
< detID folder filename
Implements edm::EDAnalyzer.
Definition at line 216 of file SiStripSpyDisplayModule.cc.
References detIDs_, edm::EventID::event(), SiStripFedKey::fedIndex(), edm::Event::getByLabel(), sistrip::SpyUtilities::getDetCabling(), edm::EventBase::id(), inputCompVirginRawDigiLabel_, inputCompZeroSuppressedDigiLabel_, inputNoisesLabel_, inputPayloadRawDigiLabel_, inputPedestalsLabel_, inputPostCMRawDigiLabel_, inputPostPedestalRawDigiLabel_, inputReorderedModuleRawDigiLabel_, inputReorderedPayloadRawDigiLabel_, inputScopeModeRawDigiLabel_, inputZeroSuppressedDigiLabel_, edm::InputTag::instance(), edm::InputTag::label(), MakeDigiHist_(), MakeProcessedRawDigiHist_(), MakeRawDigiHist_(), TFileDirectory::mkdir(), NOISE_VALUES, outputFolderName_, PAYLOAD_RAW, PEDESTAL_VALUES, POST_COMMON_MODE, POST_PEDESTAL, REORDERED_MODULE_RAW, REORDERED_PAYLOAD_RAW, edm::EventID::run(), SCOPE_MODE, utility_, VR_COMP, ZERO_SUPPRESSED, and ZERO_SUPPRESSED_COMP.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 201 of file SiStripSpyDisplayModule.cc.
References edm::hlt::Exception, and edm::Service< T >::isAvailable().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 189 of file SiStripSpyDisplayModule.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 212 of file SiStripSpyDisplayModule.cc.
|
private |
Definition at line 475 of file SiStripSpyDisplayModule.cc.
References edm::DetSet< T >::data, estimatePileup::hist, TFileDirectory::make(), ZERO_SUPPRESSED, and ZERO_SUPPRESSED_COMP.
Referenced by analyze().
|
private |
Definition at line 441 of file SiStripSpyDisplayModule.cc.
References prof2calltree::count, edm::DetSet< T >::data, estimatePileup::hist, TFileDirectory::make(), and NOISE_VALUES.
Referenced by analyze().
|
private |
Definition at line 402 of file SiStripSpyDisplayModule.cc.
References prof2calltree::count, edm::DetSet< T >::data, estimatePileup::hist, TFileDirectory::make(), 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().
|
private |
Vector of detIDs that are of interest (config-specified).
Definition at line 120 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().
|
private |
VR RawDigis to compare (from mainline)
Definition at line 137 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().
|
private |
Zero-suppressed digis to compare (from mainline)
Definition at line 138 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().
|
private |
Label for the noises.
Definition at line 132 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().
|
private |
Label for the virgin raw RawDigi collection input tag.
Definition at line 128 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().
|
private |
Label for the pedestals.
Definition at line 131 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().
|
private |
Label for the post-common mode subtraction RawDigi module input tag.
Definition at line 134 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().
|
private |
Label for the post-pedestal subtraction RawDigi module input tag.
Definition at line 133 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().
|
private |
Label for the re-ordered RawDigi module input tag.
Definition at line 130 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().
|
private |
Label for the re-ordered RawDigi module input tag.
Definition at line 129 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().
|
private |
Label for the scope-mode RawDigi collection input tag.
Definition at line 127 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().
|
private |
Guess what? It's the input label for the zero-suppressed digi.
Definition at line 136 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().
|
private |
Label for the zero-suppressed, zero-padded RawDigi module input tag.
Definition at line 135 of file SiStripSpyDisplayModule.cc.
|
private |
Name for the folder in the TFileService file output.
Definition at line 142 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().
|
private |
Definition at line 123 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().