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
{
41
public
:
42
explicit
CTPPSPixelClusterProducer
(
const
edm::ParameterSet
& param);
43
44
~CTPPSPixelClusterProducer
();
45
46
virtual
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
56
RPixDetClusterizer
clusterizer_
;
57
58
void
run
(
const
edm::DetSetVector<CTPPSPixelDigi>
&
input
,
edm::DetSetVector<CTPPSPixelCluster>
&
output
,
const
CTPPSPixelAnalysisMask
*
mask
);
59
60
CTPPSPixelGainCalibrationDBService
theGainCalibrationDB
;
61
};
62
63
64
65
#endif
CTPPSPixelClusterProducer::src_
edm::InputTag src_
Definition:
CTPPSPixelClusterProducer.h:53
CTPPSPixelCluster.h
CTPPSPixelClusterProducer::run
void run(const edm::DetSetVector< CTPPSPixelDigi > &input, edm::DetSetVector< CTPPSPixelCluster > &output, const CTPPSPixelAnalysisMask *mask)
Definition:
CTPPSPixelClusterProducer.cc:59
CTPPSPixelGainCalibrationDBService.h
Event.h
CTPPSPixelClusterProducer::tokenCTPPSPixelDigi_
edm::EDGetTokenT< edm::DetSetVector< CTPPSPixelDigi > > tokenCTPPSPixelDigi_
Definition:
CTPPSPixelClusterProducer.h:54
MakerMacros.h
EventSetup.h
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:32
CTPPSPixelAnalysisMaskRcd.h
edm::EDGetTokenT
Definition:
EDGetToken.h:32
input
static std::string const input
Definition:
EdmProvDump.cc:44
DetSetVector.h
ParameterSet.h
EDProducer.h
CTPPSPixelClusterProducer::verbosity_
int verbosity_
Definition:
CTPPSPixelClusterProducer.h:51
ParameterSetDescription.h
CTPPSPixelGainCalibrationDBService
Definition:
CTPPSPixelGainCalibrationDBService.h:23
RecoTauDiscriminantConfiguration.mask
mask
Definition:
RecoTauDiscriminantConfiguration.py:72
ESHandle.h
RPixDetClusterizer.h
CTPPSPixelAnalysisMask
Channel-mask mapping.
Definition:
CTPPSPixelAnalysisMask.h:37
edm::EventSetup
Definition:
EventSetup.h:44
CTPPSPixelClusterProducer::~CTPPSPixelClusterProducer
~CTPPSPixelClusterProducer()
Definition:
CTPPSPixelClusterProducer.cc:17
CTPPSPixelClusterProducer::theGainCalibrationDB
CTPPSPixelGainCalibrationDBService theGainCalibrationDB
Definition:
CTPPSPixelClusterProducer.h:60
CTPPSPixelDigi.h
CTPPSPixelClusterProducer::produce
virtual void produce(edm::Event &, const edm::EventSetup &) override
Definition:
CTPPSPixelClusterProducer.cc:34
CTPPSPixelClusterProducer::clusterizer_
RPixDetClusterizer clusterizer_
Definition:
CTPPSPixelClusterProducer.h:56
edm::stream::EDProducer
Definition:
EDProducer.h:33
CTPPSPixelClusterProducer
Definition:
CTPPSPixelClusterProducer.h:39
RPixDetClusterizer
Definition:
RPixDetClusterizer.h:52
edm::InputTag
Definition:
InputTag.h:15
InputTag.h
CTPPSPixelClusterProducer::param_
edm::ParameterSet param_
Definition:
CTPPSPixelClusterProducer.h:50
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:21
edm::Event
Definition:
Event.h:66
CTPPSPixelDetId.h
CTPPSPixelDAQMappingRcd.h
DetId.h
edm::DetSetVector< CTPPSPixelDigi >
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
DetSet.h
Handle.h
Generated for CMSSW Reference Manual by
1.8.11