RecoPPS
Local
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 RecoPPS_Local_CTPPSPixelClusterProducer
7
#define RecoPPS_Local_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
#include "
FWCore/Utilities/interface/ESGetToken.h
"
23
24
#include "
DataFormats/CTPPSDigi/interface/CTPPSPixelDigi.h
"
25
#include "
DataFormats/CTPPSReco/interface/CTPPSPixelCluster.h
"
26
#include "
DataFormats/DetId/interface/DetId.h
"
27
28
#include "
DataFormats/CTPPSDetId/interface/CTPPSPixelDetId.h
"
29
30
#include "
CondFormats/PPSObjects/interface/CTPPSPixelDAQMapping.h
"
31
#include "
CondFormats/DataRecord/interface/CTPPSPixelDAQMappingRcd.h
"
32
#include "
CondFormats/PPSObjects/interface/CTPPSPixelAnalysisMask.h
"
33
#include "
CondFormats/DataRecord/interface/CTPPSPixelAnalysisMaskRcd.h
"
34
#include "
CondFormats/PPSObjects/interface/CTPPSPixelGainCalibrations.h
"
35
#include "
CondFormats/DataRecord/interface/CTPPSPixelGainCalibrationsRcd.h
"
36
#include "
RecoPPS/Local/interface/RPixDetClusterizer.h
"
37
38
#include <vector>
39
#include <set>
40
41
class
CTPPSPixelClusterProducer
:
public
edm::stream::EDProducer
<> {
42
public
:
43
explicit
CTPPSPixelClusterProducer
(
const
edm::ParameterSet
¶m);
44
45
~CTPPSPixelClusterProducer
()
override
;
46
47
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
48
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
&descriptions);
49
50
private
:
51
edm::EDGetTokenT<edm::DetSetVector<CTPPSPixelDigi>
>
tokenCTPPSPixelDigi_
;
52
edm::ESGetToken<CTPPSPixelAnalysisMask, CTPPSPixelAnalysisMaskRcd>
tokenCTPPSPixelAnalysisMask_
;
53
edm::ESGetToken<CTPPSPixelGainCalibrations, CTPPSPixelGainCalibrationsRcd>
tokenGainCalib_
;
54
int
verbosity_
;
55
56
RPixDetClusterizer
clusterizer_
;
57
58
void
run
(
const
edm::DetSetVector<CTPPSPixelDigi>
&
input
,
59
edm::DetSetVector<CTPPSPixelCluster>
&
output
,
60
const
CTPPSPixelAnalysisMask
&mask,
61
const
CTPPSPixelGainCalibrations
&gainCalibration);
62
};
63
64
#endif
ConfigurationDescriptions.h
RPixDetClusterizer.h
edm::DetSetVector
Definition:
DetSetVector.h:61
Handle.h
CTPPSPixelAnalysisMaskRcd.h
RPixDetClusterizer
Definition:
RPixDetClusterizer.h:39
input
static const std::string input
Definition:
EdmProvDump.cc:48
CTPPSPixelDAQMappingRcd.h
ESHandle.h
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:72
edm::EDGetTokenT
Definition:
EDGetToken.h:33
CTPPSPixelDetId.h
CTPPSPixelClusterProducer::CTPPSPixelClusterProducer
CTPPSPixelClusterProducer(const edm::ParameterSet ¶m)
Definition:
CTPPSPixelClusterProducer.cc:5
EDProducer.h
CTPPSPixelClusterProducer::~CTPPSPixelClusterProducer
~CTPPSPixelClusterProducer() override
Definition:
CTPPSPixelClusterProducer.cc:14
ESGetToken.h
CTPPSPixelClusterProducer::tokenCTPPSPixelDigi_
edm::EDGetTokenT< edm::DetSetVector< CTPPSPixelDigi > > tokenCTPPSPixelDigi_
Definition:
CTPPSPixelClusterProducer.h:54
CTPPSPixelGainCalibrations.h
CTPPSPixelClusterProducer::tokenGainCalib_
edm::ESGetToken< CTPPSPixelGainCalibrations, CTPPSPixelGainCalibrationsRcd > tokenGainCalib_
Definition:
CTPPSPixelClusterProducer.h:56
MakerMacros.h
CTPPSPixelAnalysisMask
Channel-mask mapping.
Definition:
CTPPSPixelAnalysisMask.h:34
CTPPSPixelClusterProducer::tokenCTPPSPixelAnalysisMask_
edm::ESGetToken< CTPPSPixelAnalysisMask, CTPPSPixelAnalysisMaskRcd > tokenCTPPSPixelAnalysisMask_
Definition:
CTPPSPixelClusterProducer.h:55
ParameterSetDescription.h
CTPPSPixelClusterProducer::verbosity_
int verbosity_
Definition:
CTPPSPixelClusterProducer.h:57
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
CTPPSPixelAnalysisMask.h
CTPPSPixelClusterProducer
Definition:
CTPPSPixelClusterProducer.h:41
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
CTPPSPixelCluster.h
CTPPSPixelGainCalibrations
Definition:
CTPPSPixelGainCalibrations.h:8
edm::stream::EDProducer
Definition:
EDProducer.h:36
edm::EventSetup
Definition:
EventSetup.h:58
DetSetVector.h
edm::ESGetToken< CTPPSPixelAnalysisMask, CTPPSPixelAnalysisMaskRcd >
CTPPSPixelDigi.h
InputTag.h
CTPPSPixelGainCalibrationsRcd.h
CTPPSPixelClusterProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
CTPPSPixelClusterProducer.cc:29
CTPPSPixelDAQMapping.h
CTPPSPixelClusterProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
CTPPSPixelClusterProducer.cc:16
DetId.h
CTPPSPixelClusterProducer::clusterizer_
RPixDetClusterizer clusterizer_
Definition:
CTPPSPixelClusterProducer.h:59
EventSetup.h
DetSet.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
CTPPSPixelClusterProducer::run
void run(const edm::DetSetVector< CTPPSPixelDigi > &input, edm::DetSetVector< CTPPSPixelCluster > &output, const CTPPSPixelAnalysisMask &mask, const CTPPSPixelGainCalibrations &gainCalibration)
Definition:
CTPPSPixelClusterProducer.cc:48
Generated for CMSSW Reference Manual by
1.8.16