Main Page
Namespaces
Classes
Package Documentation
RecoLocalTracker
SubCollectionProducers
interface
PixelClusterSelectorTopBottom.h
Go to the documentation of this file.
1
#ifndef RecoSelectors_PixelClusterSelectorTopBottom_h
2
#define RecoSelectors_PixelClusterSelectorTopBottom_h
3
4
/* \class PixelClusterSelectorTopBottom
5
*
6
* \author Giuseppe Cerati, INFN
7
*
8
*
9
*/
10
11
#include "
DataFormats/SiPixelCluster/interface/SiPixelCluster.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/SiPixelCluster/interface/SiPixelCluster.h
"
21
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
22
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
23
#include "
Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h
"
24
#include "
Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h
"
25
#include "
DataFormats/DetId/interface/DetId.h
"
26
#include "
FWCore/Utilities/interface/InputTag.h
"
27
28
class
PixelClusterSelectorTopBottom
:
public
edm::global::EDProducer
<> {
29
30
public
:
31
explicit
PixelClusterSelectorTopBottom
(
const
edm::ParameterSet
&
cfg
) :
32
token_
(
consumes
<
SiPixelClusterCollectionNew
>(cfg.getParameter<
edm
::InputTag>(
"label"
)) ),
33
y_
( cfg.getParameter<double>(
"y"
) ) { produces<SiPixelClusterCollectionNew>(); }
34
35
void
produce
(
edm::StreamID
,
edm::Event
&
event
,
const
edm::EventSetup
&
setup
)
const override
;
36
37
private
:
38
edm::EDGetTokenT<SiPixelClusterCollectionNew>
token_
;
39
double
y_
;
40
};
41
42
#endif
TrackerDigiGeometryRecord.h
EDProducer.h
edm::StreamID
Definition:
StreamID.h:30
Event.h
RectangularPixelTopology.h
GeneralSetup.setup
def setup(process, global_tag, zero_tesla=False)
Definition:
GeneralSetup.py:1
edm::EDGetTokenT
Definition:
EDGetToken.h:32
PixelClusterSelectorTopBottom::PixelClusterSelectorTopBottom
PixelClusterSelectorTopBottom(const edm::ParameterSet &cfg)
Definition:
PixelClusterSelectorTopBottom.h:31
edm::EDConsumerBase::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition:
EDConsumerBase.h:101
ParameterSet.h
PixelClusterSelectorTopBottom::token_
edm::EDGetTokenT< SiPixelClusterCollectionNew > token_
Definition:
PixelClusterSelectorTopBottom.h:38
PixelClusterSelectorTopBottom::produce
void produce(edm::StreamID, edm::Event &event, const edm::EventSetup &setup) const override
Definition:
PixelClusterSelectorTopBottom.cc:4
ESHandle.h
edmNew::DetSetVector< SiPixelCluster >
edm::EventSetup
Definition:
EventSetup.h:45
edm::global::EDProducer
Definition:
EDProducer.h:32
looper.cfg
cfg
Definition:
looper.py:293
PixelClusterSelectorTopBottom
Definition:
PixelClusterSelectorTopBottom.h:28
edm
HLT enums.
Definition:
AlignableModifier.h:17
InputTag.h
TrackerGeometry.h
PixelGeomDetUnit.h
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:66
SiPixelCluster.h
DetId.h
PixelClusterSelectorTopBottom::y_
double y_
Definition:
PixelClusterSelectorTopBottom.h:39
event
Definition:
event.py:1
Handle.h
Generated for CMSSW Reference Manual by
1.8.11