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/DataRecord/interface/CTPPSPixelDAQMappingRcd.h
"
31
#include "
CondFormats/DataRecord/interface/CTPPSPixelAnalysisMaskRcd.h
"
32
#include "
CondFormats/PPSObjects/interface/CTPPSPixelDAQMapping.h
"
33
#include "
CondFormats/PPSObjects/interface/CTPPSPixelAnalysisMask.h
"
34
#include "
RecoPPS/Local/interface/CTPPSPixelGainCalibrationDBService.h
"
35
#include "
RecoPPS/Local/interface/RPixDetClusterizer.h
"
36
37
#include <vector>
38
#include <set>
39
40
class
CTPPSPixelClusterProducer
:
public
edm::stream::EDProducer
<> {
41
public
:
42
explicit
CTPPSPixelClusterProducer
(
const
edm::ParameterSet
¶m);
43
44
~CTPPSPixelClusterProducer
()
override
;
45
46
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
47
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
&descriptions);
48
49
private
:
50
edm::ParameterSet
param_
;
51
int
verbosity_
;
52
53
edm::InputTag
src_
;
54
edm::EDGetTokenT<edm::DetSetVector<CTPPSPixelDigi>
>
tokenCTPPSPixelDigi_
;
55
edm::ESGetToken<CTPPSPixelAnalysisMask, CTPPSPixelAnalysisMaskRcd>
tokenCTPPSPixelAnalysisMask_
;
56
57
RPixDetClusterizer
clusterizer_
;
58
59
void
run
(
const
edm::DetSetVector<CTPPSPixelDigi>
&
input
,
60
edm::DetSetVector<CTPPSPixelCluster>
&
output
,
61
const
CTPPSPixelAnalysisMask
*mask);
62
63
CTPPSPixelGainCalibrationDBService
theGainCalibrationDB
;
64
};
65
66
#endif
ConfigurationDescriptions.h
RPixDetClusterizer.h
edm::DetSetVector
Definition:
DetSetVector.h:61
Handle.h
CTPPSPixelAnalysisMaskRcd.h
RPixDetClusterizer
Definition:
RPixDetClusterizer.h:41
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
CTPPSPixelClusterProducer::theGainCalibrationDB
CTPPSPixelGainCalibrationDBService theGainCalibrationDB
Definition:
CTPPSPixelClusterProducer.h:66
CTPPSPixelDetId.h
CTPPSPixelClusterProducer::CTPPSPixelClusterProducer
CTPPSPixelClusterProducer(const edm::ParameterSet ¶m)
Definition:
CTPPSPixelClusterProducer.cc:5
EDProducer.h
CTPPSPixelClusterProducer::~CTPPSPixelClusterProducer
~CTPPSPixelClusterProducer() override
Definition:
CTPPSPixelClusterProducer.cc:15
CTPPSPixelGainCalibrationDBService
Definition:
CTPPSPixelGainCalibrationDBService.h:23
ESGetToken.h
CTPPSPixelClusterProducer::tokenCTPPSPixelDigi_
edm::EDGetTokenT< edm::DetSetVector< CTPPSPixelDigi > > tokenCTPPSPixelDigi_
Definition:
CTPPSPixelClusterProducer.h:57
MakerMacros.h
CTPPSPixelClusterProducer::src_
edm::InputTag src_
Definition:
CTPPSPixelClusterProducer.h:56
CTPPSPixelAnalysisMask
Channel-mask mapping.
Definition:
CTPPSPixelAnalysisMask.h:34
CTPPSPixelClusterProducer::tokenCTPPSPixelAnalysisMask_
edm::ESGetToken< CTPPSPixelAnalysisMask, CTPPSPixelAnalysisMaskRcd > tokenCTPPSPixelAnalysisMask_
Definition:
CTPPSPixelClusterProducer.h:58
CTPPSPixelClusterProducer::run
void run(const edm::DetSetVector< CTPPSPixelDigi > &input, edm::DetSetVector< CTPPSPixelCluster > &output, const CTPPSPixelAnalysisMask *mask)
Definition:
CTPPSPixelClusterProducer.cc:53
ParameterSetDescription.h
CTPPSPixelClusterProducer::verbosity_
int verbosity_
Definition:
CTPPSPixelClusterProducer.h:54
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
CTPPSPixelAnalysisMask.h
CTPPSPixelClusterProducer
Definition:
CTPPSPixelClusterProducer.h:40
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
CTPPSPixelCluster.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
DetSetVector.h
edm::ESGetToken< CTPPSPixelAnalysisMask, CTPPSPixelAnalysisMaskRcd >
CTPPSPixelDigi.h
InputTag.h
CTPPSPixelClusterProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
CTPPSPixelClusterProducer.cc:30
CTPPSPixelDAQMapping.h
CTPPSPixelClusterProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
CTPPSPixelClusterProducer.cc:17
DetId.h
CTPPSPixelClusterProducer::clusterizer_
RPixDetClusterizer clusterizer_
Definition:
CTPPSPixelClusterProducer.h:60
EventSetup.h
DetSet.h
ParameterSet.h
CTPPSPixelGainCalibrationDBService.h
edm::Event
Definition:
Event.h:73
CTPPSPixelClusterProducer::param_
edm::ParameterSet param_
Definition:
CTPPSPixelClusterProducer.h:53
edm::InputTag
Definition:
InputTag.h:15
Generated for CMSSW Reference Manual by
1.8.16