src
RecoPPS
Local
interface
CTPPSPixelRecHitProducer.h
Go to the documentation of this file.
1
/**********************************************************************
2
*
3
* Author: F.Ferro - INFN Genova
4
*
5
**********************************************************************/
6
#ifndef RecoPPS_Local_CTPPSPixelRecHitProducer_H
7
#define RecoPPS_Local_CTPPSPixelRecHitProducer_H
8
9
#include "
FWCore/Framework/interface/MakerMacros.h
"
10
#include "
DataFormats/Common/interface/DetSetVector.h
"
11
#include "
DataFormats/Common/interface/DetSet.h
"
12
13
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
FWCore/Framework/interface/EventSetup.h
"
16
#include "
DataFormats/Common/interface/Handle.h
"
17
#include "
FWCore/Framework/interface/ESHandle.h
"
18
19
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
20
#include "
FWCore/Utilities/interface/InputTag.h
"
21
#include "
FWCore/Utilities/interface/ESGetToken.h
"
22
23
#include "
DataFormats/CTPPSReco/interface/CTPPSPixelCluster.h
"
24
#include "
DataFormats/CTPPSReco/interface/CTPPSPixelRecHit.h
"
25
#include "
DataFormats/DetId/interface/DetId.h
"
26
#include "
DataFormats/Common/interface/DetSetVector.h
"
27
#include "
DataFormats/CTPPSDetId/interface/CTPPSPixelDetId.h
"
28
#include "
RecoPPS/Local/interface/RPixClusterToHit.h
"
29
30
#include "
CondFormats/PPSObjects/interface/PPSPixelTopology.h
"
31
#include "
CondFormats/DataRecord/interface/PPSPixelTopologyRcd.h
"
32
33
class
CTPPSPixelRecHitProducer
:
public
edm::stream::EDProducer
<> {
34
public
:
35
explicit
CTPPSPixelRecHitProducer
(
const
edm::ParameterSet
¶m);
36
37
~CTPPSPixelRecHitProducer
()
override
;
38
39
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
40
41
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
&descriptions);
42
43
private
:
44
edm::ParameterSet
param_
;
45
int
verbosity_
;
46
47
edm::InputTag
src_
;
48
edm::EDGetTokenT<edm::DetSetVector<CTPPSPixelCluster>
>
tokenCTPPSPixelCluster_
;
49
edm::ESGetToken<PPSPixelTopology, PPSPixelTopologyRcd>
pixelTopologyToken_
;
50
51
RPixClusterToHit
cluster2hit_
;
52
53
void
run
(
const
edm::DetSetVector<CTPPSPixelCluster>
&
input
,
54
edm::DetSetVector<CTPPSPixelRecHit>
&
output
,
55
const
PPSPixelTopology
&ppt);
56
};
57
58
#endif
CTPPSPixelRecHit.h
CTPPSPixelCluster.h
EDProducer.h
Event.h
EventSetup.h
PPSPixelTopologyRcd.h
CTPPSPixelRecHitProducer::~CTPPSPixelRecHitProducer
~CTPPSPixelRecHitProducer() override
Definition:
CTPPSPixelRecHitProducer.cc:11
edm::EDGetTokenT
Definition:
EDGetToken.h:37
CTPPSPixelRecHitProducer::param_
edm::ParameterSet param_
Definition:
CTPPSPixelRecHitProducer.h:44
input
static std::string const input
Definition:
EdmProvDump.cc:50
DetSetVector.h
ParameterSet.h
edm::ESGetToken< PPSPixelTopology, PPSPixelTopologyRcd >
CTPPSPixelRecHitProducer::cluster2hit_
RPixClusterToHit cluster2hit_
Definition:
CTPPSPixelRecHitProducer.h:51
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:56
CTPPSPixelRecHitProducer::tokenCTPPSPixelCluster_
edm::EDGetTokenT< edm::DetSetVector< CTPPSPixelCluster > > tokenCTPPSPixelCluster_
Definition:
CTPPSPixelRecHitProducer.h:48
CTPPSPixelRecHitProducer
Definition:
CTPPSPixelRecHitProducer.h:33
PPSPixelTopology
Definition:
PPSPixelTopology.h:22
PPSPixelTopology.h
CTPPSPixelRecHitProducer::run
void run(const edm::DetSetVector< CTPPSPixelCluster > &input, edm::DetSetVector< CTPPSPixelRecHit > &output, const PPSPixelTopology &ppt)
Definition:
CTPPSPixelRecHitProducer.cc:35
edm::stream::EDProducer
Definition:
EDProducer.h:36
RPixClusterToHit
Definition:
RPixClusterToHit.h:15
CTPPSPixelRecHitProducer::verbosity_
int verbosity_
Definition:
CTPPSPixelRecHitProducer.h:45
CTPPSPixelRecHitProducer::CTPPSPixelRecHitProducer
CTPPSPixelRecHitProducer(const edm::ParameterSet ¶m)
Definition:
CTPPSPixelRecHitProducer.cc:3
CTPPSPixelRecHitProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
CTPPSPixelRecHitProducer.cc:13
edm::InputTag
Definition:
InputTag.h:15
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:48
output
Definition:
output.py:1
CTPPSPixelRecHitProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
CTPPSPixelRecHitProducer.cc:20
CTPPSPixelRecHitProducer::pixelTopologyToken_
edm::ESGetToken< PPSPixelTopology, PPSPixelTopologyRcd > pixelTopologyToken_
Definition:
CTPPSPixelRecHitProducer.h:49
CTPPSPixelRecHitProducer::src_
edm::InputTag src_
Definition:
CTPPSPixelRecHitProducer.h:47
edm::Event
Definition:
Event.h:73
CTPPSPixelDetId.h
MakerMacros.h
DetId.h
edm::DetSetVector
Definition:
DetSetVector.h:61
ESGetToken.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
DetSet.h
Handle.h
RPixClusterToHit.h
Generated for CMSSW Reference Manual by
1.8.14