CMS 3D CMS Logo

SiStripZeroSuppression.h
Go to the documentation of this file.
1 #ifndef SiStripZeroSuppression_h
2 #define SiStripZeroSuppression_h
5 
12 
13 class SiStripDigi;
14 class SiStripRawDigi;
15 
17 public:
19  void produce(edm::Event&, const edm::EventSetup&) override;
20 
21 private:
23 
24  void clearOutputs();
25  void putOutputs(edm::Event& evt, const std::string& tagName);
26 
29  void storeExtraOutput(uint32_t, int16_t);
31  edm::DetSet<SiStripRawDigi> formatRawDigis(uint32_t detId, const std::vector<int16_t>& rawDigis);
32  using medians_t = std::vector<std::pair<short, float>>;
33  void storeCMN(uint32_t, const medians_t&);
34  void storeBaseline(uint32_t, const medians_t&);
35  void storeBaselinePoints(uint32_t);
36 
37  std::unique_ptr<SiStripRawProcessingAlgorithms> algorithms;
38 
40  bool storeCM;
41  bool fixCM;
46 
49  std::vector<std::tuple<std::string, RawType, rawtoken_t>> rawInputs;
50  std::vector<std::tuple<std::string, zstoken_t>> hybridInputs;
51 
52  std::vector<edm::DetSet<SiStripDigi>> output_base;
53  std::vector<edm::DetSet<SiStripRawDigi>> output_base_raw;
54  std::vector<edm::DetSet<SiStripProcessedRawDigi>> output_apvcm;
55  std::vector<edm::DetSet<SiStripProcessedRawDigi>> output_baseline;
56  std::vector<edm::DetSet<SiStripDigi>> output_baseline_points;
57 };
58 #endif
SiStripZeroSuppression::storeCM
bool storeCM
Definition: SiStripZeroSuppression.h:40
SiStripZeroSuppression::RawType
RawType
Definition: SiStripZeroSuppression.h:22
edm::DetSetVector< SiStripRawDigi >
input
static const std::string input
Definition: EdmProvDump.cc:48
SiStripZeroSuppression::rawInputs
std::vector< std::tuple< std::string, RawType, rawtoken_t > > rawInputs
Definition: SiStripZeroSuppression.h:49
SiStripZeroSuppression::storeBaseline
void storeBaseline(uint32_t, const medians_t &)
Definition: SiStripZeroSuppression.cc:208
edm::DetSet
Definition: DetSet.h:23
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > >
SiStripZeroSuppression::storeCMN
void storeCMN(uint32_t, const medians_t &)
Definition: SiStripZeroSuppression.cc:245
EDProducer.h
SiStripZeroSuppression::formatRawDigis
edm::DetSet< SiStripRawDigi > formatRawDigis(const edm::DetSet< SiStripRawDigi > &rawDigis)
Definition: SiStripZeroSuppression.cc:163
SiStripZeroSuppression::output_base_raw
std::vector< edm::DetSet< SiStripRawDigi > > output_base_raw
Definition: SiStripZeroSuppression.h:53
SiStripZeroSuppression::medians_t
std::vector< std::pair< short, float > > medians_t
Definition: SiStripZeroSuppression.h:32
SiStripZeroSuppression::processHybrid
void processHybrid(const edm::DetSetVector< SiStripDigi > &input)
Definition: SiStripZeroSuppression.cc:150
SiStripZeroSuppression::SiStripZeroSuppression
SiStripZeroSuppression(const edm::ParameterSet &)
Definition: SiStripZeroSuppression.cc:14
SiStripZeroSuppression
Definition: SiStripZeroSuppression.h:16
SiStripRawDigi
A Digi for the silicon strip detector, containing only adc information, and suitable for storing raw ...
Definition: SiStripRawDigi.h:15
SiStripProcessedRawDigi.h
SiStripZeroSuppression::putOutputs
void putOutputs(edm::Event &evt, const std::string &tagName)
Definition: SiStripZeroSuppression.cc:111
SiStripZeroSuppression::fixCM
bool fixCM
Definition: SiStripZeroSuppression.h:41
SiStripZeroSuppression::RawType::ScopeMode
SiStripZeroSuppression::storeInZScollBadAPV
bool storeInZScollBadAPV
Definition: SiStripZeroSuppression.h:44
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripZeroSuppression::storeBaselinePoints
void storeBaselinePoints(uint32_t)
Definition: SiStripZeroSuppression.cc:230
SiStripZeroSuppression::RawType::ProcessedRaw
edm::ParameterSet
Definition: ParameterSet.h:47
SiStripZeroSuppression::output_baseline
std::vector< edm::DetSet< SiStripProcessedRawDigi > > output_baseline
Definition: SiStripZeroSuppression.h:55
SiStripZeroSuppression::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: SiStripZeroSuppression.cc:82
SiStripZeroSuppression::produceCalculatedBaseline
bool produceCalculatedBaseline
Definition: SiStripZeroSuppression.h:42
SiStripZeroSuppression::output_base
std::vector< edm::DetSet< SiStripDigi > > output_base
Definition: SiStripZeroSuppression.h:52
edm::stream::EDProducer
Definition: EDProducer.h:38
SiStripRawProcessingAlgorithms.h
edm::EventSetup
Definition: EventSetup.h:57
SiStripZeroSuppression::clearOutputs
void clearOutputs()
Definition: SiStripZeroSuppression.cc:104
DetSetVector.h
InputTag.h
SiStripZeroSuppression::hybridInputs
std::vector< std::tuple< std::string, zstoken_t > > hybridInputs
Definition: SiStripZeroSuppression.h:50
SiStripZeroSuppression::produceRawDigis
bool produceRawDigis
Definition: SiStripZeroSuppression.h:39
SiStripZeroSuppression::produceBaselinePoints
bool produceBaselinePoints
Definition: SiStripZeroSuppression.h:43
SiStripZeroSuppression::RawType::Unknown
SiStripZeroSuppression::processRaw
void processRaw(const edm::DetSetVector< SiStripRawDigi > &input, RawType inType)
Definition: SiStripZeroSuppression.cc:123
Frameworkfwd.h
SiStripZeroSuppression::output_apvcm
std::vector< edm::DetSet< SiStripProcessedRawDigi > > output_apvcm
Definition: SiStripZeroSuppression.h:54
SiStripZeroSuppression::RawType::VirginRaw
SiStripZeroSuppression::storeExtraOutput
void storeExtraOutput(uint32_t, int16_t)
Definition: SiStripZeroSuppression.cc:196
SiStripDigi
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
Definition: SiStripDigi.h:12
DetSet.h
SiStripZeroSuppression::algorithms
std::unique_ptr< SiStripRawProcessingAlgorithms > algorithms
Definition: SiStripZeroSuppression.h:37
edm::Event
Definition: Event.h:73
JetPartonCorrections_cff.tagName
tagName
Definition: JetPartonCorrections_cff.py:12
SiStripZeroSuppression::produceHybridFormat
bool produceHybridFormat
Definition: SiStripZeroSuppression.h:45
SiStripZeroSuppression::output_baseline_points
std::vector< edm::DetSet< SiStripDigi > > output_baseline_points
Definition: SiStripZeroSuppression.h:56