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 | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) override |
virtual 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) |
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 &) |
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 95 of file SiStripSpyDisplayModule.cc.
|
explicit |
Definition at line 173 of file SiStripSpyDisplayModule.cc.
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 | ( | ) |
Definition at line 206 of file SiStripSpyDisplayModule.cc.
|
overrideprivatevirtual |
< detID folder filename
Implements edm::EDAnalyzer.
Definition at line 244 of file SiStripSpyDisplayModule.cc.
References ztail::d, detIDs_, edm::EventID::event(), stage2BMTFBufferRaw_cfi::fedId, SiStripFedKey::fedIndex(), edm::Event::getByToken(), sistrip::SpyUtilities::getDetCabling(), edm::EventBase::id(), 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(), 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.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 229 of file SiStripSpyDisplayModule.cc.
References Exception, and edm::Service< T >::isAvailable().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 217 of file SiStripSpyDisplayModule.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 240 of file SiStripSpyDisplayModule.cc.
|
private |
Definition at line 518 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 484 of file SiStripSpyDisplayModule.cc.
References KineDebug3::count(), edm::DetSet< T >::data, estimatePileup::hist, TFileDirectory::make(), and NOISE_VALUES.
Referenced by analyze().
|
private |
Definition at line 445 of file SiStripSpyDisplayModule.cc.
References KineDebug3::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 122 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().
|
private |
VR RawDigis to compare (from mainline)
Definition at line 139 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
VR RawDigis to compare (from mainline)
Definition at line 152 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Zero-suppressed digis to compare (from mainline)
Definition at line 140 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Zero-suppressed digis to compare (from mainline)
Definition at line 153 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Label for the noises.
Definition at line 134 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Token for the noises.
Definition at line 147 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Label for the virgin raw RawDigi collection input tag.
Definition at line 130 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Token for the virgin raw RawDigi collection input tag.
Definition at line 143 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Label for the pedestals.
Definition at line 133 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Token for the pedestals.
Definition at line 146 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Label for the post-common mode subtraction RawDigi module input tag.
Definition at line 136 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Token for the post-common mode subtraction RawDigi module input tag.
Definition at line 149 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Label for the post-pedestal subtraction RawDigi module input tag.
Definition at line 135 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Token for the post-pedestal subtraction RawDigi module input tag.
Definition at line 148 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Label for the re-ordered RawDigi module input tag.
Definition at line 132 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Token for the re-ordered RawDigi module input tag.
Definition at line 145 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Label for the re-ordered RawDigi module input tag.
Definition at line 131 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Token for the re-ordered RawDigi module input tag.
Definition at line 144 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Label for the scope-mode RawDigi collection input tag.
Definition at line 129 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Token for the scope-mode RawDigi collection input tag.
Definition at line 142 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Guess what? It's the input label for the zero-suppressed digi.
Definition at line 138 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Guess what? It's the input label for the zero-suppressed digi.
Definition at line 151 of file SiStripSpyDisplayModule.cc.
Referenced by analyze(), and SiStripSpyDisplayModule().
|
private |
Label for the zero-suppressed, zero-padded RawDigi module input tag.
Definition at line 137 of file SiStripSpyDisplayModule.cc.
Referenced by SiStripSpyDisplayModule().
|
private |
Token for the zero-suppressed, zero-padded RawDigi module input tag.
Definition at line 150 of file SiStripSpyDisplayModule.cc.
Referenced by SiStripSpyDisplayModule().
|
private |
Name for the folder in the TFileService file output.
Definition at line 157 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().
|
private |
Definition at line 125 of file SiStripSpyDisplayModule.cc.
Referenced by analyze().