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 
24  public:
25 
27 
28  private:
29 
30  void produce(edm::Event& e, const edm::EventSetup& es) override;
31  template<class T> std::string findInput(edm::Handle<T>& handle, const std::vector<edm::EDGetTokenT<T> >& tokens, const edm::Event& e);
32 
36  void common_process( const uint32_t, std::vector<float>&, edm::DetSetVector<SiStripProcessedRawDigi>&);
37 
38 
39  std::vector<edm::InputTag> inputTags;
40  std::vector<edm::EDGetTokenT<edm::DetSetVector<SiStripDigi> > > inputTokensDigi;
41  std::vector<edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > > inputTokensRawDigi;
43 
44  std::unique_ptr<SiStripPedestalsSubtractor> subtractorPed;
45  std::unique_ptr<SiStripCommonModeNoiseSubtractor> subtractorCMN;
46 
47 };
48 #endif
49 
std::vector< edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > > inputTokensRawDigi
A signed Digi for the silicon strip detector, containing only adc information, and suitable for stori...
std::unique_ptr< SiStripPedestalsSubtractor > subtractorPed
std::string findInput(edm::Handle< T > &handle, const std::vector< edm::EDGetTokenT< T > > &tokens, const edm::Event &e)
void pr_process(const edm::DetSetVector< SiStripRawDigi > &, edm::DetSetVector< SiStripProcessedRawDigi > &)
SiStripProcessedRawDigiProducer(edm::ParameterSet const &)
void common_process(const uint32_t, std::vector< float > &, edm::DetSetVector< SiStripProcessedRawDigi > &)
std::vector< edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > > inputTokensDigi
void produce(edm::Event &e, const edm::EventSetup &es) override
std::unique_ptr< SiStripCommonModeNoiseSubtractor > subtractorCMN
void zs_process(const edm::DetSetVector< SiStripDigi > &, edm::DetSetVector< SiStripProcessedRawDigi > &)
void vr_process(const edm::DetSetVector< SiStripRawDigi > &, edm::DetSetVector< SiStripProcessedRawDigi > &)