#include <SiStripZeroSuppression.h>
Public Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
SiStripZeroSuppression (const edm::ParameterSet &) | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Types | |
using | medians_t = std::vector< std::pair< short, float > > |
using | rawtoken_t = edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > |
enum | RawType { RawType::Unknown, RawType::VirginRaw, RawType::ProcessedRaw, RawType::ScopeMode } |
using | zstoken_t = edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > |
Private Member Functions | |
void | clearOutputs () |
edm::DetSet< SiStripRawDigi > | formatRawDigis (const edm::DetSet< SiStripRawDigi > &rawDigis) |
edm::DetSet< SiStripRawDigi > | formatRawDigis (uint32_t detId, const std::vector< int16_t > &rawDigis) |
void | processHybrid (const edm::DetSetVector< SiStripDigi > &input) |
void | processRaw (const edm::DetSetVector< SiStripRawDigi > &input, RawType inType) |
void | putOutputs (edm::Event &evt, const std::string &tagName) |
void | storeBaseline (uint32_t, const medians_t &) |
void | storeBaselinePoints (uint32_t) |
void | storeCMN (uint32_t, const medians_t &) |
void | storeExtraOutput (uint32_t, int16_t) |
Private Attributes | |
std::unique_ptr< SiStripRawProcessingAlgorithms > | algorithms |
bool | fixCM |
std::vector< std::tuple< std::string, zstoken_t > > | hybridInputs |
std::vector< edm::DetSet< SiStripProcessedRawDigi > > | output_apvcm |
std::vector< edm::DetSet< SiStripDigi > > | output_base |
std::vector< edm::DetSet< SiStripRawDigi > > | output_base_raw |
std::vector< edm::DetSet< SiStripProcessedRawDigi > > | output_baseline |
std::vector< edm::DetSet< SiStripDigi > > | output_baseline_points |
bool | produceBaselinePoints |
bool | produceCalculatedBaseline |
bool | produceHybridFormat |
bool | produceRawDigis |
std::vector< std::tuple< std::string, RawType, rawtoken_t > > | rawInputs |
bool | storeCM |
bool | storeInZScollBadAPV |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 16 of file SiStripZeroSuppression.h.
|
private |
Definition at line 32 of file SiStripZeroSuppression.h.
|
private |
Definition at line 47 of file SiStripZeroSuppression.h.
|
private |
Definition at line 48 of file SiStripZeroSuppression.h.
|
strongprivate |
Enumerator | |
---|---|
Unknown | |
VirginRaw | |
ProcessedRaw | |
ScopeMode |
Definition at line 22 of file SiStripZeroSuppression.h.
|
explicit |
Definition at line 16 of file SiStripZeroSuppression.cc.
References Exception, edm::ParameterSet::getParameter(), hybridInputs, ALCARECOSiStripCalZeroBias_cff::inputTag, output_apvcm, output_base, output_base_raw, output_baseline, output_baseline_points, ProcessedRaw, produceBaselinePoints, produceCalculatedBaseline, produceHybridFormat, produceRawDigis, rawInputs, ScopeMode, storeCM, AlCaHLTBitMon_QueryRunRegistry::string, dcs_print_summary_cfg::tagName, Unknown, and VirginRaw.
|
inlineprivate |
Definition at line 106 of file SiStripZeroSuppression.cc.
References output_apvcm, output_base, output_base_raw, output_baseline, and output_baseline_points.
Referenced by produce().
|
inlineprivate |
Definition at line 168 of file SiStripZeroSuppression.cc.
References algorithms, edm::DetSet< T >::id, edm::DetSet< T >::push_back(), edm::DetSet< T >::reserve(), edm::DetSet< T >::size(), and nano_mu_digi_cff::strip.
Referenced by processRaw().
|
inlineprivate |
Definition at line 184 of file SiStripZeroSuppression.cc.
References algorithms, hcalRecHitTable_cff::detId, edm::DetSet< T >::push_back(), edm::DetSet< T >::reserve(), and nano_mu_digi_cff::strip.
|
inlineprivate |
Definition at line 152 of file SiStripZeroSuppression.cc.
References algorithms, hcalRecHitTable_cff::detId, edm::DetSet< T >::empty(), input, eostools::move(), SiStripDetId::numberOfAPVs(), output_base, and storeExtraOutput().
Referenced by produce().
|
inlineprivate |
Definition at line 125 of file SiStripZeroSuppression.cc.
References algorithms, edm::DetSet< T >::empty(), formatRawDigis(), input, eostools::move(), output_base, output_base_raw, ProcessedRaw, produceHybridFormat, produceRawDigis, ScopeMode, storeExtraOutput(), storeInZScollBadAPV, and VirginRaw.
Referenced by produce().
|
override |
Definition at line 84 of file SiStripZeroSuppression.cc.
References algorithms, clearOutputs(), MillePedeFileConverter_cfg::e, hybridInputs, input, processHybrid(), processRaw(), putOutputs(), and rawInputs.
|
inlineprivate |
Definition at line 113 of file SiStripZeroSuppression.cc.
References output_apvcm, output_base, output_base_raw, output_baseline, output_baseline_points, produceBaselinePoints, produceCalculatedBaseline, produceRawDigis, edm::Event::put(), rawInputs, storeCM, and dcs_print_summary_cfg::tagName.
Referenced by produce().
|
inlineprivate |
Definition at line 213 of file SiStripZeroSuppression.cc.
References algorithms, edm::DetSet< T >::empty(), median(), output_baseline, edm::DetSet< T >::push_back(), edm::DetSet< T >::reserve(), and nano_mu_digi_cff::strip.
Referenced by storeExtraOutput().
|
inlineprivate |
Definition at line 235 of file SiStripZeroSuppression.cc.
References algorithms, edm::DetSet< T >::empty(), eostools::move(), output_baseline_points, and edm::DetSet< T >::push_back().
Referenced by storeExtraOutput().
|
inlineprivate |
Definition at line 250 of file SiStripZeroSuppression.cc.
References algorithms, filterCSVwithJSON::copy, edm::DetSet< T >::empty(), fixCM, mps_fire::i, eostools::move(), output_apvcm, and edm::DetSet< T >::push_back().
Referenced by storeExtraOutput().
|
inlineprivate |
Definition at line 201 of file SiStripZeroSuppression.cc.
References algorithms, produceBaselinePoints, produceCalculatedBaseline, storeBaseline(), storeBaselinePoints(), storeCM, and storeCMN().
Referenced by processHybrid(), and processRaw().
|
private |
Definition at line 37 of file SiStripZeroSuppression.h.
Referenced by formatRawDigis(), processHybrid(), processRaw(), produce(), storeBaseline(), storeBaselinePoints(), storeCMN(), and storeExtraOutput().
|
private |
Definition at line 41 of file SiStripZeroSuppression.h.
Referenced by storeCMN().
|
private |
Definition at line 50 of file SiStripZeroSuppression.h.
Referenced by produce(), and SiStripZeroSuppression().
|
private |
Definition at line 54 of file SiStripZeroSuppression.h.
Referenced by clearOutputs(), putOutputs(), SiStripZeroSuppression(), and storeCMN().
|
private |
Definition at line 52 of file SiStripZeroSuppression.h.
Referenced by clearOutputs(), processHybrid(), processRaw(), putOutputs(), and SiStripZeroSuppression().
|
private |
Definition at line 53 of file SiStripZeroSuppression.h.
Referenced by clearOutputs(), processRaw(), putOutputs(), and SiStripZeroSuppression().
|
private |
Definition at line 55 of file SiStripZeroSuppression.h.
Referenced by clearOutputs(), putOutputs(), SiStripZeroSuppression(), and storeBaseline().
|
private |
Definition at line 56 of file SiStripZeroSuppression.h.
Referenced by clearOutputs(), putOutputs(), SiStripZeroSuppression(), and storeBaselinePoints().
|
private |
Definition at line 43 of file SiStripZeroSuppression.h.
Referenced by putOutputs(), SiStripZeroSuppression(), and storeExtraOutput().
|
private |
Definition at line 42 of file SiStripZeroSuppression.h.
Referenced by putOutputs(), SiStripZeroSuppression(), and storeExtraOutput().
|
private |
Definition at line 45 of file SiStripZeroSuppression.h.
Referenced by processRaw(), and SiStripZeroSuppression().
|
private |
Definition at line 39 of file SiStripZeroSuppression.h.
Referenced by processRaw(), putOutputs(), and SiStripZeroSuppression().
|
private |
Definition at line 49 of file SiStripZeroSuppression.h.
Referenced by produce(), putOutputs(), and SiStripZeroSuppression().
|
private |
Definition at line 40 of file SiStripZeroSuppression.h.
Referenced by putOutputs(), SiStripZeroSuppression(), and storeExtraOutput().
|
private |
Definition at line 44 of file SiStripZeroSuppression.h.
Referenced by processRaw().