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
CTPPSPixelCluster.h
CTPPSPixelClusterProducer::tokenCTPPSPixelAnalysisMask_
edm::ESGetToken< CTPPSPixelAnalysisMask, CTPPSPixelAnalysisMaskRcd > tokenCTPPSPixelAnalysisMask_
Definition:
CTPPSPixelClusterProducer.h:52
CTPPSPixelGainCalibrations.h
Event.h
CTPPSPixelClusterProducer::tokenCTPPSPixelDigi_
edm::EDGetTokenT< edm::DetSetVector< CTPPSPixelDigi > > tokenCTPPSPixelDigi_
Definition:
CTPPSPixelClusterProducer.h:51
MakerMacros.h
EventSetup.h
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:72
CTPPSPixelClusterProducer::run
void run(const edm::DetSetVector< CTPPSPixelDigi > &input, edm::DetSetVector< CTPPSPixelCluster > &output, const CTPPSPixelAnalysisMask &mask, const CTPPSPixelGainCalibrations &gainCalibration)
Definition:
CTPPSPixelClusterProducer.cc:48
CTPPSPixelGainCalibrations
Definition:
CTPPSPixelGainCalibrations.h:8
CTPPSPixelAnalysisMaskRcd.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
input
static std::string const input
Definition:
EdmProvDump.cc:47
DetSetVector.h
ParameterSet.h
EDProducer.h
CTPPSPixelClusterProducer::verbosity_
int verbosity_
Definition:
CTPPSPixelClusterProducer.h:54
edm::ESGetToken< CTPPSPixelAnalysisMask, CTPPSPixelAnalysisMaskRcd >
ParameterSetDescription.h
ESGetToken.h
ESHandle.h
RPixDetClusterizer.h
CTPPSPixelAnalysisMask
Channel-mask mapping.
Definition:
CTPPSPixelAnalysisMask.h:35
edm::EventSetup
Definition:
EventSetup.h:59
CTPPSPixelClusterProducer::tokenGainCalib_
edm::ESGetToken< CTPPSPixelGainCalibrations, CTPPSPixelGainCalibrationsRcd > tokenGainCalib_
Definition:
CTPPSPixelClusterProducer.h:53
CTPPSPixelGainCalibrationsRcd.h
CTPPSPixelDigi.h
CTPPSPixelClusterProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
CTPPSPixelClusterProducer.cc:29
CTPPSPixelClusterProducer::clusterizer_
RPixDetClusterizer clusterizer_
Definition:
CTPPSPixelClusterProducer.h:56
edm::stream::EDProducer
Definition:
EDProducer.h:36
CTPPSPixelClusterProducer
Definition:
CTPPSPixelClusterProducer.h:41
RPixDetClusterizer
Definition:
RPixDetClusterizer.h:40
InputTag.h
CTPPSPixelAnalysisMask.h
CTPPSPixelDAQMapping.h
edm::ParameterSet
Definition:
ParameterSet.h:47
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:73
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.14