CMS 3D CMS Logo

SiStripProcessedRawDigiProducer.h
Go to the documentation of this file.
1 #ifndef AnalysisAlgos_SiStripClusterInfoProducer_SiStripProcessedRawDigiProducer_H
2 #define AnalysisAlgos_SiStripClusterInfoProducer_SiStripProcessedRawDigiProducer_H
3 
8 
12 
16 #include <memory>
17 #include <string>
18 
19 class SiStripGain;
21 
23 public:
25 
26 private:
27  void produce(edm::Event& e, const edm::EventSetup& es) override;
28  template <class T>
29  std::string findInput(edm::Handle<T>& handle, const std::vector<edm::EDGetTokenT<T> >& tokens, const edm::Event& e);
30 
34  void common_process(const uint32_t, std::vector<float>&, edm::DetSetVector<SiStripProcessedRawDigi>&);
35 
36  std::vector<edm::InputTag> inputTags;
37  std::vector<edm::EDGetTokenT<edm::DetSetVector<SiStripDigi> > > inputTokensDigi;
38  std::vector<edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > > inputTokensRawDigi;
40 
41  std::unique_ptr<SiStripPedestalsSubtractor> subtractorPed;
42  std::unique_ptr<SiStripCommonModeNoiseSubtractor> subtractorCMN;
43 };
44 #endif
edm::DetSetVector< SiStripRawDigi >
SiStripRawProcessingFactory.h
EDProducer.h
SiStripProcessedRawDigiProducer::vr_process
void vr_process(const edm::DetSetVector< SiStripRawDigi > &, edm::DetSetVector< SiStripProcessedRawDigi > &)
Definition: SiStripProcessedRawDigiProducer.cc:92
ESHandle.h
SiStripGain
Definition: SiStripGain.h:44
patZpeak.handle
handle
Definition: patZpeak.py:23
edm::EDGetTokenT
Definition: EDGetToken.h:33
SiStripCommonModeNoiseSubtractor.h
SiStripRawDigi.h
edm::Handle
Definition: AssociativeIterator.h:50
SiStripProcessedRawDigiProducer::zs_process
void zs_process(const edm::DetSetVector< SiStripDigi > &, edm::DetSetVector< SiStripProcessedRawDigi > &)
Definition: SiStripProcessedRawDigiProducer.cc:69
SiStripProcessedRawDigiProducer::inputTokensDigi
std::vector< edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > > inputTokensDigi
Definition: SiStripProcessedRawDigiProducer.h:37
SiStripProcessedRawDigiProducer::inputTags
std::vector< edm::InputTag > inputTags
Definition: SiStripProcessedRawDigiProducer.h:36
SiStripDigi.h
edm::ESHandle< SiStripGain >
SiStripProcessedRawDigiProducer::subtractorPed
std::unique_ptr< SiStripPedestalsSubtractor > subtractorPed
Definition: SiStripProcessedRawDigiProducer.h:41
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripProcessedRawDigiProducer::produce
void produce(edm::Event &e, const edm::EventSetup &es) override
Definition: SiStripProcessedRawDigiProducer.cc:31
SiStripProcessedRawDigiProducer::inputTokensRawDigi
std::vector< edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > > inputTokensRawDigi
Definition: SiStripProcessedRawDigiProducer.h:38
edm::ParameterSet
Definition: ParameterSet.h:36
SiStripProcessedRawDigiProducer::subtractorCMN
std::unique_ptr< SiStripCommonModeNoiseSubtractor > subtractorCMN
Definition: SiStripProcessedRawDigiProducer.h:42
edm::EventSetup
Definition: EventSetup.h:57
DetSetVector.h
SiStripProcessedRawDigiProducer::pr_process
void pr_process(const edm::DetSetVector< SiStripRawDigi > &, edm::DetSetVector< SiStripProcessedRawDigi > &)
Definition: SiStripProcessedRawDigiProducer.cc:82
SiStripProcessedRawDigiProducer::gainHandle
edm::ESHandle< SiStripGain > gainHandle
Definition: SiStripProcessedRawDigiProducer.h:39
InputTag.h
Frameworkfwd.h
edm::EDProducer
Definition: EDProducer.h:36
SiStripProcessedRawDigi
A signed Digi for the silicon strip detector, containing only adc information, and suitable for stori...
Definition: SiStripProcessedRawDigi.h:16
SiStripProcessedRawDigiProducer::common_process
void common_process(const uint32_t, std::vector< float > &, edm::DetSetVector< SiStripProcessedRawDigi > &)
Definition: SiStripProcessedRawDigiProducer.cc:103
SiStripPedestalsSubtractor.h
edm::Event
Definition: Event.h:73
SiStripProcessedRawDigiProducer::SiStripProcessedRawDigiProducer
SiStripProcessedRawDigiProducer(edm::ParameterSet const &)
Definition: SiStripProcessedRawDigiProducer.cc:20
SiStripProcessedRawDigiProducer::findInput
std::string findInput(edm::Handle< T > &handle, const std::vector< edm::EDGetTokenT< T > > &tokens, const edm::Event &e)
Definition: SiStripProcessedRawDigiProducer.cc:54
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
SiStripProcessedRawDigiProducer
Definition: SiStripProcessedRawDigiProducer.h:22