Main Page
Namespaces
Classes
Package Documentation
RecoLocalTracker
SubCollectionProducers
interface
StripClusterSelectorTopBottom.h
Go to the documentation of this file.
1
#ifndef RecoSelectors_StripClusterSelectorTopBottom_h
2
#define RecoSelectors_StripClusterSelectorTopBottom_h
3
4
/* \class StripClusterSelectorTopBottom
5
*
6
* \author Giuseppe Cerati, INFN
7
*
8
*
9
*/
10
11
#include "
DataFormats/SiStripCluster/interface/SiStripCluster.h
"
12
13
#include "
FWCore/Framework/interface/global/EDProducer.h
"
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
DataFormats/Common/interface/Handle.h
"
16
#include "
FWCore/Framework/interface/ESHandle.h
"
17
18
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
19
20
#include "
DataFormats/SiStripCluster/interface/SiStripCluster.h
"
21
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
22
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
23
#include "
Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h
"
24
#include "
Geometry/CommonTopologies/interface/StripTopology.h
"
25
#include "
DataFormats/DetId/interface/DetId.h
"
26
#include "
FWCore/Utilities/interface/InputTag.h
"
27
#include "
DataFormats/Common/interface/DetSetVectorNew.h
"
28
29
class
StripClusterSelectorTopBottom
:
public
edm::global::EDProducer
<> {
30
31
public
:
32
explicit
StripClusterSelectorTopBottom
(
const
edm::ParameterSet
&
cfg
) :
33
token_
(
consumes
<
edmNew
::DetSetVector<
SiStripCluster
>>(cfg.getParameter<
edm
::InputTag>(
"label"
) )),
34
y_
( cfg.getParameter<double>(
"y"
) ) { produces<edmNew::DetSetVector<SiStripCluster> >(); }
35
36
void
produce
(
edm::StreamID
,
edm::Event
&
event
,
const
edm::EventSetup
&
setup
)
const override
;
37
38
private
:
39
edm::EDGetTokenT<edmNew::DetSetVector<SiStripCluster>
>
token_
;
40
double
y_
;
41
};
42
43
#endif
TrackerDigiGeometryRecord.h
EDProducer.h
StripClusterSelectorTopBottom::token_
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > token_
Definition:
StripClusterSelectorTopBottom.h:39
DetSetVectorNew.h
StripClusterSelectorTopBottom::y_
double y_
Definition:
StripClusterSelectorTopBottom.h:40
edm::StreamID
Definition:
StreamID.h:30
Event.h
edmNew
Definition:
DetSet2RangeMap.h:11
GeneralSetup.setup
def setup(process, global_tag, zero_tesla=False)
Definition:
GeneralSetup.py:2
StripClusterSelectorTopBottom::produce
void produce(edm::StreamID, edm::Event &event, const edm::EventSetup &setup) const override
Definition:
StripClusterSelectorTopBottom.cc:4
edm::EDGetTokenT
Definition:
EDGetToken.h:32
edm::EDConsumerBase::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition:
EDConsumerBase.h:105
ParameterSet.h
StripTopology.h
SiStripCluster
Definition:
SiStripCluster.h:9
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:51
edm::global::EDProducer
Definition:
EDProducer.h:32
looper.cfg
cfg
Definition:
looper.py:295
StripGeomDetUnit.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
SiStripCluster.h
InputTag.h
TrackerGeometry.h
StripClusterSelectorTopBottom::StripClusterSelectorTopBottom
StripClusterSelectorTopBottom(const edm::ParameterSet &cfg)
Definition:
StripClusterSelectorTopBottom.h:32
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:70
StripClusterSelectorTopBottom
Definition:
StripClusterSelectorTopBottom.h:29
DetId.h
event
Definition:
event.py:1
Handle.h
Generated for CMSSW Reference Manual by
1.8.11