Main Page
Namespaces
Classes
Package Documentation
RecoCTPPS
PixelLocal
interface
CTPPSPixelClusterProducer.h
Go to the documentation of this file.
1
/**********************************************************************
2
*
3
* Author: F.Ferro fabrizio.ferro@ge.infn.it - INFN Genova - 2017
4
*
5
**********************************************************************/
6
#ifndef RecoCTPPS_PixelLocal_CTPPSPixelClusterProducer
7
#define RecoCTPPS_PixelLocal_CTPPSPixelClusterProducer
8
9
#include "
FWCore/Framework/interface/MakerMacros.h
"
10
#include "
DataFormats/Common/interface/DetSetVector.h
"
11
#include "
DataFormats/Common/interface/DetSet.h
"
12
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
13
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
14
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
15
#include "
FWCore/Framework/interface/Event.h
"
16
#include "
FWCore/Framework/interface/EventSetup.h
"
17
#include "
DataFormats/Common/interface/Handle.h
"
18
#include "
FWCore/Framework/interface/ESHandle.h
"
19
20
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
21
#include "
FWCore/Utilities/interface/InputTag.h
"
22
23
#include "
DataFormats/CTPPSDigi/interface/CTPPSPixelDigi.h
"
24
#include "
DataFormats/CTPPSReco/interface/CTPPSPixelCluster.h
"
25
#include "
DataFormats/DetId/interface/DetId.h
"
26
27
#include "
DataFormats/CTPPSDetId/interface/CTPPSPixelDetId.h
"
28
29
#include "
CondFormats/DataRecord/interface/CTPPSPixelDAQMappingRcd.h
"
30
#include "
CondFormats/DataRecord/interface/CTPPSPixelAnalysisMaskRcd.h
"
31
#include "
CondFormats/CTPPSReadoutObjects/interface/CTPPSPixelDAQMapping.h
"
32
#include "
CondFormats/CTPPSReadoutObjects/interface/CTPPSPixelAnalysisMask.h
"
33
#include "
RecoCTPPS/PixelLocal/interface/CTPPSPixelGainCalibrationDBService.h
"
34
#include "
RecoCTPPS/PixelLocal/interface/RPixDetClusterizer.h
"
35
36
#include <vector>
37
#include <set>
38
39
class
CTPPSPixelClusterProducer
:
public
edm::stream::EDProducer
<> {
40
public
:
41
explicit
CTPPSPixelClusterProducer
(
const
edm::ParameterSet
¶m);
42
43
~CTPPSPixelClusterProducer
()
override
;
44
45
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
46
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
&descriptions);
47
48
private
:
49
edm::ParameterSet
param_
;
50
int
verbosity_
;
51
52
edm::InputTag
src_
;
53
edm::EDGetTokenT<edm::DetSetVector<CTPPSPixelDigi>
>
tokenCTPPSPixelDigi_
;
54
55
RPixDetClusterizer
clusterizer_
;
56
57
void
run
(
const
edm::DetSetVector<CTPPSPixelDigi>
&
input
,
58
edm::DetSetVector<CTPPSPixelCluster>
&
output
,
59
const
CTPPSPixelAnalysisMask
*mask);
60
61
CTPPSPixelGainCalibrationDBService
theGainCalibrationDB
;
62
};
63
64
#endif
CTPPSPixelClusterProducer::src_
edm::InputTag src_
Definition:
CTPPSPixelClusterProducer.h:52
CTPPSPixelCluster.h
CTPPSPixelClusterProducer::run
void run(const edm::DetSetVector< CTPPSPixelDigi > &input, edm::DetSetVector< CTPPSPixelCluster > &output, const CTPPSPixelAnalysisMask *mask)
Definition:
CTPPSPixelClusterProducer.cc:52
CTPPSPixelGainCalibrationDBService.h
Event.h
CTPPSPixelClusterProducer::tokenCTPPSPixelDigi_
edm::EDGetTokenT< edm::DetSetVector< CTPPSPixelDigi > > tokenCTPPSPixelDigi_
Definition:
CTPPSPixelClusterProducer.h:53
MakerMacros.h
EventSetup.h
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:32
CTPPSPixelAnalysisMaskRcd.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
input
static std::string const input
Definition:
EdmProvDump.cc:48
DetSetVector.h
ParameterSet.h
EDProducer.h
CTPPSPixelClusterProducer::verbosity_
int verbosity_
Definition:
CTPPSPixelClusterProducer.h:50
ParameterSetDescription.h
CTPPSPixelGainCalibrationDBService
Definition:
CTPPSPixelGainCalibrationDBService.h:23
ESHandle.h
RPixDetClusterizer.h
CTPPSPixelAnalysisMask
Channel-mask mapping.
Definition:
CTPPSPixelAnalysisMask.h:35
edm::EventSetup
Definition:
EventSetup.h:57
CTPPSPixelClusterProducer::theGainCalibrationDB
CTPPSPixelGainCalibrationDBService theGainCalibrationDB
Definition:
CTPPSPixelClusterProducer.h:61
CTPPSPixelDigi.h
CTPPSPixelClusterProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
CTPPSPixelClusterProducer.cc:29
CTPPSPixelClusterProducer::clusterizer_
RPixDetClusterizer clusterizer_
Definition:
CTPPSPixelClusterProducer.h:55
edm::stream::EDProducer
Definition:
EDProducer.h:38
CTPPSPixelClusterProducer
Definition:
CTPPSPixelClusterProducer.h:39
RPixDetClusterizer
Definition:
RPixDetClusterizer.h:42
edm::InputTag
Definition:
InputTag.h:15
InputTag.h
CTPPSPixelClusterProducer::param_
edm::ParameterSet param_
Definition:
CTPPSPixelClusterProducer.h:49
CTPPSPixelAnalysisMask.h
CTPPSPixelDAQMapping.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ConfigurationDescriptions.h
CTPPSPixelClusterProducer::CTPPSPixelClusterProducer
CTPPSPixelClusterProducer(const edm::ParameterSet ¶m)
Definition:
CTPPSPixelClusterProducer.cc:5
CTPPSPixelClusterProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
CTPPSPixelClusterProducer.cc:16
edm::Event
Definition:
Event.h:72
CTPPSPixelDetId.h
CTPPSPixelDAQMappingRcd.h
DetId.h
edm::DetSetVector
Definition:
DetSetVector.h:61
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
CTPPSPixelClusterProducer::~CTPPSPixelClusterProducer
~CTPPSPixelClusterProducer() override
Definition:
CTPPSPixelClusterProducer.cc:14
DetSet.h
Handle.h
Generated for CMSSW Reference Manual by
1.8.11