RecoLocalTracker
SubCollectionProducers
interface
ClusterSummaryProducer.h
Go to the documentation of this file.
1
#ifndef CLUSTERSUMMARYPRODUCER
2
#define CLUSTERSUMMARYPRODUCER
3
4
// -*- C++ -*-
5
//
6
// Package: ClusterSummaryProducer
7
// Class: ClusterSummaryProducer
8
//
16
//
17
// Original Author: Michael Segala
18
// Created: Thu Jun 23 09:33:08 CDT 2011
19
//
20
//
21
22
// system include files
23
#include <memory>
24
#include <string>
25
#include <map>
26
#include <vector>
27
#include <iostream>
28
#include <cstring>
29
// user include files
30
31
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
32
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
33
#include "
FWCore/Utilities/interface/InputTag.h
"
34
35
#include "
FWCore/Framework/interface/Event.h
"
36
#include "
FWCore/Framework/interface/MakerMacros.h
"
37
38
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
39
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
40
41
#include "
DataFormats/SiStripCluster/interface/SiStripCluster.h
"
42
#include "
DataFormats/SiStripDigi/interface/SiStripDigi.h
"
43
#include "
DataFormats/SiPixelCluster/interface/SiPixelCluster.h
"
44
#include "
DataFormats/Common/interface/DetSetVectorNew.h
"
45
46
#include "
RecoLocalTracker/SiStripClusterizer/interface/SiStripClusterInfo.h
"
47
#include "
DataFormats/SiStripDigi/interface/SiStripProcessedRawDigi.h
"
48
#include "
DataFormats/Common/interface/DetSetVector.h
"
49
50
#include "
DataFormats/TrackerCommon/interface/ClusterSummary.h
"
51
#include "
RecoLocalTracker/SubCollectionProducers/interface/ClusterVariables.h
"
52
53
#include "
DataFormats/SiStripDetId/interface/StripSubdetector.h
"
54
#include "
DataFormats/DetId/interface/DetId.h
"
55
#include "
CommonTools/UtilAlgos/interface/DetIdSelector.h
"
56
57
//
58
// class declaration
59
//
60
class
ClusterVariables
;
61
class
ClusterSummary
;
62
63
class
ClusterSummaryProducer
:
public
edm::stream::EDProducer
<> {
64
public
:
65
explicit
ClusterSummaryProducer
(
const
edm::ParameterSet
&);
66
~ClusterSummaryProducer
()
override
{};
67
68
private
:
69
void
beginStream
(
edm::StreamID
)
override
;
70
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
71
72
typedef
std::pair<DetIdSelector, ClusterSummary::CMSTracker>
ModuleSelection
;
73
typedef
std::vector<ModuleSelection>
ModuleSelections
;
74
75
// ----------member data ---------------------------
76
77
edm::EDGetTokenT<edmNew::DetSetVector<SiPixelCluster>
>
pixelClusters_
;
78
edm::EDGetTokenT<edmNew::DetSetVector<SiStripCluster>
>
stripClusters_
;
79
80
ModuleSelections
selectors
;
81
std::vector<std::string>
moduleNames
;
82
83
ClusterSummary
cCluster
;
84
std::map<std::string, int>
EnumMap
;
85
86
bool
doStrips
;
87
bool
doPixels
;
88
bool
verbose
;
89
};
90
91
#endif
ClusterSummaryProducer::cCluster
ClusterSummary cCluster
Definition:
ClusterSummaryProducer.h:83
edm::StreamID
Definition:
StreamID.h:30
MessageLogger.h
SiStripClusterInfo.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
ClusterSummaryProducer::beginStream
void beginStream(edm::StreamID) override
Definition:
ClusterSummaryProducer.cc:127
SiPixelCluster.h
ClusterSummaryProducer::ModuleSelections
std::vector< ModuleSelection > ModuleSelections
Definition:
ClusterSummaryProducer.h:73
EDProducer.h
DetIdSelector.h
ClusterSummaryProducer::~ClusterSummaryProducer
~ClusterSummaryProducer() override
Definition:
ClusterSummaryProducer.h:66
ClusterSummary.h
MakerMacros.h
SiStripProcessedRawDigi.h
ClusterSummaryProducer::pixelClusters_
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClusters_
Definition:
ClusterSummaryProducer.h:77
SiStripDigi.h
ClusterSummaryProducer
Definition:
ClusterSummaryProducer.h:63
ClusterSummaryProducer::ModuleSelection
std::pair< DetIdSelector, ClusterSummary::CMSTracker > ModuleSelection
Definition:
ClusterSummaryProducer.h:72
edm::ParameterSet
Definition:
ParameterSet.h:36
SiStripCluster.h
Event.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
ClusterSummaryProducer::moduleNames
std::vector< std::string > moduleNames
Definition:
ClusterSummaryProducer.h:81
ClusterSummaryProducer::stripClusters_
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > stripClusters_
Definition:
ClusterSummaryProducer.h:78
edm::EventSetup
Definition:
EventSetup.h:57
DetSetVector.h
ClusterSummaryProducer::EnumMap
std::map< std::string, int > EnumMap
Definition:
ClusterSummaryProducer.h:84
ClusterVariables
Definition:
ClusterVariables.h:13
InputTag.h
ClusterSummaryProducer::selectors
ModuleSelections selectors
Definition:
ClusterSummaryProducer.h:80
ClusterVariables.h
ClusterSummaryProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
ClusterSummaryProducer.cc:53
ClusterSummaryProducer::ClusterSummaryProducer
ClusterSummaryProducer(const edm::ParameterSet &)
Definition:
ClusterSummaryProducer.cc:3
ClusterSummary
Definition:
ClusterSummary.h:59
ClusterSummaryProducer::doStrips
bool doStrips
Definition:
ClusterSummaryProducer.h:86
DetId.h
Frameworkfwd.h
ClusterSummaryProducer::verbose
bool verbose
Definition:
ClusterSummaryProducer.h:88
ParameterSet.h
edm::Event
Definition:
Event.h:73
ClusterSummaryProducer::doPixels
bool doPixels
Definition:
ClusterSummaryProducer.h:87
StripSubdetector.h
DetSetVectorNew.h
Generated for CMSSW Reference Manual by
1.8.16