RecoLocalTracker
SiStripClusterizer
plugins
SiStripClusterizer.h
Go to the documentation of this file.
1
#ifndef RecoLocalTracker_SiStripClusterizer_h
2
#define RecoLocalTracker_SiStripClusterizer_h
3
4
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
5
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
6
#include "
RecoLocalTracker/SiStripClusterizer/interface/StripClusterizerAlgorithm.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
FWCore/Utilities/interface/InputTag.h
"
9
10
#include <vector>
11
#include <memory>
12
13
class
SiStripClusterizer
:
public
edm::stream::EDProducer
<> {
14
public
:
15
explicit
SiStripClusterizer
(
const
edm::ParameterSet
& conf);
16
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
17
18
private
:
19
template
<
class
T>
20
bool
findInput
(
const
edm::EDGetTokenT<T>
&,
edm::Handle<T>
&,
const
edm::Event
&);
21
const
std::vector<edm::InputTag>
inputTags
;
22
std::unique_ptr<StripClusterizerAlgorithm>
algorithm
;
23
typedef
edm::EDGetTokenT<edm::DetSetVector<SiStripDigi>
>
token_t
;
24
typedef
std::vector<token_t>
token_v
;
25
token_v
inputTokens
;
26
};
27
28
#endif
edm::EDGetTokenT
Definition:
EDGetToken.h:33
SiStripClusterizer::algorithm
std::unique_ptr< StripClusterizerAlgorithm > algorithm
Definition:
SiStripClusterizer.h:22
EDProducer.h
SiStripClusterizer::inputTags
const std::vector< edm::InputTag > inputTags
Definition:
SiStripClusterizer.h:21
edm::Handle
Definition:
AssociativeIterator.h:50
SiStripClusterizer::findInput
bool findInput(const edm::EDGetTokenT< T > &, edm::Handle< T > &, const edm::Event &)
Definition:
SiStripClusterizer.cc:40
edm::ParameterSet
Definition:
ParameterSet.h:47
SiStripClusterizer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
SiStripClusterizer.cc:17
SiStripClusterizer::token_v
std::vector< token_t > token_v
Definition:
SiStripClusterizer.h:24
SiStripClusterizer::inputTokens
token_v inputTokens
Definition:
SiStripClusterizer.h:25
SiStripClusterizer::token_t
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > token_t
Definition:
SiStripClusterizer.h:23
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:58
InputTag.h
Frameworkfwd.h
StripClusterizerAlgorithm.h
ParameterSet.h
SiStripClusterizer::SiStripClusterizer
SiStripClusterizer(const edm::ParameterSet &conf)
Definition:
SiStripClusterizer.cc:8
edm::Event
Definition:
Event.h:73
SiStripClusterizer
Definition:
SiStripClusterizer.h:13
Generated for CMSSW Reference Manual by
1.8.16