CalibTracker
SiStripCommon
plugins
ShallowGainCalibration.h
Go to the documentation of this file.
1
#ifndef SHALLOW_GAINCALIBRATION_PRODUCER
2
#define SHALLOW_GAINCALIBRATION_PRODUCER
3
4
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
5
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
6
7
#include "
CalibTracker/SiStripCommon/interface/ShallowTools.h
"
8
9
#include "
TrackingTools/PatternTools/interface/Trajectory.h
"
10
#include "
TrackingTools/PatternTools/interface/TrajTrackAssociation.h
"
11
#include "
DataFormats/TrackerRecHit2D/interface/SiStripRecHit2D.h
"
12
#include "
DataFormats/TrackerRecHit2D/interface/SiStripMatchedRecHit2D.h
"
13
#include "
DataFormats/TrackerRecHit2D/interface/SiPixelRecHit.h
"
14
15
#include "
MagneticField/Engine/interface/MagneticField.h
"
16
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
17
#include "
CondFormats/SiStripObjects/interface/SiStripLorentzAngle.h
"
18
#include "
CondFormats/DataRecord/interface/SiStripLorentzAngleRcd.h
"
19
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
20
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
21
#include "
Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h
"
22
#include "
Geometry/CommonTopologies/interface/StripTopology.h
"
23
#include "
FWCore/Framework/interface/Event.h
"
24
25
#include "
DataFormats/GeometrySurface/interface/TrapezoidalPlaneBounds.h
"
26
#include "
DataFormats/GeometrySurface/interface/RectangularPlaneBounds.h
"
27
28
#include "
Geometry/CommonDetUnit/interface/GeomDet.h
"
29
#include "
Geometry/CommonDetUnit/interface/GeomDetType.h
"
30
#include "
Geometry/CommonTopologies/interface/StripTopology.h
"
31
32
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
33
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
34
#include "
Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h
"
35
#include "
Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h
"
36
#include "
Geometry/TrackerNumberingBuilder/interface/GeometricDet.h
"
37
#include "
Geometry/CommonDetUnit/interface/TrackingGeometry.h
"
38
39
#include "
CalibFormats/SiStripObjects/interface/SiStripGain.h
"
40
#include "
CalibTracker/Records/interface/SiStripGainRcd.h
"
41
42
#include "
DataFormats/FEDRawData/interface/FEDNumbering.h
"
43
#include "
DataFormats/TrackReco/interface/Track.h
"
44
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
45
#include "
DataFormats/TrackerRecHit2D/interface/SiStripRecHit1D.h
"
46
#include "
DataFormats/TrackerRecHit2D/interface/SiStripRecHit2D.h
"
47
#include "
DataFormats/TrackerRecHit2D/interface/SiStripMatchedRecHit2D.h
"
48
#include "
DataFormats/DetId/interface/DetId.h
"
49
#include "
DataFormats/SiStripDetId/interface/StripSubdetector.h
"
50
51
class
ShallowGainCalibration
:
public
edm::stream::EDProducer
<> {
52
public
:
53
explicit
ShallowGainCalibration
(
const
edm::ParameterSet
&);
54
55
private
:
56
const
edm::EDGetTokenT<edm::View<reco::Track>
>
tracks_token_
;
57
const
edm::EDGetTokenT<TrajTrackAssociationCollection>
association_token_
;
58
59
const
edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord>
trackerGeometry_token_
;
60
const
edm::ESGetToken<SiStripGain, SiStripGainRcd>
gain_token_
;
61
const
edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord>
tkGeom_token_
;
62
63
std::string
Suffix
;
64
std::string
Prefix
;
65
66
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
67
bool
isFarFromBorder
(
TrajectoryStateOnSurface
* trajState,
const
uint32_t detid,
const
edm::EventSetup
* iSetup);
68
double
thickness
(
DetId
id
);
69
70
const
TrackerGeometry
*
m_tracker
;
71
std::map<DetId, double>
m_thicknessMap
;
72
};
73
#endif
FEDNumbering.h
ShallowGainCalibration::association_token_
const edm::EDGetTokenT< TrajTrackAssociationCollection > association_token_
Definition:
ShallowGainCalibration.h:57
ShallowTools.h
StripGeomDetUnit.h
TrackerGeometry.h
ShallowGainCalibration::m_tracker
const TrackerGeometry * m_tracker
Definition:
ShallowGainCalibration.h:70
SiStripGain.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
GeomDetType.h
EDProducer.h
TrackingGeometry.h
SiStripGainRcd.h
StripTopology.h
ShallowGainCalibration::isFarFromBorder
bool isFarFromBorder(TrajectoryStateOnSurface *trajState, const uint32_t detid, const edm::EventSetup *iSetup)
Definition:
ShallowGainCalibration.cc:234
DetId
Definition:
DetId.h:17
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
Track.h
TrackFwd.h
TrapezoidalPlaneBounds.h
ShallowGainCalibration::gain_token_
const edm::ESGetToken< SiStripGain, SiStripGainRcd > gain_token_
Definition:
ShallowGainCalibration.h:60
IdealMagneticFieldRecord.h
ShallowGainCalibration::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
ShallowGainCalibration.cc:35
RectangularPlaneBounds.h
SiPixelRecHit.h
TrajTrackAssociation.h
SiStripLorentzAngleRcd.h
TrackerDigiGeometryRecord.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
ShallowGainCalibration::thickness
double thickness(DetId id)
Definition:
ShallowGainCalibration.cc:269
ShallowGainCalibration::tracks_token_
const edm::EDGetTokenT< edm::View< reco::Track > > tracks_token_
Definition:
ShallowGainCalibration.h:56
edm::stream::EDProducer
Definition:
EDProducer.h:36
MagneticField.h
edm::EventSetup
Definition:
EventSetup.h:58
ShallowGainCalibration::m_thicknessMap
std::map< DetId, double > m_thicknessMap
Definition:
ShallowGainCalibration.h:71
GeometricDet.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord >
SiStripRecHit1D.h
Trajectory.h
GeomDet.h
ShallowGainCalibration::trackerGeometry_token_
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeometry_token_
Definition:
ShallowGainCalibration.h:59
ShallowGainCalibration::ShallowGainCalibration
ShallowGainCalibration(const edm::ParameterSet &)
Definition:
ShallowGainCalibration.cc:7
DetId.h
Frameworkfwd.h
PixelGeomDetUnit.h
ShallowGainCalibration::tkGeom_token_
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tkGeom_token_
Definition:
ShallowGainCalibration.h:61
ShallowGainCalibration::Prefix
std::string Prefix
Definition:
ShallowGainCalibration.h:64
SiStripMatchedRecHit2D.h
ShallowGainCalibration::Suffix
std::string Suffix
Definition:
ShallowGainCalibration.h:63
SiStripLorentzAngle.h
edm::Event
Definition:
Event.h:73
SiStripRecHit2D.h
StripSubdetector.h
ShallowGainCalibration
Definition:
ShallowGainCalibration.h:51
TrackerGeometry
Definition:
TrackerGeometry.h:14
Generated for CMSSW Reference Manual by
1.8.16