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
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/PPSObjects/interface/CTPPSPixelDAQMapping.h
"
32
#include "
CondFormats/PPSObjects/interface/CTPPSPixelAnalysisMask.h
"
33
#include "
RecoPPS/Local/interface/CTPPSPixelGainCalibrationDBService.h
"
34
#include "
RecoPPS/Local/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
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:32
edm::EDGetTokenT
Definition:
EDGetToken.h:33
CTPPSPixelClusterProducer::theGainCalibrationDB
CTPPSPixelGainCalibrationDBService theGainCalibrationDB
Definition:
CTPPSPixelClusterProducer.h:64
CTPPSPixelDetId.h
CTPPSPixelClusterProducer::CTPPSPixelClusterProducer
CTPPSPixelClusterProducer(const edm::ParameterSet ¶m)
Definition:
CTPPSPixelClusterProducer.cc:5
EDProducer.h
CTPPSPixelClusterProducer::~CTPPSPixelClusterProducer
~CTPPSPixelClusterProducer() override
Definition:
CTPPSPixelClusterProducer.cc:14
CTPPSPixelGainCalibrationDBService
Definition:
CTPPSPixelGainCalibrationDBService.h:23
CTPPSPixelClusterProducer::tokenCTPPSPixelDigi_
edm::EDGetTokenT< edm::DetSetVector< CTPPSPixelDigi > > tokenCTPPSPixelDigi_
Definition:
CTPPSPixelClusterProducer.h:56
MakerMacros.h
CTPPSPixelClusterProducer::src_
edm::InputTag src_
Definition:
CTPPSPixelClusterProducer.h:55
CTPPSPixelAnalysisMask
Channel-mask mapping.
Definition:
CTPPSPixelAnalysisMask.h:34
CTPPSPixelClusterProducer::run
void run(const edm::DetSetVector< CTPPSPixelDigi > &input, edm::DetSetVector< CTPPSPixelCluster > &output, const CTPPSPixelAnalysisMask *mask)
Definition:
CTPPSPixelClusterProducer.cc:52
ParameterSetDescription.h
CTPPSPixelClusterProducer::verbosity_
int verbosity_
Definition:
CTPPSPixelClusterProducer.h:53
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
CTPPSPixelAnalysisMask.h
CTPPSPixelClusterProducer
Definition:
CTPPSPixelClusterProducer.h:39
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
CTPPSPixelCluster.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
DetSetVector.h
CTPPSPixelDigi.h
InputTag.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:58
EventSetup.h
DetSet.h
ParameterSet.h
CTPPSPixelGainCalibrationDBService.h
edm::Event
Definition:
Event.h:73
CTPPSPixelClusterProducer::param_
edm::ParameterSet param_
Definition:
CTPPSPixelClusterProducer.h:52
edm::InputTag
Definition:
InputTag.h:15
Generated for CMSSW Reference Manual by
1.8.16