CalibTracker
SiStripCommon
plugins
ShallowSimhitClustersProducer.h
Go to the documentation of this file.
1
#ifndef SHALLOW_SIMHITCLUSTERS_PRODUCER
2
#define SHALLOW_SIMHITCLUSTERS_PRODUCER
3
4
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
5
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
6
#include "
FWCore/Utilities/interface/InputTag.h
"
7
#include "
CalibTracker/SiStripCommon/interface/ShallowTools.h
"
8
#include "
DataFormats/Common/interface/DetSetVectorNew.h
"
9
#include "
DataFormats/SiStripCluster/interface/SiStripCluster.h
"
10
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
11
#include "
MagneticField/Engine/interface/MagneticField.h
"
12
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
13
#include "
CondFormats/SiStripObjects/interface/SiStripLorentzAngle.h
"
14
#include "
CondFormats/DataRecord/interface/SiStripLorentzAngleRcd.h
"
15
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
16
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
17
18
class
ShallowSimhitClustersProducer
:
public
edm::stream::EDProducer
<> {
19
public
:
20
explicit
ShallowSimhitClustersProducer
(
const
edm::ParameterSet
&);
21
22
private
:
23
std::vector<edm::EDGetTokenT<std::vector<PSimHit> > >
simhits_tokens_
;
24
const
edm::EDGetTokenT<edmNew::DetSetVector<SiStripCluster>
>
clusters_token_
;
25
const
edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord>
geomToken_
;
26
const
edm::ESGetToken<MagneticField, IdealMagneticFieldRecord>
magFieldToken_
;
27
const
edm::ESGetToken<SiStripLorentzAngle, SiStripLorentzAngleRcd>
laToken_
;
28
std::string
Prefix
;
29
std::string
runningmode_
;
30
31
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
32
shallow::CLUSTERMAP::const_iterator
match_cluster
(
const
unsigned
&,
33
const
float
&,
34
const
shallow::CLUSTERMAP
&,
35
const
edmNew::DetSetVector<SiStripCluster>
&)
const
;
36
};
37
#endif
ShallowTools.h
TrackerGeometry.h
ShallowSimhitClustersProducer::simhits_tokens_
std::vector< edm::EDGetTokenT< std::vector< PSimHit > > > simhits_tokens_
Definition:
ShallowSimhitClustersProducer.h:23
edm::EDGetTokenT
Definition:
EDGetToken.h:33
ShallowSimhitClustersProducer::runningmode_
std::string runningmode_
Definition:
ShallowSimhitClustersProducer.h:29
ShallowSimhitClustersProducer::match_cluster
shallow::CLUSTERMAP::const_iterator match_cluster(const unsigned &, const float &, const shallow::CLUSTERMAP &, const edmNew::DetSetVector< SiStripCluster > &) const
Definition:
ShallowSimhitClustersProducer.cc:107
ShallowSimhitClustersProducer::laToken_
const edm::ESGetToken< SiStripLorentzAngle, SiStripLorentzAngleRcd > laToken_
Definition:
ShallowSimhitClustersProducer.h:27
EDProducer.h
PSimHit.h
IdealMagneticFieldRecord.h
ShallowSimhitClustersProducer::clusters_token_
const edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clusters_token_
Definition:
ShallowSimhitClustersProducer.h:24
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ShallowSimhitClustersProducer::ShallowSimhitClustersProducer
ShallowSimhitClustersProducer(const edm::ParameterSet &)
Definition:
ShallowSimhitClustersProducer.cc:11
SiStripLorentzAngleRcd.h
TrackerDigiGeometryRecord.h
edm::ParameterSet
Definition:
ParameterSet.h:47
SiStripCluster.h
ShallowSimhitClustersProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
ShallowSimhitClustersProducer.cc:38
edm::stream::EDProducer
Definition:
EDProducer.h:38
MagneticField.h
edm::EventSetup
Definition:
EventSetup.h:58
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord >
InputTag.h
ShallowSimhitClustersProducer
Definition:
ShallowSimhitClustersProducer.h:18
edmNew::DetSetVector
Definition:
DetSetNew.h:13
ShallowSimhitClustersProducer::Prefix
std::string Prefix
Definition:
ShallowSimhitClustersProducer.h:28
ShallowSimhitClustersProducer::magFieldToken_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken_
Definition:
ShallowSimhitClustersProducer.h:26
Frameworkfwd.h
ShallowSimhitClustersProducer::geomToken_
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_
Definition:
ShallowSimhitClustersProducer.h:25
SiStripLorentzAngle.h
edm::Event
Definition:
Event.h:73
DetSetVectorNew.h
shallow::CLUSTERMAP
std::map< std::pair< uint32_t, uint16_t >, unsigned int > CLUSTERMAP
Definition:
ShallowTools.h:21
Generated for CMSSW Reference Manual by
1.8.16