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
22
#include "
DataFormats/CTPPSReco/interface/CTPPSPixelCluster.h
"
23
#include "
DataFormats/CTPPSReco/interface/CTPPSPixelRecHit.h
"
24
#include "
DataFormats/DetId/interface/DetId.h
"
25
#include "
DataFormats/Common/interface/DetSetVector.h
"
26
#include "
DataFormats/CTPPSDetId/interface/CTPPSPixelDetId.h
"
27
#include "
RecoPPS/Local/interface/RPixClusterToHit.h
"
28
29
class
CTPPSPixelRecHitProducer
:
public
edm::stream::EDProducer
<> {
30
public
:
31
explicit
CTPPSPixelRecHitProducer
(
const
edm::ParameterSet
¶m);
32
33
~CTPPSPixelRecHitProducer
()
override
;
34
35
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
36
37
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
&descriptions);
38
39
private
:
40
edm::ParameterSet
param_
;
41
int
verbosity_
;
42
43
edm::InputTag
src_
;
44
edm::EDGetTokenT<edm::DetSetVector<CTPPSPixelCluster>
>
tokenCTPPSPixelCluster_
;
45
46
RPixClusterToHit
cluster2hit_
;
47
48
void
run
(
const
edm::DetSetVector<CTPPSPixelCluster>
&
input
,
edm::DetSetVector<CTPPSPixelRecHit>
&
output
);
49
};
50
51
#endif
CTPPSPixelRecHitProducer::src_
edm::InputTag src_
Definition:
CTPPSPixelRecHitProducer.h:46
edm::DetSetVector
Definition:
DetSetVector.h:61
Handle.h
input
static const std::string input
Definition:
EdmProvDump.cc:48
RPixClusterToHit.h
ESHandle.h
CTPPSPixelRecHitProducer::tokenCTPPSPixelCluster_
edm::EDGetTokenT< edm::DetSetVector< CTPPSPixelCluster > > tokenCTPPSPixelCluster_
Definition:
CTPPSPixelRecHitProducer.h:47
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:72
edm::EDGetTokenT
Definition:
EDGetToken.h:33
CTPPSPixelDetId.h
EDProducer.h
CTPPSPixelRecHit.h
RPixClusterToHit
Definition:
RPixClusterToHit.h:14
MakerMacros.h
CTPPSPixelRecHitProducer::~CTPPSPixelRecHitProducer
~CTPPSPixelRecHitProducer() override
Definition:
CTPPSPixelRecHitProducer.cc:10
CTPPSPixelRecHitProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
CTPPSPixelRecHitProducer.cc:19
CTPPSPixelRecHitProducer::param_
edm::ParameterSet param_
Definition:
CTPPSPixelRecHitProducer.h:43
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
CTPPSPixelRecHitProducer::cluster2hit_
RPixClusterToHit cluster2hit_
Definition:
CTPPSPixelRecHitProducer.h:49
CTPPSPixelCluster.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
CTPPSPixelRecHitProducer::verbosity_
int verbosity_
Definition:
CTPPSPixelRecHitProducer.h:44
DetSetVector.h
InputTag.h
CTPPSPixelRecHitProducer
Definition:
CTPPSPixelRecHitProducer.h:29
CTPPSPixelRecHitProducer::run
void run(const edm::DetSetVector< CTPPSPixelCluster > &input, edm::DetSetVector< CTPPSPixelRecHit > &output)
Definition:
CTPPSPixelRecHitProducer.cc:32
DetId.h
EventSetup.h
CTPPSPixelRecHitProducer::CTPPSPixelRecHitProducer
CTPPSPixelRecHitProducer(const edm::ParameterSet ¶m)
Definition:
CTPPSPixelRecHitProducer.cc:3
CTPPSPixelRecHitProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
CTPPSPixelRecHitProducer.cc:12
DetSet.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
Generated for CMSSW Reference Manual by
1.8.16