#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 | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
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<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Definition at line 16 of file SiStripZeroSuppression.h.
|
private |
Definition at line 35 of file SiStripZeroSuppression.h.
|
private |
Definition at line 50 of file SiStripZeroSuppression.h.
|
private |
Definition at line 51 of file SiStripZeroSuppression.h.
|
strongprivate |
Enumerator | |
---|---|
Unknown | |
VirginRaw | |
ProcessedRaw | |
ScopeMode |
Definition at line 25 of file SiStripZeroSuppression.h.
|
explicit |
Definition at line 14 of file SiStripZeroSuppression.cc.
References Exception, edm::ParameterSet::getParameter(), hybridInputs, HiClusterCompatibility_cfi::inputTag, output_apvcm, output_base, output_base_raw, output_baseline, output_baseline_points, ProcessedRaw, produceBaselinePoints, produceCalculatedBaseline, produceHybridFormat, produceRawDigis, rawInputs, ScopeMode, storeCM, AlCaHLTBitMon_QueryRunRegistry::string, JetPlusTrackCorrections_cff::tagName, Unknown, and VirginRaw.
|
inlineprivate |
Definition at line 92 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 159 of file SiStripZeroSuppression.cc.
References algorithms, edm::DetSet< T >::id, edm::DetSet< T >::push_back(), edm::DetSet< T >::reserve(), edm::DetSet< T >::size(), and digitizers_cfi::strip.
Referenced by processHybrid(), and processRaw().
|
inlineprivate |
Definition at line 174 of file SiStripZeroSuppression.cc.
References algorithms, edm::DetSet< T >::push_back(), edm::DetSet< T >::reserve(), and digitizers_cfi::strip.
|
inlineprivate |
Definition at line 141 of file SiStripZeroSuppression.cc.
References algorithms, edm::DetSet< T >::empty(), formatRawDigis(), eostools::move(), output_base, output_base_raw, produceRawDigis, storeExtraOutput(), and storeInZScollBadAPV.
Referenced by produce().
|
inlineprivate |
Definition at line 113 of file SiStripZeroSuppression.cc.
References algorithms, edm::DetSet< T >::empty(), formatRawDigis(), eostools::move(), output_base, output_base_raw, ProcessedRaw, produceHybridFormat, produceRawDigis, ScopeMode, storeExtraOutput(), storeInZScollBadAPV, and VirginRaw.
Referenced by produce().
|
override |
Definition at line 69 of file SiStripZeroSuppression.cc.
References algorithms, clearOutputs(), edm::Event::getByToken(), hybridInputs, input, processHybrid(), processRaw(), putOutputs(), and rawInputs.
|
inlineprivate |
Definition at line 100 of file SiStripZeroSuppression.cc.
References output_apvcm, output_base, output_base_raw, output_baseline, output_baseline_points, produceBaselinePoints, produceCalculatedBaseline, produceRawDigis, edm::Event::put(), and storeCM.
Referenced by produce().
|
inlineprivate |
Definition at line 199 of file SiStripZeroSuppression.cc.
References algorithms, edm::DetSet< T >::empty(), pfDeepBoostedJetPreprocessParams_cfi::median, output_baseline, edm::DetSet< T >::push_back(), edm::DetSet< T >::reserve(), and digitizers_cfi::strip.
Referenced by storeExtraOutput().
|
inlineprivate |
Definition at line 222 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 238 of file SiStripZeroSuppression.cc.
References algorithms, begin, popcon2dropbox::copy(), edm::DetSet< T >::empty(), end, fixCM, mps_fire::i, eostools::move(), output_apvcm, and edm::DetSet< T >::push_back().
Referenced by storeExtraOutput().
|
inlineprivate |
Definition at line 189 of file SiStripZeroSuppression.cc.
References algorithms, produceBaselinePoints, produceCalculatedBaseline, storeBaseline(), storeBaselinePoints(), storeCM, and storeCMN().
Referenced by processHybrid(), and processRaw().
|
private |
Definition at line 40 of file SiStripZeroSuppression.h.
Referenced by formatRawDigis(), processHybrid(), processRaw(), produce(), storeBaseline(), storeBaselinePoints(), storeCMN(), and storeExtraOutput().
|
private |
Definition at line 44 of file SiStripZeroSuppression.h.
Referenced by storeCMN().
|
private |
Definition at line 53 of file SiStripZeroSuppression.h.
Referenced by produce(), and SiStripZeroSuppression().
|
private |
Definition at line 57 of file SiStripZeroSuppression.h.
Referenced by clearOutputs(), putOutputs(), SiStripZeroSuppression(), and storeCMN().
|
private |
Definition at line 55 of file SiStripZeroSuppression.h.
Referenced by clearOutputs(), processHybrid(), processRaw(), putOutputs(), and SiStripZeroSuppression().
|
private |
Definition at line 56 of file SiStripZeroSuppression.h.
Referenced by clearOutputs(), processHybrid(), processRaw(), putOutputs(), and SiStripZeroSuppression().
|
private |
Definition at line 58 of file SiStripZeroSuppression.h.
Referenced by clearOutputs(), putOutputs(), SiStripZeroSuppression(), and storeBaseline().
|
private |
Definition at line 59 of file SiStripZeroSuppression.h.
Referenced by clearOutputs(), putOutputs(), SiStripZeroSuppression(), and storeBaselinePoints().
|
private |
Definition at line 46 of file SiStripZeroSuppression.h.
Referenced by putOutputs(), SiStripZeroSuppression(), and storeExtraOutput().
|
private |
Definition at line 45 of file SiStripZeroSuppression.h.
Referenced by putOutputs(), SiStripZeroSuppression(), and storeExtraOutput().
|
private |
Definition at line 48 of file SiStripZeroSuppression.h.
Referenced by processRaw(), and SiStripZeroSuppression().
|
private |
Definition at line 42 of file SiStripZeroSuppression.h.
Referenced by processHybrid(), processRaw(), putOutputs(), and SiStripZeroSuppression().
|
private |
Definition at line 52 of file SiStripZeroSuppression.h.
Referenced by produce(), and SiStripZeroSuppression().
|
private |
Definition at line 43 of file SiStripZeroSuppression.h.
Referenced by putOutputs(), SiStripZeroSuppression(), and storeExtraOutput().
|
private |
Definition at line 47 of file SiStripZeroSuppression.h.
Referenced by processHybrid(), and processRaw().