Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
17
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
18
19
#include "
DataFormats/SiStripCluster/interface/SiStripCluster.h
"
20
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
21
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
22
#include "
Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h
"
23
#include "
Geometry/CommonTopologies/interface/StripTopology.h
"
24
#include "
DataFormats/DetId/interface/DetId.h
"
25
#include "
FWCore/Utilities/interface/InputTag.h
"
26
#include "
DataFormats/Common/interface/DetSetVectorNew.h
"
27
28
class
StripClusterSelectorTopBottom
:
public
edm::global::EDProducer
<> {
29
public
:
30
explicit
StripClusterSelectorTopBottom
(
const
edm::ParameterSet
&
cfg
)
31
:
tTrackerGeom_
(
esConsumes
<
TrackerGeometry
,
TrackerDigiGeometryRecord
>()),
32
token_
(
consumes
<edmNew::DetSetVector<
SiStripCluster
>>(cfg.getParameter<edm::
InputTag
>(
"label"
))),
33
y_
(cfg.getParameter<double>(
"y"
)) {
34
produces<edmNew::DetSetVector<SiStripCluster>>();
35
}
36
37
void
produce
(
edm::StreamID
,
edm::Event
&
event
,
const
edm::EventSetup
&
setup
)
const override
;
38
39
private
:
40
edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord>
const
tTrackerGeom_
;
41
edm::EDGetTokenT<edmNew::DetSetVector<SiStripCluster>
>
token_
;
42
double
y_
;
43
};
44
45
#endif
TrackerDigiGeometryRecord.h
EDProducer.h
StripClusterSelectorTopBottom::token_
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > token_
Definition:
StripClusterSelectorTopBottom.h:41
looper.cfg
tuple cfg
Definition:
looper.py:296
edmPickEvents.event
tuple event
Definition:
edmPickEvents.py:273
DetSetVectorNew.h
StripClusterSelectorTopBottom::y_
double y_
Definition:
StripClusterSelectorTopBottom.h:42
edm::StreamID
Definition:
StreamID.h:30
Event.h
StripClusterSelectorTopBottom::produce
void produce(edm::StreamID, edm::Event &event, const edm::EventSetup &setup) const override
Definition:
StripClusterSelectorTopBottom.cc:4
edm::EDGetTokenT
Definition:
EDGetToken.h:33
edm::EDConsumerBase::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition:
EDConsumerBase.h:160
ParameterSet.h
edm::EDConsumerBase::esConsumes
auto esConsumes()
Definition:
EDConsumerBase.h:207
StripTopology.h
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord >
SiStripCluster
Definition:
SiStripCluster.h:8
edm::EventSetup
Definition:
EventSetup.h:59
edm::global::EDProducer
Definition:
EDProducer.h:32
GeneralSetup.setup
def setup
Definition:
GeneralSetup.py:2
StripClusterSelectorTopBottom::tTrackerGeom_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > const tTrackerGeom_
Definition:
StripClusterSelectorTopBottom.h:40
StripGeomDetUnit.h
HLT_FULL_cff.InputTag
tuple InputTag
Definition:
HLT_FULL_cff.py:86956
SiStripCluster.h
InputTag.h
TrackerGeometry.h
StripClusterSelectorTopBottom::StripClusterSelectorTopBottom
StripClusterSelectorTopBottom(const edm::ParameterSet &cfg)
Definition:
StripClusterSelectorTopBottom.h:30
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
StripClusterSelectorTopBottom
Definition:
StripClusterSelectorTopBottom.h:28
TrackerDigiGeometryRecord
Definition:
TrackerDigiGeometryRecord.h:16
DetId.h
TrackerGeometry
Definition:
TrackerGeometry.h:14
Handle.h
Generated for CMSSW Reference Manual by
1.8.5